From fea3f35fe3700fb14a4d62adf30715a988b58aaa Mon Sep 17 00:00:00 2001 From: Peter Spark Date: Sun, 5 Apr 2026 22:30:34 +0000 Subject: [PATCH] =?UTF-8?q?docs(runbook):=20WDMI=20feed=20upload=20=C2=A74?= =?UTF-8?q?.1=20maps=20BIT-1020=20close=20criteria?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a table linking the epic required actions (reachability, timeouts, retry/backoff, production validation) to existing §2–§4 and triage guidance. Clarifies that Importer PHP changes ship from WDMI_UBUNTU/WDMI, not the errors hub repository. Refs: BIT-1020 Made-with: Cursor --- docs/RUNBOOK_REPORTER_WDMI_FEED_UPLOAD.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/RUNBOOK_REPORTER_WDMI_FEED_UPLOAD.md b/docs/RUNBOOK_REPORTER_WDMI_FEED_UPLOAD.md index 6b41d9b..fb0be27 100644 --- a/docs/RUNBOOK_REPORTER_WDMI_FEED_UPLOAD.md +++ b/docs/RUNBOOK_REPORTER_WDMI_FEED_UPLOAD.md @@ -77,6 +77,19 @@ curl -svS --max-time 60 -o /dev/null -w "http_code=%{http_code} time_total=%{tim > > **Paralelo — [BitReport.pt/WDMI](https://git.bitreport.pt/BitReport.pt/WDMI) (`master`):** commit `1cadbb29` aplica connect timeout 45 s, low-speed guard e retries transientes (3×) em `_feed_http_request` + diagnóstico em `_last_feed_api_error` — útil quando o guest usa esta árvore; **confirmar qual repositório/checkout está implantado** antes de comparar comportamento com o bloco `WDMI_UBUNTU` acima. +### 4.1 Definição de fecho — [BIT-1020](/BIT/issues/BIT-1020) + +Mapa das acções do epic (evita retrabalho só em issues por `ERRSIG`): + +| Acção no epic | Onde tratar | +|---------------|-------------| +| 1. Alcance do endpoint de upload a partir do host Importer | §2 (guest + smoke opcional) | +| 2. Timeouts, credenciais e caminho de rede | §3 | +| 3. Retry/backoff em `_maintenance_process_build_feeds.php` | §4 (WDMI_UBUNTU `main` canónico; parágrafo **Paralelo — WDMI** se o guest usar essa árvore) | +| 4. Validação em produção e fecho das tarefas consolidadas | `er-cli` estável 24–48 h ([RUNBOOK_TRIAGE.md](RUNBOOK_TRIAGE.md) §6.1); deploy/SSH → [BIT-1079](/BIT/issues/BIT-1079) | + +**Encaminhamento:** código PHP do Importer está nos repositórios **WDMI_UBUNTU** / **WDMI** (Gitea), não em `errors.bitreport.pt`; este runbook cobre diagnóstico, contrato operacional e critérios de fecho do hub. + --- ## 5. Ligação ao hub (errors.bitreport.pt)