Repository navigation
revert(daemon): ship official Node in the macOS terminal host again, keep stall telemetry - #33688
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
14bcf442-e190-4fb7-9904-d2af496786a9
Commits-
Reviewing files that changed from the base of the PR and between ddd55a4 and 99d0eed4ac63803c21c2f5ffd297b82d210fdaae.
Files selected for processing: 35-
.github/workflows/adhoc-mac-build.yml.github/workflows/daily-mac-build.yml.github/workflows/hourly-mac-build.yml.github/workflows/pr.yml.github/workflows/release-cut.yml.github/workflows/release-mac-build.ymlconfig/node-runtime-patches/darwin-worker-wait.jsonconfig/node-runtime-patches/darwin-worker-wait.patchconfig/reliability-gates.jsoncconfig/scripts/__fixtures__/darwin-terminal-worker-wait.cconfig/scripts/__fixtures__/darwin-threadpool-wait.hconfig/scripts/adhoc-windows-parallelism.test.mjsconfig/scripts/build-darwin-terminal-node.mjsconfig/scripts/build-darwin-terminal-node.test.mjsconfig/scripts/darwin-terminal-node-probe.cjsconfig/scripts/darwin-terminal-node-workflow.test.mjsconfig/scripts/darwin-terminal-worker-stress.cjsconfig/scripts/macos-terminal-host-bundle.cjsconfig/scripts/mobile-release-check-scope.test.mjsconfig/scripts/package-electron-runtime-contract.test.mjsconfig/scripts/pr-auxiliary-preflight-admission.test.mjsconfig/scripts/pr-code-change-scope.mjsconfig/scripts/pr-darwin-terminal-node-route.mjsconfig/scripts/release-mac-build-workflow-dispatch.test.mjsconfig/scripts/release-windows-signing-gate.test.mjsconfig/scripts/run-release-mac-build-workflow.mjsconfig/scripts/verify-darwin-terminal-node.mjsconfig/scripts/win32-test-lane-registration.test.mjsdocs/bug-reproductions/darwin-worker-wakeup.mddocs/reference/macos-daemon-tcc-attribution.mdsrc/main/daemon/daemon-foreground-confirmation-protocol.test.tssrc/main/daemon/daemon-protocol-version.tssrc/shared/local-build-compatibility-contract.jsonsrc/shared/local-build-compatibility-contract.tssrc/shared/telemetry-daemon-event-schemas.ts
Files with no reviewable changes: 16-
- config/scripts/build-darwin-terminal-node.test.mjs
- config/node-runtime-patches/darwin-worker-wait.json
- config/scripts/fixtures/darwin-threadpool-wait.h
- config/scripts/fixtures/darwin-terminal-worker-wait.c
- config/scripts/mobile-release-check-scope.test.mjs
- config/scripts/darwin-terminal-node-probe.cjs
- config/scripts/pr-auxiliary-preflight-admission.test.mjs
- config/scripts/verify-darwin-terminal-node.mjs
- config/scripts/pr-darwin-terminal-node-route.mjs
- config/scripts/darwin-terminal-worker-stress.cjs
- config/scripts/build-darwin-terminal-node.mjs
- docs/bug-reproductions/darwin-worker-wakeup.md
- config/node-runtime-patches/darwin-worker-wait.patch
- config/scripts/darwin-terminal-node-workflow.test.mjs
- .github/workflows/pr.yml
- config/reliability-gates.jsonc
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
-
| @@ -49,8 +49,7 @@ jobs: | |||
| if: ${{ !cancelled() && (!inputs.qualification_only || needs.qualification-template.result == 'success') && github.repository == 'stablyai/orca' }} | |||
| # Keep Blacksmith mac notarization outside SignPath’s GitHub-hosted Windows provenance. | |||
| runs-on: blacksmith-6vcpu-macos-15 | |||
| # Includes the 180-minute cold runtime build and the existing packaging retry budget. | |||
| timeout-minutes: 360 | |||
| timeout-minutes: 60 | |||
There was a problem hiding this comment.
Give the release job enough time for its configured retries.
If the first publication attempt takes 45 minutes, this 60-minute job limit leaves at most 15 minutes for installation, build, verification, and two remaining publication attempts. GitHub cancels a job when its job timeout expires. Increase the outer limit to cover the intended retries, or reduce the retry budget. Otherwise, a transient notarization failure can cancel an otherwise recoverable release build. (docs.github.com)
…keep stall telemetry Reverts #29133 except its daemon async-I/O stall telemetry, so we can measure how often stalls happen on official Node before committing to a patched runtime. Protocol returns to v51: no release or hourly build published v52.
99d0eed to
dcc24ee
Compare
Summary
Reverts #29133 except its daemon stall telemetry. The macOS terminal host goes back to the official Node 24.22.1 download, and the daemon protocol goes back to v51.
We want field data before committing to a patched Node runtime. The telemetry that stays (
daemon_async_io_health:stalledonce per daemon incarnation, thenrecoveredwith a duration bucket) tells us how often worker-pool stalls happen on official Node and how long they last.What stays
daemon_async_io_healthevent, schema, registry entry and main-owned allow-listDaemonPtyAdapter.getAsyncIoHealth, matched by daemon identity fieldsapp_version_matchclassification shared with the adoption eventWhat goes
darwin_terminal_nodePR check and its routingTesting
pnpm tc:nodepasses