Skip to content

Muninn: guard the PR sparse checkout keeps every scanner manifest (Part of #5499) - #6489

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5499-muninn-manifest-guard
Oct 24, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5499-muninn-manifest-guard

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Checklist: partial [c:736e44f0] -- left: a same-SHA workflow_dispatch full-scan findings comparison and osv-scanner back to 0 findings on a PR run.

What this does

The scoping itself landed in #5612 (sparse checkout of the PR path filter on pull_request; schedule and dispatch keep the full tree). "Run Muninn": 7 m 28 s before, about 56 s after (from #5612 / docs/ci.md; not re-measured here). This PR closes the gap #5612 left: /tests/requirements-mypy.txt is added to the sparse list in muninn.yml (owner workflow grant, 2026-10-24), so osv-scanner finds a manifest again on PR runs. test_sparse_checkout_keeps_every_manifest_a_scanner_reads guards every tracked *requirements*.txt.

Class / Sibling gaps

Class: PR-time Muninn sparse checkout omits a file a scanner reads, silently losing coverage (osv-scanner exits 128, no packages). Members: tests/requirements-mypy.txt (the only tracked *requirements*.txt outside the list; guarded here, fix needs the workflow edit); root configs muninn.yml, zizmor.yml (already in the list); the PR path filter itself (covered by the existing test). Sibling gaps: main-watch.yml mentions Muninn, not audited.

Remaining slices

  1. Same-SHA workflow_dispatch full scan vs this PR's run, and osv-scanner 0 findings on the PR run (needs CI).
  2. docs/ci.md:251 known-gap sentence: update after Blocker report: per-burned-estate report + ingest check in Evidence Refresh (Part of #5054) #6155 merges.

Gates

pr_gates --fast 7/7 pass; test_muninn_scope.py 3 passed. --ratchets not run (test-only change).

🤖 Generated with Claude Code

…t (Part of #5499)

Strict-xfail test: tests/requirements-mypy.txt is missing from the sparse list, so osv-scanner
exits 128 on PR runs. The one-line muninn.yml fix needs allow_workflows.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 15:46
…art of #5499)

osv-scanner found no packages on PR runs (exit 128) without it. Owner grant 2026-10-24 for the workflow edit.
Drops the xfail mark from the guard test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 15:59
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 1ab3b59 into main Oct 24, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the churn/5499-muninn-manifest-guard branch October 24, 2026 16:21
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant