test(analysis): add report top-level invariants tests #110
No reviewers
Labels
No labels
area:ci
area:docs
area:engineering
area:framework-fp
area:test-coverage
dogfood:fn
dogfood:fp
dogfood:friction
dogfood:tp
phase:b
phase:c
severity:critical
severity:high
severity:low
severity:medium
source:deepseek-v4-pro
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/fallow-py!110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-102-report-invariants-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
test_analysis_report_top_level_invariantsto 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.pyRelevant context
Closes #102.
Runtime evidence
pytest tests/test_analysis_invariants.pypasses successfully.Known constraints
None.
Explicit out-of-scope
Other analysis tests.
Requested decision
Approve and merge.
Merge blockers
CI/CD test failures.
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 -qNo blockers found; merge after Forgejo CI is green.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.