From 2cd1a4a36468b042147c27f8634a086a95da3de2 Mon Sep 17 00:00:00 2001 From: Peter Spark Date: Sun, 5 Apr 2026 02:17:03 +0000 Subject: [PATCH] =?UTF-8?q?docs(wdmi):=20FlexIT=20runbook=20=E2=80=94=20BI?= =?UTF-8?q?T-926=20ERRSIG:033b36032168=20(tag=20mismatch)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Index ERRSIG:033b36032168 in RUNBOOK_REPORTER_WDMI_FLEXIT_XML context - Add §5.4 for FlexIT.XML parser mismatch (Record / ManufacturerPartNumber) - Extend hub er-cli examples for the new signature Paperclip-Agent: 11179220-3cec-4f0f-880d-2771ff64fce8 Paperclip-Issue: BIT-926 Paperclip-Run: 82a1cd5d-0a20-4a15-9dfa-26b480213c2c Made-with: Cursor --- docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md b/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md index 2aa339b..3f63b6b 100644 --- a/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md +++ b/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md @@ -4,7 +4,7 @@ **Não confundir com** falhas de **ingest** no hub — para isso ver [RUNBOOK_INGEST_DEBUG.md](RUNBOOK_INGEST_DEBUG.md). **Última revisão:** 2026-04-05 -**Contexto:** Erros de PHP em `simplexml_load_file()` originados em `Importer/_flexit.php` (tipicamente linha ~53), incluídos via `__maintenance_build.php`. Exemplos de assinatura no hub: `ERRSIG:6f82e20ec332`, `ERRSIG:5278058355a5`, `ERRSIG:948b0236b852`. +**Contexto:** Erros de PHP em `simplexml_load_file()` originados em `Importer/_flexit.php` (tipicamente linha ~53), incluídos via `__maintenance_build.php`. Exemplos de assinatura no hub: `ERRSIG:6f82e20ec332`, `ERRSIG:5278058355a5`, `ERRSIG:948b0236b852`, `ERRSIG:033b36032168`. --- @@ -58,6 +58,7 @@ Executar **no mesmo servidor** onde corre o PHP (caminho típico `/data/wwwroot/ ./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:6f82e20ec332" ./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:5278058355a5" ./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:948b0236b852" +./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:033b36032168" ./scripts/er-cli.sh list-open --project wdmi-store --q "simplexml_load_file" ./scripts/er-cli.sh list-open --project wdmi-store --q "_flexit.php" ``` @@ -93,6 +94,20 @@ Executar **no mesmo servidor** onde corre o PHP (caminho típico `/data/wwwroot/ ./scripts/er-cli.sh list-open --project wdmi-store --q "NAVPN" ``` +### 5.4 Caso documentado — `wdmi-store` / Flexit (BIT-926) + +- **Assinatura:** `ERRSIG:033b36032168` +- **Paperclip:** [BIT-926](/BIT/issues/BIT-926) (recorrências agregadas pelo loop BIT-309) +- **Mensagem típica (excerpt):** `simplexml_load_file(): …/Importer/downloads/FlexIT.XML:1: parser error : Opening and ending tag mismatch: Record line 1 and ManufacturerPartNumber` — **XML mal formado** (tags não fechadas na ordem esperada ou conteúdo corrupto no ficheiro local `FlexIT.XML`), mesma classe operacional que §5.2–§5.3; não é falha de ingest no hub. +- **Stack útil:** `_flexit.php` (≈53) ← `__maintenance_build.php` +- **Acção no produto:** no host de `wdmi-store`, inspeccionar `Importer/downloads/FlexIT.XML` (integridade, encoding, escrita concorrente); validar com `xmllint --noout`; seguir §2–§4 (pré-validação, `libxml_use_internal_errors`, idempotência). Resolver no hub após deploy e ausência de novos eventos com esta assinatura. + +```bash +./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:033b36032168" +./scripts/er-cli.sh list-open --project wdmi-store --q "033b36032168" +./scripts/er-cli.sh list-open --project wdmi-store --q "FlexIT.XML" +``` + --- ## Ver também