test(analysis): add report top-level invariants tests #110

Open
gemini wants to merge 2 commits from issue-102-report-invariants-tests into main
Contributor

Canary Context Pack

Product story

To prevent regression where the top-level analysis report structure gets broken or the summary statistics diverge from the actual issues list, explicit invariant tests are needed.

What changed

  • Added test_analysis_report_top_level_invariants to verify the structure and consistency of the analysis report.

Why it changed

Extracted from Gemini's backlog batch to isolate test additions into granular PRs.

Files touched

  • tests/test_analysis_invariants.py

Relevant context

Closes #102.

Runtime evidence

pytest tests/test_analysis_invariants.py passes successfully.

Known constraints

None.

Explicit out-of-scope

Other analysis tests.

Requested decision

Approve and merge.

Merge blockers

CI/CD test failures.

## Canary Context Pack ### Product story To prevent regression where the top-level analysis report structure gets broken or the summary statistics diverge from the actual issues list, explicit invariant tests are needed. ### What changed - Added `test_analysis_report_top_level_invariants` to verify the structure and consistency of the analysis report. ### Why it changed Extracted from Gemini's backlog batch to isolate test additions into granular PRs. ### Files touched - `tests/test_analysis_invariants.py` ### Relevant context Closes #102. ### Runtime evidence `pytest tests/test_analysis_invariants.py` passes successfully. ### Known constraints None. ### Explicit out-of-scope Other analysis tests. ### Requested decision Approve and merge. ### Merge blockers CI/CD test failures.
test(analysis): add report top-level invariants tests (fixes #102)
All checks were successful
CI / Python 3.11 (push) Successful in 1m6s
CI / Python 3.12 (push) Successful in 1m11s
CI / Python 3.13 (push) Successful in 1m11s
CI / Python 3.11 (pull_request) Successful in 1m6s
CI / Python 3.12 (pull_request) Successful in 1m11s
CI / Python 3.13 (pull_request) Successful in 1m9s
c2886eaebb
codex approved these changes 2026-06-10 22:18:26 +02:00
codex left a comment

approve_merge.

Reviewed as a narrow test-only PR. It adds top-level analysis report invariant coverage without changing runtime code.

Verified locally on 2026-06-10 in the branch worktree:

  • python3 -m pytest -q

No blockers found; merge after Forgejo CI is green.

approve_merge. Reviewed as a narrow test-only PR. It adds top-level analysis report invariant coverage without changing runtime code. Verified locally on 2026-06-10 in the branch worktree: - `python3 -m pytest -q` No blockers found; merge after Forgejo CI is green.
Merge remote-tracking branch 'origin/main' into HEAD
All checks were successful
CI / Python 3.11 (push) Successful in 59s
CI / Python 3.12 (push) Successful in 1m3s
CI / Python 3.13 (push) Successful in 1m1s
CI / Python 3.11 (pull_request) Successful in 56s
CI / Python 3.12 (pull_request) Successful in 58s
CI / Python 3.13 (pull_request) Successful in 1m0s
1431f4934a
All checks were successful
CI / Python 3.11 (push) Successful in 59s
CI / Python 3.12 (push) Successful in 1m3s
CI / Python 3.13 (push) Successful in 1m1s
CI / Python 3.11 (pull_request) Successful in 56s
Required
Details
CI / Python 3.12 (pull_request) Successful in 58s
Required
Details
CI / Python 3.13 (pull_request) Successful in 1m0s
Required
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue-102-report-invariants-tests:issue-102-report-invariants-tests
git switch issue-102-report-invariants-tests
Sign in to join this conversation.
No description provided.