Skip to content

fix(digest): drop archived pages from followups-due - #626

Merged
plind-junior merged 2 commits into
vouchdev:testfrom
kurosawareiji7007-hub:fix/digest-archived-followups
Jul 30, 2026
Merged

fix(digest): drop archived pages from followups-due#626
plind-junior merged 2 commits into
vouchdev:testfrom
kurosawareiji7007-hub:fix/digest-archived-followups

Conversation

@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor

Summary

  • digest.build already skipped retired claims and done/dropped followup metadata, but an ARCHIVED followup page with followup_status=open and a past due_at still landed in followups_due.
  • Skip PageStatus.ARCHIVED in the followup comprehension (same live-set rule as recall).

Test plan

  • tests/test_digest.py::test_build_excludes_archived_followups
  • full tests/test_digest.py green
  • CI green on test

Fixes #625

@github-actions github-actions Bot added docs documentation, specs, examples, and repo guidance tests tests and fixtures size: XS less than 50 changed non-doc lines labels Jul 30, 2026
@plind-junior
plind-junior enabled auto-merge (squash) July 30, 2026 10:36
auto-merge was automatically disabled July 30, 2026 11:09

Head branch was pushed to by a user without write access

@kurosawareiji7007-hub
kurosawareiji7007-hub force-pushed the fix/digest-archived-followups branch from 1ed6964 to 43e0261 Compare July 30, 2026 11:09
@plind-junior

Copy link
Copy Markdown
Member

Thanks for the contribution @kurosawareiji7007-hub . All your findings are valid and worth. Would you pick up the issues from GH issue board?

@plind-junior
plind-junior enabled auto-merge July 30, 2026 13:08
auto-merge was automatically disabled July 30, 2026 13:19

Head branch was pushed to by a user without write access

@kurosawareiji7007-hub
kurosawareiji7007-hub force-pushed the fix/digest-archived-followups branch from c0dd843 to c205fa4 Compare July 30, 2026 13:19
@github-actions github-actions Bot added size: S 50-199 changed non-doc lines and removed size: XS less than 50 changed non-doc lines labels Jul 30, 2026
digest already skipped done/dropped followup metadata and retired claims,
but an ARCHIVED page with followup_status=open and a past due_at still
appeared in the morning briefing. mirror recall: archived leave the list.

Fixes vouchdev#625
@kurosawareiji7007-hub
kurosawareiji7007-hub force-pushed the fix/digest-archived-followups branch from c205fa4 to 36c2270 Compare July 30, 2026 13:19
@github-actions github-actions Bot added size: XS less than 50 changed non-doc lines and removed size: S 50-199 changed non-doc lines labels Jul 30, 2026
plind-junior added a commit to kurosawareiji7007-hub/vouch that referenced this pull request Jul 30, 2026
auto-merge had two arming surfaces, both requiring the owner to act: the
auto-merge label and the /auto-merge comment. green ci triggered nothing, and
deauthorize-on-push voids arming on every contributor push — so a PR like vouchdev#626
was armed twice and disarmed twice by force-pushes, then sat clean and green
with no one left to re-arm it.

add a third arming path with no human in it. on `ci` completing green for a
pull request, resolve the PR from the head sha, confirm it still sits on that
sha and is open and undrafted, wait for every other check run on the sha to
finish, and refuse if any of them failed — `ci` is only one of the workflows a
PR runs, and `test` has no branch protection to wait on the rest.

the bars are unchanged. arming still goes through arm-auto-merge.yml, so full
diff coverage of changed python under src/vouch/ and a closing reference to an
issue plind-junior opened are both still required. the owner-issue link is
read once up front here too, silently: arm-auto-merge comments when a PR misses
that bar, which is right for a human who just asked to arm and would be
per-push noise unattended.

no checkout, no PR code — only metadata, since the arming job holds a write
token. workflow_run resolves this file from the default branch, so it takes
effect once it reaches main, not on merge to test.
@plind-junior
plind-junior merged commit ae573d2 into vouchdev:test Jul 30, 2026
16 checks passed
@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor Author

Thanks — I'll pick up board issues next. Starting with #602 (capture.realtime opt-in).

@github-actions github-actions Bot added the ci: passing ci is green label Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: passing ci is green docs documentation, specs, examples, and repo guidance size: XS less than 50 changed non-doc lines tests tests and fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants