Skip to content

fix(tests): use native homes in launchd fixture - #8245

Merged
lidge-jun merged 4 commits into
devfrom
codex/lane-l9-baseline
Nov 7, 2026
Merged

lidge-jun merged 4 commits into
devfrom
codex/lane-l9-baseline

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Use distinct, isolated native absolute home paths in the launchd plist fixture. The resolved homes introduced by fix(service): pin resolved homes in service definitions #8111 preserve the Windows drive and separators, so the old POSIX-only expectations fail on Windows.
  • Keep the sqlite home, service token path, and token secrecy assertions intact.
  • The fixture includes an ampersand and apostrophe; expected values account independently for XML escaping and shell quoting.

Verification

  • Windows x64, Bun 1.4.4; isolated test homes and the repository user-scoped test lock.
  • Before the change, bun scripts/test.ts tests/service/service.test.ts -t 'preserves custom Codex and OpenCodex homes' exited 1: 0 pass, 1 fail, with C:\tmp\codex-home in place of the expected /tmp/codex-home.
  • With the ampersand and apostrophe fixture, the previous token-path assertion reproduced a failure because it omitted shell quoting; the corrected expectation passed the focused test.
  • bun scripts/test.ts tests/service/service.test.ts -t 'launchd service plist preserves custom Codex and OpenCodex homes' at head a399f816aee2db60c85c04ab1923d4c137e079af: exit 0, 1 pass, 0 fail, 6 assertions, 210 filtered out.
  • bun run typecheck: exit 0, no errors in 2,322 files.
  • Full bun scripts/test.ts tests/service/service.test.ts on the prior fixture revision: exit 1, 207 pass, 3 skip, 1 fail. The failing scheduler cleanup case refuses removal under this elevated host's temp ancestry safety check; it passed in hosted run 42196672907.
  • Independent final review: PASS on a399f816aee2db60c85c04ab1923d4c137e079af, no findings.
  • NOT RUN: full repository suite (shared host and disproportionate cost); macOS local execution; exact-head hosted CI pending in cross-platform run 42303235796. No hosted result is claimed.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@github-actions github-actions Bot added the bug Something isn't working label Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@lidge-jun
lidge-jun marked this pull request as ready for review November 7, 2026 01:25
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner November 7, 2026 01:25
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T01:27:15.524592Z a399f81 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lidge-jun

Copy link
Copy Markdown
Owner Author

Maintainer integration (dev) for the 2.98.0 release train: exact head a399f81 has green PR checks and a passing fresh independent review; test-only change. Hosted Windows proof for this target is NOT RUN on the branch (earlier shards aborted first); the release-candidate dev lane=all run is its Windows proof, and hosted-Windows-only cases stay under the time-boxed CI quarantine until that proof exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant