test: stabilize stale cluster snapshot clock - #149
Conversation
Signed-off-by: Ammar Heidari <ammar@arad-itc.org>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Please perform a fresh exact-head review of |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
ammarheidari
left a comment
There was a problem hiding this comment.
PM exact-head reconciliation on 562173ee08644d8bd076c3d7100001891b5184de: reviewed the one-file test-only patch and current exact-head evidence. The change replaces wall-clock sampling in the flaky stale-snapshot test with the same injected TimeProvider used by KafkaSnapshotCoordinator; no production/runtime file, TTL/retry contract, workflow, version, release identity, or v0.6 implementation surface is changed. Exact-head quality-gate, dependency-review, v03-benchmark, and v04-benchmark are successful; Codex exact-head review completed with no findings and review threads are clear. This COMMENT is PM evidence only, not an approval and does not substitute for the required independent CODEOWNER approval from akhiabanchian.
Reconcile PR #149 with current protected main after the branding merge while preserving the deterministic stale-snapshot test fix. Signed-off-by: Ammar Heidari <ammar@arad-itc.org>
Preserve the deterministic stale-snapshot test fix while incorporating the current protected-main branding merge. Signed-off-by: Ammar Heidari <ammar@arad-itc.org>
71ceef5 to
fcb63c5
Compare
|
@codex review Fresh review requested after replacing the non-conventional reconciliation merge subject. Content/tree is unchanged from the prior synchronized head; exact head is now |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Stabilizes the pre-existing
ClusterExplorerServiceTests.Retryable_refresh_failure_serves_stale_metadata_as_degradedtest that is blocking the required quality gate for docs-only planning PR #147.The test previously seeded the cached observation from real wall-clock
UtcNow - 1500mswith a 1s TTL, leaving only ~500ms of stale-window budget while the coordinator deliberately performs up to three retryable reads with backoff/jitter. Slow runner scheduling can therefore crossStaleAfterUtcand correctly returnUnavailable, making the assertion timing-dependent.This change injects a deterministic
TimeProviderinto the coordinator and uses the same clock for the test observations. Production code, snapshot TTL semantics, retry behavior and v0.6 planning contracts are unchanged.Scope
ClusterExplorerServiceTests.csEvidence requested
Fresh exact-head repository CI and independent review. Do not merge until protected-main requirements are satisfied.
Relates to #146 and unblocks planning PR #147 quality-gate reconciliation.