From 4f0a21bbe74e46d83c8546099c9f1f9ba70a3f43 Mon Sep 17 00:00:00 2001 From: Peter Spark Date: Sun, 5 Apr 2026 02:57:11 +0000 Subject: [PATCH] docs(wdmi): document ERRSIG:37670027b2d7 FlexIT XML (BIT-939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add runbook §5.6 for parser error "Extra content at the end of the document" on Importer/downloads/FlexIT.XML, cluster ERRCLUSTER:32b818809f98, and er-cli query examples aligned with RUNBOOK_TRIAGE. Paperclip-Issue: BIT-939 Made-with: Cursor --- docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md b/docs/RUNBOOK_REPORTER_WDMI_FLEXIT_XML.md index 1bd0d49..30d5de6 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`, `ERRSIG:033b36032168`, `ERRSIG:102101c1758d`. +**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`, `ERRSIG:102101c1758d`, `ERRSIG:37670027b2d7`. --- @@ -60,6 +60,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:948b0236b852" ./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:033b36032168" ./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:102101c1758d" +./scripts/er-cli.sh list-open --project wdmi-store --q "ERRSIG:37670027b2d7" ./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" ``` @@ -123,6 +124,21 @@ Executar **no mesmo servidor** onde corre o PHP (caminho típico `/data/wwwroot/ ./scripts/er-cli.sh list-open --project wdmi-store --q "Manufac1-RP-N2" ``` +### 5.6 Caso documentado — `wdmi-store` / Flexit (BIT-939) + +- **Assinatura:** `ERRSIG:37670027b2d7` +- **Paperclip:** [BIT-939](/BIT/issues/BIT-939) (recorrências agregadas pelo loop BIT-309) +- **Cluster (agregação BIT-309):** `ERRCLUSTER:32b818809f98` — pode conter só esta assinatura enquanto o sintoma for estável; tratar como a mesma família que §5.2–§5.5. +- **Mensagem típica (excerpt):** `simplexml_load_file(): …/Importer/downloads/FlexIT.XML:1: parser error : Extra content at the end of the document` — indica **XML com mais do que um documento raiz**, lixo/append após o fecho do documento válido, ou **ficheiro concatenado / escrita concorrente** que deixou bytes extra no `FlexIT.XML` local; mesma classe operacional que §5.2–§5.5; 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` (tamanho, `tail`, procura por segundo `