Skip to content

test(demo): assert historical governance incidents - #43

Merged
sturlese merged 1 commit into
mainfrom
fix/demo-governance-history-assertion
Aug 30, 2026
Merged

test(demo): assert historical governance incidents#43
sturlese merged 1 commit into
mainfrom
fix/demo-governance-history-assertion

Conversation

@sturlese

Copy link
Copy Markdown
Owner

Summary

Stabilize the demo governance assertion by checking the documented all-time counters instead of a rolling 30-day window.

Changes

  • require the seeded policy incident to remain visible in blocked_policy_all
  • require the seeded budget incident to remain visible in blocked_budget_all
  • leave production behavior and demo data unchanged

Testing

  • target test: 1 passed
  • full suite: 258 passed, 94.48% coverage
  • ruff check src tests: passed
  • git diff --check: passed

Notes

This repairs the post-merge main CI failure from run 33305652860. On 2026-08-30 the seeded incidents correctly fell outside the last-30-days window while remaining present in the historical counters. No sibling test confusion was found.

Check both seeded incident categories through the documented all-time governance counters so the demo test does not depend on a rolling wall-clock window.
@sturlese
sturlese merged commit 59d4208 into main Aug 30, 2026
5 checks passed
@sturlese
sturlese deleted the fix/demo-governance-history-assertion branch August 30, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant