Skip to content

engine-host binary.test: the otool case takes the file's LONG timeout - #633

Merged
SSFSKIM merged 1 commit into
masterfrom
otool-first-call-timeout
Nov 13, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
otool-first-call-timeout

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 13, 2026

Copy link
Copy Markdown
Owner

src/engine-host/holder/binary.test.ts's case 'links libSystem and libresolv alone on macOS' timed out at vitest's 5 s default on a hosted macos-26 runner. Its one execFileSync('/usr/bin/otool', ['-L', BINARY]) took 6266 ms there (run 43461845303, ux-wave's U7 at 6373a3e; the earlier hosted runs 43454383835 and 43453176608 passed).

/usr/bin/otool is an xcrun shim. Its first call on a fresh Mac resolves the developer directory, which is what made it slow. The case asserts library names, not time. It now takes the file's LONG (30 s), the timeout every other real-process case in the file already uses. A workflow warm-up step was the alternative; it was not taken because it hides the cold call only in CI, and a fresh dev Mac pays it too.

Gate: 43462653589, with static, unit (4 shards) and unit:darwin (hosted) all green.

Friction entry: MAWS/live/hosted-mac-unit-darwin-otool-first-call-exceeds-5s.md (ux-wave's), which is resolved when this lands.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

/usr/bin/otool is an xcrun shim, and its first call on a fresh Mac
resolves the developer directory: 6266 ms on a hosted macos-26 runner
(run 43461845303), past vitest's 5 s default. The case asserts library
names, not time, so it takes the 30 s the file gives its other
real-process cases.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T16:36:52.493410Z cbaa775 PR opened
ℹ️ 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.

@SSFSKIM
SSFSKIM merged commit 310417f into master Nov 13, 2026
@SSFSKIM
SSFSKIM deleted the otool-first-call-timeout branch November 13, 2026 16:36
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…-wave/U12a

Incoming change: one unit test file, src/engine-host/holder/binary.test.ts (+4/-2).
The branch's own change shares no file with it.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…ve/U11a

Incoming change: three files under .github/ (the gate's plan script, its test, the workflow)
and one unit test file, src/engine-host/holder/binary.test.ts. The requests and sidebar
landings' code was already in this branch through the chain.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…#631, the sidebar landing #632, the gate's #629 #630, the test change #633)

Conflicts, each both-sides-add, resolved keeping both, master's first:
- src/shared/ipc/schema/layout.ts: LayoutKeySchema gains master's sidebar.hidden (U7) then ours library.exportFolder (U5); SidebarHiddenSchema then ExportFolderSchema.
- src/shared/ipc/schema/layout.test.ts: the import line holds both sides' names.
- src/shared/ipc/wire.ts: master's WIRE_MINOR 37 (U1a's laneA.accepted and a plan answer's mode) stands; U5a's side.thread.open `more` takes 38, named in the history note.
- src/shared/ipc/wire-manifest.json: auto-merged entries; its minor set to 38 by hand (regenerated on the VM after the next merge).
- docs/tech-debt-tracker.md: master's rows (U10a, U1a, U13a, CI-opt, U1b, U7a) then U5a's four.
- e2e/cross-build.spec.ts: the node imports hold both sides' (mkdirSync, dirname; isDeepStrictEqual).

Wire minor: 38, provisional (U3a's merge follows).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
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.

1 participant