Repository navigation
fix(service): avoid Windows executable lookup in lease diagnostics (carry #6655) - #6715
Conversation
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⚙️ Run configuration
📒 Files selected for processing (9)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe default Windows lease diagnostic no longer launches ChangesLease Diagnostics
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The Windows diagnostic omits only the optional executable label. No actionable issue is established; normal cross-platform checks remain appropriate. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 3 files. (6 skipped: 6 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
|
Maintainer integration into
|
Summary
devfrom42a571f13a4d7f62415c82b9c0b4f1a0c7a641b4. Windows lease diagnostics now returnnullfor the optional default executable image label before spawning any diagnostic helper. The shared module remains usable by both Bun and the Node npm/pnpm launcher.pslookup unchanged. The.d.mtschange updates its comment only; declaration types and signatures retain their meaning.scripts/test-layout/layout.jsonremains 1,998 lines without raising any file-size cap.This is the requested carry even though the original PR currently reports
maintainerCanModify=true(the assignment recordedfalse). The original PR stays open. Its independent maintainer security-review hold is not treated as fulfilled by this carry or by passing local checks.Co-authored-by: Epinephrine luvs01@hanmail.net
Verification
Validated head:
1c68a50e5c20ea1e16bf8dc396fe524148ac8264.bun test ./tests/service/ownership-mutation-lease-diagnostics.test.ts— exit 1, 3 pass / 1 fail. The Windows regression received the intercepteduntrusted-tasklist.exelabel instead ofnull, proving the old diagnostic subprocess path executed without launching a real Windows helper.bun test ./tests/service/ownership-mutation-lease-diagnostics.test.ts ./tests/service/service-ownership-state.test.ts— exit 0, 50 pass / 0 fail, 161 assertions. Covers zero Windows diagnostic subprocesses for inspection/status/busy refusal, live old-owner refusal, preserved owner bytes/file identity, read-only stale inspection, dead stale-owner reclamation, POSIXpsarguments/timeout/basename, and explicit image injection. Existing ownership/delegation and late-release protections passed unchanged.bun test ./tests/test-layout.test.ts ./tests/test-layout-tooling.test.ts ./tests/ci-workflows/file-size-ratchet.test.ts— exit 0, 27 pass / 0 fail, 640 assertions; both test inventories and repository file-size caps pass.bun run typecheck— exit 0.bun run structure:check— exit 0,structure/ SSOT checks passed.bun run privacy:scan— exit 0,Privacy scan passed.git diff --cached --checkandgit diff --check— exit 0 before commit.bun run --cwd docs-site buildinitially exited 127 because the lane had no Astro installation.bun install --cwd docs-site --frozen-lockfilethen exited 0 without tracked dependency changes, andbun run --cwd docs-site build > .tmp/h2-lease-docs-build.log 2>&1exited 0: 561 pages built and 78,111 internal links checked. Warnings concern untouched remote-linksshconfighighlighting, the emptyi18ncollection, and a large bundle chunk.The Windows/POSIX branches are exercised through a temporary platform override and a
spawnSyncspy in Bun on macOS; this is not native Windows execution. The full local suite was not run, per the bounded parallel-lane assignment and shared-resource policy. Broader platform validation is reserved for the coordinator's final Cross-platform CI. This leaf does not wait for, dispatch, cancel, or rerun CI and does not claim hosted CI passed. Independent security review remains pending with the coordinator before integration.Checklist
Summary by CodeRabbit
Bug Fixes
Documentation