fix(writer-pipeline): revista featured image without sourceKind (BIT-27615) #36

Merged
spark merged 1 commits from fix/BIT-27615-revista-featured-sourcekind into main 2026-07-27 07:23:47 +01:00
Owner

Summary

  • Treat synthetic /revista-imprensa/ lead URLs as revista drafts even when sourceKind is omitted (ERRSIG 88492922d213).
  • Preserve sourceKind on store upserts so later updates cannot drop ingest provenance.

Test plan

  • Reproduced throw without sourceKind on https://www.record.pt/revista-imprensa/26-07-2026/2
  • After fix: same item resolves publisher CDN image (no throw)
  • npm test (writer-pipeline) + npm run build

Deploy

Writer-pipeline unit/timer on andebol host must pick up this build after merge.

## Summary - Treat synthetic `/revista-imprensa/` lead URLs as revista drafts even when `sourceKind` is omitted (ERRSIG `88492922d213`). - Preserve `sourceKind` on store upserts so later updates cannot drop ingest provenance. ## Test plan - [x] Reproduced throw without `sourceKind` on `https://www.record.pt/revista-imprensa/26-07-2026/2` - [x] After fix: same item resolves publisher CDN image (no throw) - [x] `npm test` (writer-pipeline) + `npm run build` ## Deploy Writer-pipeline unit/timer on andebol host must pick up this build after merge.
spark added 1 commit 2026-07-27 07:20:33 +01:00
fix(writer-pipeline): detect revista leads by URL when sourceKind missing
Tests / bridge tests (push) Successful in 2m6s
Tests / writer-pipeline tests (pull_request) Successful in 2m1s
Tests / writer-pipeline tests (push) Successful in 2m12s
Tests / frontend lib tests (push) Successful in 2m6s
Tests / bridge tests (pull_request) Successful in 43s
Tests / frontend lib tests (pull_request) Successful in 33s
60366a95ae
Synthetic /revista-imprensa/ URLs without sourceKind skipped the publisher
image probe and threw Mandatory featured image (ERRSIG 88492922d213).

Paperclip-Issue: BIT-27615
Paperclip-Run: 17d5ee4b-579f-4833-943f-ea9e815e5dec
spark merged commit 8057f1ffee into main 2026-07-27 07:23:47 +01:00
Sign in to join this conversation.