Skip to content

det sweep: a case with no durations entry fails nothing; workers never edit det_sweep_durations.json (Part of #8422) - #8518

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8422-20261116T1102Z
Nov 16, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8422-20261116T1102Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8422 (section 1). Checklist: partial [c:839e7628] -- nothing left for the "no entry" confirmation itself; the sibling gap below stays.

What

proof_sweep.py --shard already weighs an unlisted case at the median, and det_sweep_plan already exempts a PR's new cases from check_measured. Two tests still demanded entries; they now warn:

  • test_det_sweep_timing.py: the "at most 5 Db2 cases lack a duration" assert is now a warning.
  • test_det_sweep_balance.py: the Db2 split test warns instead of raising on check_measured; new test pins that an unlisted case weighs the median, lands in exactly one shard, and is named unmeasured in shard.json.
  • .claude/agents/gitgalaxy-pr-worker.md: a PR never edits det_sweep_durations.json.

Class and siblings

Class: gates/tests demanding a det_sweep_durations.json entry per case.

Member Status
proof_sweep shard weighting handled (median)
det_sweep_plan PR plan (non-Db2, Db2) handled (new_cases exempt)
the two tests above fixed here
worker rule fixed here

Sibling gaps: the evidence-refresh plan (det_sweep_plan.py:553) calls check_measured with no new_cases exemption; it is the nightly path (no PR diff), so only a stalled nightly trips it. No burned-estate program needs it. Part 2 of #8422 (file-cap exception wording) waits on promoter-bot PR 116.

Gates

New and touched tests: 46 passed (test_det_sweep_timing, test_det_sweep_balance, test_shepherd_markers_not_hand_written). audit_check.py: all clear. ruff format applied. No engine change, no golden bless.

Lessons for agents

  • ruff check on a single test file run directly reports S101/ARG001 noise; judge by audit_check.py, not by it.

🤖 Generated with Claude Code

…r edit det_sweep_durations.json (Part of #8422)

The Db2 duration tests now warn instead of failing, a new test pins the median
weight and single-shard placement of an unlisted case, and the worker rules say
the nightly owns the durations file.

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 Nov 16, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 16, 2026 11:10
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 16, 2026 11:11
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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