Repository navigation
Conversation
Require a valid Start-at-Login RunAtLoad registration before the cold-start caller relaunches Desktop. Preserve modern and legacy argument forms, running-process waits and manual-open guidance, with focused regression coverage and runtime documentation.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
✅ Deterministic PR hygiene checks passed. |
|
Code/test review at |
Summary
The cold-start caller could accept a matching macOS LaunchAgent without the required Start-at-Login
RunAtLoad: truefield, as described in the upstream discussion. Require that boolean before the lease-owning caller attempts relaunch; false or missing values return manual-open guidance without launch, readiness waiting or a competing CLI proxy, while releasing the lease. Both true modern[program, "--autostart"]and legacy[program]registrations remain accepted, and an already-running Desktop or a lease held by another caller retains its existing wait path.Verification
GitHub's update-branch operation merged current dev into the PR branch. Signed publication HEAD:
031917f996a9a624ff68becaddf7f0bd1d362849; first parent:6ee0dd7150448864f0834540caeae3e07f8ae3af; second parent (dev):8640c2f30edbd2fbb6947ed5c25e2793f5ae72a6; tree:0b87cfff23a39e1754b793f823755a25652b5a2e. GitHub reports signature verification valid, authorluvs01, and GitHub as committer. The server tree exactly matches the locally validated merge candidate. Its delta against dev is 3 files, 25 insertions, 5 deletions, frozen patch SHA256b71ea9c19a24997d62e081585091946b45f7a92238ab18f1680f33cea7da2c45. Source and test blobs are unchanged from the original PR; the runtime documentation also retains the current dev prose.Fresh local validation of that exact merge tree on 2026-10-18:
bun test tests/cli/cli-ensure-desktop-cold-start.test.ts --timeout 30000— 30 passed, 7 skipped, 0 failed, 186 assertions, 42.33 seconds. Covers rejected false/missing RunAtLoad, accepted modern/legacy registrations, running Desktop waits, manual-open guidance and refusal of CLI fallback.node node_modules/typescript/bin/tsc --noEmit— PASS, exit 0. The compiler was invoked directly because the reused dependency Bun shim previously failed; no helper was modified.Exact-head Cross-platform CI run 39097190022 on
031917f996a9a624ff68becaddf7f0bd1d362849completed successfully at 2026-10-18 04:38:26 UTC: 14 successful jobs, 9 skipped, 0 failed, 0 cancelled, all 23 jobs completed. Skipped platform/native jobs are not passing coverage. The new-head React Doctor, Catalog async contracts, target-branch and label checks also completed successfully. PR hygiene run39097188514succeeded; the separate body-edit-triggered hygiene run39097233018was cancelled, not passed. These results do not claim every merge prerequisite or approval is complete.The original-head Cross-platform CI run 39041846086 completed with 14 successful and 9 skipped jobs on
6ee0dd7150448864f0834540caeae3e07f8ae3af; that remains historical evidence only, separate from the refreshed-head CI above.The full suite and changed-test wrapper were NOT RUN locally for this refreshed tree, under the focused-validation/shared-resource scope. Seven native/macOS/Linux-specific tests skipped on Windows remain UNVERIFIED; no real Desktop launch, native plutil, LaunchServices or service registration was exercised. Maintainer/code-owner approval and explicit security review remain pending before merge. Author validation is complete and this PR is ready for review. Maintainer/code-owner approval and explicit security review remain separate merge prerequisites; no approval, merge, release or deployment is claimed.
Checklist
Summary by CodeRabbit