Skip to content

tests: det-sweep balance test follows merge_sweeps accepting an identical repeat (Fixes #5143) - #5149

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5143-merge-sweeps-test
Oct 14, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5143-merge-sweeps-test

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #5143.

Root cause: #5113 (#5107) changed proof_sweep.merge_sweeps to accept a case two shards proved identically (only timing differs) and raise on conflicts. test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate still expected merge_sweeps([shard, shard]) to raise, so full-suite part 3/3 failed on main at 175d841. Not a flake.

Change: test only. An identical repeat now merges once; a copy differing in proved still raises in two shards with conflicting results. No proof loosened, no engine change.

Gates: pr_gates --fast 6/6, --ratchets 7/7. Tests: test_det_sweep_balance + test_det_sweep_fast, 74 passed.

Cross-repo: none. #5145 (Full Suite Gate, same commit) likely shares this cause; no branch/PR existed when checked.

🤖 Generated with Claude Code

…ical repeat (Fixes #5143)

#5113 made merge_sweeps accept a case two shards both proved identically; this test still expected the repeat to raise. It now asserts the repeat merges once and a copy that disagrees on a non-timing field still raises.

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 14, 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 14, 2026 18:44
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 18:55
@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
squid-protocol merged commit 00cbc6b into main Oct 14, 2026
47 checks passed
@squid-protocol
squid-protocol deleted the churn/5143-merge-sweeps-test branch October 14, 2026 19:29
squid-protocol added a commit that referenced this pull request Oct 14, 2026
…-sweep balance test fix)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 14, 2026
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.

main is red: GitGalaxy Smoke Tests

1 participant