Check exact-cache timestamps without assuming a quiet clock #300

Manually merged
github merged 1 commit from github-bot/gh-300 into gh-pr/300/base 2026-11-27 15:00:07 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 14:44 UTC · original
TaynanGT:fix/exact-cache-test-clock → main · +19 −32 · 1 files · 1 commits · merged 2026-11-27 14:50 UTC

The exact-cache eviction regression used the shared clock as if the only intervening lookup were its own. Parallel tests can add ticks after the slow allocation publishes, making a later sweep evict the new entry despite a correct stamp. This occurred in the Windows CI run for #208.

The test now checks the recorded stamp against the clock value taken while that allocation was still blocked. It also verifies the idle entry was evicted and the held entry is still the same allocation. The change is confined to the existing test.

**@⁠TaynanGT** on GitHub · 2026-11-27 14:44 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/300) `TaynanGT:fix/exact-cache-test-clock` → `main` · +19 −32 · 1 files · 1 commits · merged 2026-11-27 14:50 UTC The exact-cache eviction regression used the shared clock as if the only intervening lookup were its own. Parallel tests can add ticks after the slow allocation publishes, making a later sweep evict the new entry despite a correct stamp. This occurred in the [Windows CI run for #208](https://github.com/TaynanGT/Vice-Tay/actions/runs/46016927528). The test now checks the recorded stamp against the clock value taken while that allocation was still blocked. It also verifies the idle entry was evicted and the held entry is still the same allocation. The change is confined to the existing test.
Advance the clock while allocation is paused, hold the published entry and check its recorded timestamp directly.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 14:48:54 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 14:44 UTC · original · edited 2026-11-27 14:46 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T14:45:23.589359Z c85c79d PR opened
🔒 Security Review ✅ Completed 2026-11-27T14:46:30.217920Z c85c79d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 14:44 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/300#issuecomment-7221166829) · edited 2026-11-27 14:46 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"c85c79d44f10e5f159923ad0b30ae849f2c3da53","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"c85c79d44f10e5f159923ad0b30ae849f2c3da53","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"c85c79d44f10e5f159923ad0b30ae849f2c3da53","mergeGateEnabled":false,"pullRequestNumber":300,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T14:45:23.589359Z">2026-11-27T14:45:23.589359Z</relative-time> | `c85c79d` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T14:46:30.217920Z">2026-11-27T14:46:30.217920Z</relative-time> | `c85c79d` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
github-bot changed target branch from main to gh-pr/300/base 2026-11-27 15:00:06 +00:00
github manually merged commit c85c79d44f into gh-pr/300/base 2026-11-27 15:00:07 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.