Repository navigation
fix(ci): preserve import cycles through macOS path aliases - #7241
Conversation
Keep source graph keys and Bun-resolved import targets relative to the same physical root. Cover symlinked roots for ts, tsx and mts directory indexes. Co-authored-by: lcxhh <lcxhh521@gmail.com>
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
✅ Deterministic PR hygiene checks passed. |
|
Maintainer landing note: macos 1/3, 2/3 and 3/3 pass on this head in the branch's macOS dispatch, so the directory index.tsx cycle case that failed on dev 4ed45e9 is green on macOS. The two remaining red jobs are failures already present on dev and are tracked separately. macos control is the concurrent Codex sync test (#7244), and desktop shell is the Rust 1.99 clippy manual_noop_waker lint. |
Summary
directory index.tsx imports close cyclesfailure in dev run 38879287332. Linux probing reproduced missing cycles through a symlink while the same physical tree passed.Verification
ssh lidge 'OCX_LANE_SLOTS=3 ~/bin/ocx-lane-ci2.sh 2da167661cfd552d1a52aa3cfd059cb8063e41e7 f7-import-cycle-2da1676 tests/ci-workflows/import-cycle-ratchet.test.ts tests/ci-workflows/structure-ssot.test.ts tests/ci-workflows/file-size-ratchet.test.ts'. Typecheck exit 0; 76 tests passed, 0 failed across the three listed files on Bun 1.4.3. Summary:~/ocx-lane/logs/f7-import-cycle-2da1676.summary.../physical/src/nested/index.*targets instead ofsrc/nested/index.*. The committed scanner passes those cases in the focused run above. Red log:~/ocx-lane/wt/f7-import-cycle-56a09c3/.tmp/f7-red.log.origin/dev(050bb444a0, fix(gui): restore keep-native-v1 qualifier placement #7237) without conflicts. Final validation head:2da167661cfd552d1a52aa3cfd059cb8063e41e7; the inherited GUI gates fix is present and the PR diff still contains only the three scanner/test/doc files.gh workflow run ci.yml --ref codex/fix-import-cycle-tsx-macos -f lane=macos-control. This existing lane runs the macOS shards and unsharded diagnostic control; results are recorded in final-head run 38882499696, including themacos 1/3shard containing this regression. The superseded-head dispatch was cancelled after merging dev.macos 1/3,2/3,3/3). Regression shard log explicitly records the original TSX/MTS cases and all three new symlink cases passing.macos controlfailed in the unchangedtests/codex-integration/codex-provider-routing.test.ts:176test,concurrent sync processes leave a complete restorable config, withconcurrent sync failed: 1,0,0(job). This is outside the scanner/test/doc patch and was not changed or retried. The manual dispatch as a whole must not be described as green.git diff --checkpassed. No CI policy or workflow changes.Checklist
Co-authored-by: lcxhh lcxhh521@gmail.com