Skip to content

test(windows): release fixture handles before mutation - #1970

Merged
ScriptedAlchemy merged 2 commits into
masterfrom
codex/fix-windows-artifact-replacement-fixture
Sep 24, 2026
Merged

ScriptedAlchemy merged 2 commits into
masterfrom
codex/fix-windows-artifact-replacement-fixture

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Two Windows tests were failing before they exercised the behavior they asserted. The content-addressed reader test kept its finalized SQLite builder open while replacing the artifact, and the LSP missing-root test kept its fake server's process working directory inside the project it tried to delete. Windows refused those mutations while the fixture handles were still live.

Release the finalized builder before the reader checkpoint. Move the fake server's working directory to the test parent after launch, keeping the broker client warm while allowing the admitted root to disappear. Both focused tests pass locally (1/1 each); native Windows CI is running to confirm the formerly failing paths.

@changeset-bot

changeset-bot Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2334ea7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T01:49:03.806893Z 12061ec 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.

@ScriptedAlchemy ScriptedAlchemy changed the title test(query): release artifact builder before replacement test(windows): release fixture handles before mutation Sep 24, 2026
@ScriptedAlchemy
ScriptedAlchemy merged commit b664979 into master Sep 24, 2026
24 of 33 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the codex/fix-windows-artifact-replacement-fixture branch September 24, 2026 04:16
ScriptedAlchemy added a commit that referenced this pull request Sep 24, 2026
* test(query): release artifact builder before replacement

* test(lsp): let fake server release its project cwd

(cherry picked from commit b664979)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant