From 0ea1fa8cc3c71da024ac94cc851e50912e4b726f Mon Sep 17 00:00:00 2001 From: Artur Moreira Date: Thu, 14 May 2026 17:43:26 +0000 Subject: [PATCH] docs(writer-pipeline): clarify WebDAV failure fallback in run-cycle metrics Co-authored-by: Cursor --- docs/WRITER_PIPELINE_ANDEBOL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/WRITER_PIPELINE_ANDEBOL.md b/docs/WRITER_PIPELINE_ANDEBOL.md index 1c9dd18..906eb8c 100644 --- a/docs/WRITER_PIPELINE_ANDEBOL.md +++ b/docs/WRITER_PIPELINE_ANDEBOL.md @@ -29,7 +29,7 @@ See [`docs/ANDEBOL_EDITORIAL_BRIEF.md`](ANDEBOL_EDITORIAL_BRIEF.md) for detailed - **Per feed:** a failing RSS URL is logged in `metrics.errors`; other feeds still run. - **Per URL (legacy comparison):** failed HTML fetch does not block the cycle; aggregator metrics still apply for production reads. - **WP publish:** if credentials are missing, the cycle completes with a clear error string and **no** draft creation. -- **Featured image (BIT-22288 / BIT-22292):** drafts require a rights-cleared image. The pipeline uses RSS enclosure / `og:image` / `twitter:image` first. If none are present, it can **list a WebDAV collection** (authenticated Basic auth) and pick the best-matching filename against the headline, then upload to WP with caption/alt. Configure with `WRITER_WEBDAV_*` env vars (see `deploy/systemd/writer-andebol.env.example`). If WebDAV is enabled but PROPFIND/GET fails, draft creation for that item fails with an explicit error (no silent fallback to a random web image). +- **Featured image (BIT-22288 / BIT-22292):** drafts require a rights-cleared image. The pipeline uses RSS enclosure / `og:image` / `twitter:image` first. If none are present, it can **list a WebDAV collection** (authenticated Basic auth) and pick the best-matching filename against the headline, then upload to WP with caption/alt. Configure with `WRITER_WEBDAV_*` env vars (see `deploy/systemd/writer-andebol.env.example`). If WebDAV is enabled but PROPFIND/GET fails, draft creation for **that URL** fails with an explicit error (no silent fallback to a random web image). **`run-cycle`** catches per-item publish errors: the failure is appended to `metrics.errors` and the rest of the cycle (other feeds, other shortlist items) still completes. ## Commands