bcda: attribution expiration, January blackout and oldest-attribution-file floor in the _since checks #1295

Closed
opened 2026-10-25 20:36:16 +00:00 by kert · 1 comment
Owner

Upstream review docs/superpowers/specs/2026-10-25-bcda-upstream-review.md §C. attribution_status returns expiration_dates (bcda-app #1501); past it, and during the January attribution reload, /Group/all and /Patient answer 404 "No up-to-date attribution information". A _since older than the oldest attribution file the server holds is a 404 "attribution file not found for given _since parameter" (#1236).

  • check_since: attribution_expired (block) from attribution_access_expiration; attribution_floor (warn) when _since predates the earliest last_attribution_update we have recorded
  • map both server 404 texts to plain messages on the Exports page / CLI
  • record last_attribution_update on each job row at start (for the floor and for backfill classification)
Upstream review docs/superpowers/specs/2026-10-25-bcda-upstream-review.md §C. `attribution_status` returns `expiration_dates` (bcda-app #1501); past it, and during the January attribution reload, `/Group/all` and `/Patient` answer 404 "No up-to-date attribution information". A `_since` older than the oldest attribution file the server holds is a 404 "attribution file not found for given _since parameter" (#1236). - [ ] `check_since`: `attribution_expired` (block) from `attribution_access_expiration`; `attribution_floor` (warn) when `_since` predates the earliest `last_attribution_update` we have recorded - [ ] map both server 404 texts to plain messages on the Exports page / CLI - [ ] record `last_attribution_update` on each job row at start (for the floor and for backfill classification)
kert added this to the P52: BCDA v3 migration — client, crosswalk-driven flatteners, vendored upstream fixtures, proving notebook milestone 2026-10-25 20:36:16 +00:00
kert added the clidata labels 2026-10-25 20:36:16 +00:00
Author
Owner

Done in 2cc1300: attribution_expired (block) from expiration_dates, attribution_floor (warn) from the earliest last_attribution_update recorded on job rows (new attribution_update column, filled by service.start_export), server 404/400/429 texts explained by explain_server_error.

Done in 2cc1300: `attribution_expired` (block) from `expiration_dates`, `attribution_floor` (warn) from the earliest `last_attribution_update` recorded on job rows (new `attribution_update` column, filled by `service.start_export`), server 404/400/429 texts explained by `explain_server_error`.
kert closed this issue 2026-10-25 21:11:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#1295