Skip to content

Stabilize VS2026 fixture mutation under read sharing - #17

Merged
Aceared0829 merged 1 commit into
masterfrom
codex/vs2026-sharing-fixture
Oct 4, 2026
Merged

Aceared0829 merged 1 commit into
masterfrom
codex/vs2026-sharing-fixture

Conversation

@Aceared0829

@Aceared0829 Aceared0829 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

The VS18 blocked-build integration test could fail before changing an input when its one-shot append overlapped an existing read lease. The mainline failure occurred in FileStream opening the manifest; the log does not identify which reader owned the lease.

This test-only change acquires an existing file with a bounded, cancellable wait for exact Windows sharing/lock errors. Seek, write, flush and disposal run once outside the retry. The native scenario deliberately holds a ShareRead lease, checks that the compiler and generation remain active and the native UI responds, then releases it and verifies the exact single append and the existing invalidation, cancellation, late-output and process-reaping behavior. The concurrent cancellation fixture uses the same helper; native attempt counts and production file identity guarantees are unchanged.

Validation before publication: independent review of exact tree 993ea9c1d01d0b4e68ea51ad1ac20abeacbf038f found no blocking findings; net8/net472 core and pinned VS SDK host sources compile; 171 core assertions pass with the mainline compiler; 3 package and 26 evidence-gate tests pass. Linux skips the real Windows sharing/physical-handle controls. Actual Windows validation passed on c44a6f8: 193 core assertions and 27/27 VS18 native cases, zero skips. The required held-read-lease, responsive-UI and exact-single-write evidence is present in the downloaded result artifact; the generated VSIX hash matches the native-tested production package. All 22 CI checks passed, including six VS Code host cells and Rider (257 passed, one POSIX-only Windows skip, all 16 project audits). No semantic or production feature changes.

@Aceared0829 Aceared0829 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent code review of the exact published tree 993ea9c1d01d0b4e68ea51ad1ac20abeacbf038f found no blocking or important findings. Reviewed exact HRESULT filtering, one deadline, asynchronous cancellation, no retries after acquiring the handle, owned-stream cleanup, real held-read-lease/UI control, and preservation of invalidation/cancellation/reaping/late-output assertions. The helper is test-only and package boundaries remain intact. Local mainline-compiler core tests and both .NET targets plus pinned VS SDK compilation passed. Actual Windows sharing controls and the full VS18 native gate are still pending; this comment is not a substitute for that execution.

@Aceared0829
Aceared0829 marked this pull request as ready for review October 4, 2026 04:35
Copilot AI balanced review requested due to automatic review settings October 4, 2026 04:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Aceared0829
Aceared0829 merged commit 46387d5 into master Oct 4, 2026
22 checks passed
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.

2 participants