Skip to content

fix: preserve operational workspace paths for compiler-run state - #1055

Draft
dreamyloong2005 wants to merge 1 commit into
mcpp-community:mainfrom
dreamyloong2005:codex/fix-owner-path
Draft

dreamyloong2005 wants to merge 1 commit into
mcpp-community:mainfrom
dreamyloong2005:codex/fix-owner-path

Conversation

@dreamyloong2005

Copy link
Copy Markdown

Summary

The compiler-run owner and cleanup paths now share a focused path-location module. The output directory still has its canonical identity and hash, while state I/O retains the absolute, lexically normalized workspace spelling supplied by the caller. Output-directory redirection continues to keep state beside the workspace's target directory.

Closes #1048.

Criteria

  • The actual production leaf and registered unit tests fail before the change (2 pass, 3 fail), then pass after it (5 pass, 0 fail, 0 skip), using the production private-fragment splitter and saved dependency objects.
  • Two aliases contend for the same actual gate lock; releasing it permits the other alias to acquire it. Separate configurations and plans retain distinct state identities.
  • Focused structure tests pass (2/2).

Fresh integration

  • The six-fix Windows integration self-build succeeds with Clang 23.1.3, the system MSVC/Windows SDK and profile ci.
  • Fresh integration: 5 compiler-run path cases pass with no failures or skips. The complete selected root/CLI run is 30/30; the isolated toolchain-model package run is 14/14. The 15 structural checks also pass.
  • Independent standards and specification reviews completed. The implementation-only import placement findings were corrected before validation.
  • An isolated full-tree build of this single branch and native LPAC/cross-platform/full-suite acceptance remain for hosted CI and follow-up validation.

The native Windows product build and focused CLI checks use a local integration of #1048, #1049, #1050, #1051, #1052 and #1053 on b30e9bc0218730f7ef3b8a9c163ecc31d97aa88e. That is combined validation, not six isolated full-tree builds. The prior 2026.12.4.1 LPAC candidate is separate evidence and is not treated as acceptance of this branch. Linux/macOS and full hosted checks remain pending.

Intersections

New rule or feature Invariant it crosses Test at the crossing
Operational workspace spelling Canonical output identity, plan separation and shared locking CompilerRunPaths unit cases, including TwoAliasesShareTheActualGate

Compatibility

Existing state identities and on-disk layout do not migrate. Aliased access no longer replaces the usable workspace spelling with its backing path. Permissions, owner admission, observer requirements and recovery authorization are unchanged. Complete live-owner/interrupted-recovery and native LPAC matrices remain outside the focused test claim.

Checks before merging

  • Focused structure checks, git diff --check and check_workflow_assertions.py pass locally.
  • The remaining full required documentation/pin gates are checked by hosted CI before merge.
  • The branch contains no attribution trailers.
  • Required hosted checks and full applicable platform suites pass before merging.
  • Any eventual squash merge uses an explicit English subject and body.

This pull request is a draft. No merge is requested.

These engine fixes require the applicable full CI gates before merge. The contributor cannot assign upstream labels; a maintainer can apply ci:full before the next push according to the contributing workflow. No separate duplicate workflow dispatch is requested.

This branch has not been deployed

No deployments
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.

Windows LPAC: compiler-run owner.lock uses a canonical physical path instead of the granted workspace spelling

1 participant