Skip to content

Tests: assert_linear meta-test on a deterministic fake clock (Closes #8132) - #8133

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8132-20261108T2032Z
Nov 8, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8132-20261108T2032Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

test_assert_linear_passes_linear_and_still_fails_quadratic timed a millisecond-scale toy quadratic with the wall clock (ideal ratio 4x vs the 3.2x pass bound), so runner jitter made it DID NOT RAISE on main (run 42519219524, the only failure, part 3/3). No engine defect. assert_linear/best_of take an injectable timer; the meta-test now uses a deterministic fake clock (linear passes, quadratic fails every attempt, noisy first attempt retried).

Class

Meta-tests of a timing helper that rely on real wall-clock measurement. Siblings: the other assert_linear callers time real engine code and already have the retry logic (unchanged, 66 tests pass); test_livecode_strict.assert_linear_redos_scaling has its own noise floor. No gaps.

Closes #8132

Gates

pytest on the 5 files using assert_linear: 66 passed; ruff format clean. No golden impact.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 8, 2026 20:38
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 8, 2026 20:39
@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 Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 28a2c46 into main Nov 8, 2026
61 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8132-20261108T2032Z branch November 8, 2026 20:47
squid-protocol added a commit that referenced this pull request Nov 8, 2026
Picks up #8133 (assert_linear meta-test on a deterministic fake clock), whose
timing flake failed full-suite part 2/3 on this PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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