Repository navigation
🤖 tests: close the #7326 test follow-ups (refine seeding, try-lock attempt count, temp lock folders, foreign ENOENT) - #7493
Merged
Conversation
…unt, temp lock dirs, foreign ENOENT)
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. |
Contributor
🟢 e2e stories (Haiku): 14 passed27 agent steps · 7 replayed from cache · 32 model calls · 224.3k tokens (76% cached) All 14 tests in 9 files
e2e 0.20.0 · 2m 57s · web · run artifacts 🟢 e2e Electron stories (Haiku): 3 passed3 agent steps · 3 model calls · 8.0k tokens (32% cached) All 3 tests in 3 files
e2e 0.20.0 · 26.1s · electron · run artifacts 🟢 e2e agent repros (Haiku): no tests selectedSpend: $0.00 of the $1.00 cap (proxy ledger) e2e 0.20.0 · 5.3s · 2 targets (web, phone) · run artifacts |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 25, 2026
This was referenced Oct 25, 2026
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.
Summary
Test-only PR for the open test items of #7326 (phase 4 review follow-ups). It fixes one temp-root leak, removes a host-load race from the try-lock test, cleans up the temp lock folders of
crossProcessLock.test.ts, and makes the foreign-holder test layer give ENOENT for a missing parent as the Node lock does. No product code changes.Refs #7326
Items
oneRefineApply(sessionLocks.callOptions.scenarios.testHarness.ts) now opens itstryright aftercreateTestHistoryService(), so the seeding (folder, config edit, appends) runs inside it andcleanup()always runs. The scenario is a function that a test calls, not a test file, so atryis itsbeforeEach.lockPath) and expects exactly 1. A second attempt moves the frozen clock past the deadline, so a retrying build still ends.tempLockPath()leaves its folderstempLockPath()records each folder, and a file-levelafterEachremoves them.lockPathacquireAfterFolder(memorySessionLocks.testHarness.ts), which makes the folder throughHostFilesbefore the take, and the contract case "a file lock creates its missing parent" (#7372) runs on the memory layer.createParentDirectoryis falsewrapWithForeignHoldershands the call to the inner lock whencreateParentDirectoryis false and the parent is gone. The inner lock then fails with ENOENT, as the Node lock does before it reads any holder. #7485 is still open, sofileLock.tsis not touched.Validation
crossProcessLock.ts:585changed from>=to>, the test fails with "Expected: 1, Received: 2". It passes on main code.crossProcessLock.test.tsleaves nocross-process-lock-*folder fromtempLockPath(). One older folder kind,cross-process-lock-fifo-*from the threadpool-starvation test, still stays behind: it is not made bytempLockPath()and is outside this item.Risks
Low. Test code only. The foreign-holder change only affects tests that pass
createParentDirectory: falsewith a missing parent.Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$198.14