Repository navigation
test(checkerdef): check egress cache reuse with a TTL that cannot expire mid-test - #519
Merged
Merged
Conversation
…ire mid-test TestEgressCacheReprobesAfterTTL used a 1 ms TTL for both halves, so on a loaded runner more than 1 ms between two Get calls re-probed and failed the "reused within the TTL" check (expected 1 call, got 2 on #517's CI). Reuse is now checked on a 1 h-TTL cache; expiry keeps the 1 ms one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
fclairamb
enabled auto-merge (squash)
October 11, 2026 11:27
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #519 +/- ##
=======================================
Coverage 82.74% 82.75%
=======================================
Files 1175 1175
Lines 121450 121450
=======================================
+ Hits 100499 100503 +4
+ Misses 20944 20940 -4
Partials 7 7 🚀 New features to boost your workflow:
|
fclairamb
disabled auto-merge
October 11, 2026 11:47
fclairamb
added a commit
that referenced
this pull request
Oct 12, 2026
The nightly workflow has failed every night since at least 2026-09-30. Three causes: - **Live network + Docker suites**: `TestTCPSpeakingSampleIsUpAgainstSolidping` failed every night since the sample shipped (2026-09-16). solidping.io answers `HEAD` with `405 Method Not Allowed` (the chi router only registers GET routes), so the shipped TCP sample and the live-demo TCP check were DOWN. The sample now sends `GET / HTTP/1.0`, which answers a 302 the expect pattern already accepts. - **Postgres layer (against main)**: ran at `-p 1` with a 25 min timeout, but the layer needs about 40 min at `-p 1`, so it was cancelled every night. It now runs at `-p 4` with 30 min, like `backend-postgres` in ci.yml. Its inline embed placeholders also lacked the status0 `assets/*.js` bundle, which made `TestCompressionEncodesEmbeddedStatus0JS` fail. Both nightly jobs now call `scripts/embed-placeholders.sh` instead of an inline copy. - **Clean clone builds and tests**: failed once (2026-10-11) on the flaky `TestEgressCacheReprobesAfterTTL`, already fixed on main by #519. No change here. Verified locally: `make test-slow` passes, including the four asserted suites and the TCP sample test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TestEgressCacheReprobesAfterTTLasserted "the cached answer is reused within the TTL" with a 1 ms TTL, so a loaded runner that took more than 1 ms between two calls re-probed and failed (expected 1 call, got 2, on #517's CI). Reuse is now checked on its own cache with a 1 h TTL; the convergence-after-expiry half keeps the 1 ms TTL, with an atomic flag instead of a plain bool. 50/50 with-racelocally.🤖 Generated with Claude Code