Skip to content

feat(orcad): 8-slot node-pty prebuilds against the pinned Node headers - #24109

Closed
OrcaWin wants to merge 13 commits into
mainfrom
OrcaWin/node-rt-prebuilds
Closed

OrcaWin wants to merge 13 commits into
mainfrom
OrcaWin/node-rt-prebuilds

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​563 $\color{#cf222e}{\Huge{\mathbf{−}}}$​49 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​514
Prod 16 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​878 $\color{#cf222e}{\Huge{\mathbf{−}}}$​147 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​731

ELI5

Remote servers currently compile the terminal library (node-pty) on the host, which fails without a compiler. This builds node-pty in Orca's CI for all 8 server platforms, against the exact pinned Node, and checks each build before the loader will use it.

What Changed

  • build-orcad-prebuilds.mjs:
    • Covers 8 slots; win32-x64 and win32-arm64 are new. Windows slots ship conpty.node, the bundled conpty.dll/OpenConsole.exe, and upstream's N-API conpty_console_list.node.
    • Compiles in a scratch copy, so the desktop's Electron build of node-pty is never touched.
    • Builds against the pinned, hash-verified Node headers (--nodedir), and on Windows against node.lib, which is also pinned.
    • Sets NAPI_VERSION=8 explicitly, so host Node 18 can load the addon.
    • Adds --require-slots (hash verification) and --smoke (load the addon under the pinned Node and run a PTY).
  • Manifest schema 2: records the N-API level, libc, arch, per-file sha256, and the highest glibc version each glibc slot needs. glibc slots go through the existing verify-linux-glibc-floor.cjs gate.
  • musl: the scratch copy scopes the patch's glibc .symver pins and the libutil.so.1 link flag to glibc builds.
  • Loader (node-pty-prebuilt-slot.ts): the exact Node ABI check is replaced by N-API ≤ host, libc, arch, glibc floor and file hashes. New refusal reasons: napi-unsupported, libc-mismatch, arch-mismatch, glibc-too-old, hash-mismatch, and path escapes.
  • CI: every runner and container lane in bun-profile-tests.yml builds, verifies and smoke-tests its own slot.

Why

This extends the existing script rather than adding a new pipeline. N-API (not the Node ABI) is what makes one binary per platform enough.

Linked Issue

Part of the Node runtime plan (design D2 and D6). Addresses the root cause of #1693, #20386 and #22159 once the relay uses these builds (Phase 2). Stacked on OrcaWin/node-rt-phase1.

Visual Proof

N/A. This changes the build pipeline and the loader, with no UI.

Testing

  • darwin-arm64, built locally with the pinned Node 24.21.0: the build, --require-slots and --smoke all pass. The same pty.node loads and runs a PTY under Node 18.0.0.

  • The desktop's pty.node hash is unchanged after the builds.

  • 356 targeted tests pass. pnpm tc and the changed-code gate pass.

  • Not yet built anywhere: win32 x64/arm64, the linux glibc slots (ubuntu:20.04) and the musl slots (Alpine). This PR's CI is their first run.

  • Open question: glibc slots are gated at 2.31 (the desktop floor), but the pinned Node runs on 2.28. That leaves hosts on 2.28–2.30 refused.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

m4air added 10 commits September 30, 2026 01:42
Lands daemon-protocol-facts.mjs from the Windows update diagnostic branch with a
stricter parser, and adds check-daemon-protocol-crossing.mjs (rule R1): the working
tree must attach the newest release tag's daemon. Rollback crossing is reported only.
Runs in the cross-version-wire job, which already has full tags; tag selection moves
to config/scripts/stable-release-tags.mjs so both use one rule.
The profile preflight parser now takes the expected runtime identity from the
caller (shipped callers pass the pinned Bun identity), and the native
preflight is renamed to orcad-runtime-native-preflight with neutral wording.
… check

Add src/shared/node-runtime-pin.ts (NODE_RUNTIME_PIN, SERVER_TARGETS,
NODE_RUNTIME_ASSETS for all 8 server targets plus the headers tarball),
generated by config/scripts/update-node-runtime-pin.mjs from the nodejs.org
and unofficial-builds SHASUMS. check-node-runtime-pin.mjs verifies, with no
network, that the pin tracks the locked Electron, matches engines.node's
major, and covers exactly SERVER_TARGETS; it runs in the static analysis job.

ORCAD_BUN_TARGETS consumers now read SERVER_TARGETS so there is one target
list; orcad's Bun runtime and build output are unchanged.
# Conflicts:
#	src/shared/orcad-bun-runtime.ts
…s at N-API 8

- build-orcad-prebuilds.mjs adds win32-x64/arm64 (conpty.node, the vendored
  conpty.dll/OpenConsole.exe, upstream's N-API conpty_console_list.node), compiles
  in a scratch copy against the hash-verified pinned headers (node.lib pinned per
  Windows arch) with NAPI_VERSION=8, rejects post-8 node_api_* imports, and writes
  a schema 2 manifest with per-file sha256, N-API level and the glibc need.
- --require-slots [slots] verifies files against hashes; --smoke loads the slot
  under the pinned Node and spawns a PTY; --print-slot names the host slot.
- The slot installer gates on N-API, libc, arch, glibc and file hashes instead of
  the exact NODE_MODULE_VERSION, and installs nested files (conpty/).
- bun-profile-tests.yml builds, verifies and smokes each runner's slot.
…uild slots

musl's unversioned libc cannot satisfy openpty@GLIBC_* references at link
time, so the Alpine slot compile would fail. Pin the staged pty.cc guard to
__GLIBC__ and assert both musl transforms against the installed patch.
@greptile-apps

greptile-apps Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 2/5

[High risk] Modifies relay deployment workflows and cloud infrastructure logic.

The PR does not appear safe to merge while a committed clear can strand queued drafts and the previously reported migration and drain-gate defects remain.

Findings

  1. P1 Drain gate misses request capacity ▶
  2. P1 Unusable records become unrecoverable ▶
  3. P2 Full matrix remains unchecked ▶
  4. P2 Empty slots pass verification ▶
  5. P2 Missing verdict appears clean ▶

Summary

The changes since the previous review make /clear create an at-rest replacement conversation and add an at-rest Claude command catalog, alongside shared model-catalog handling and delivery updates.

  • Clearing no longer starts the replacement agent; its first send does.
  • Claude command and skill folders can populate the / menu while the agent is stopped.
  • The committed clear can strand queued drafts if their subsequent carry does not finish.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Source conversation] --> B[Stop source agent]
  B --> C[Commit replacement record and tab move]
  C --> D[Carry queued drafts]
  D --> E[Replacement at rest]
  E --> F[First send starts agent]
Loading

Reviews (4) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..."

shell: bash
run: |
pnpm build:orcad-prebuilds
pnpm build:orcad-prebuilds --require-slots "$(node config/scripts/build-orcad-prebuilds.mjs --print-slot)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Full matrix remains unchecked Each CI runner passes only its own slot to --require-slots (the other lanes do the same), and the runners do not combine their prebuild trees. This verifies individual builds but never checks that a release contains all eight slots, so a missing slot in the assembled release could go unnoticed. Please add a check against the combined release artifact.

problems.push(`${slot}: not built`)
continue
}
for (const [file, expected] of Object.entries(entry.files ?? {})) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Empty slots pass verification If a manifest entry has no files map or an empty one, this loop checks nothing and --require-slots reports success. The loader can likewise report the slot installed without copying an addon. Please require the essential files for the slot before marking it complete.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one small hardening gap inline and one scope question below.

Reviewed changes

  • Loader gate rewritten (src/main/orcad/node-pty-prebuilt-slot.ts): NODE_MODULE_VERSION check replaced by N-API ≤ host, libc, arch, glibc floor and per-file sha256; schema-2 manifest validated with zod; slot-file keys guarded against path escape.
  • Build script (config/scripts/build-orcad-prebuilds.mjs): compiles in a scratch copy (never node_modules/node-pty) against the pinned, hash-verified Node headers at N-API 8; 8 slots incl. win32-{x64,arm64}; adds --require-slots [slots], --smoke, --print-slot.
  • Slot contents (config/scripts/orcad-prebuild-slot-contents.mjs): slot file lists, Windows ConPTY payload, findPostBaselineNodeApiNames, schema-2 mergeManifest/findSlotProblems.
  • Pinned downloads (config/scripts/pinned-node-downloads.mjs): hash-verified headers, node.lib and node executable.
  • Smoke (orcad-prebuild-smoke.mjs + -child.cjs): stages the slot binary-only and runs a PTY echo under the pinned Node.
  • Pin schema (src/shared/node-runtime-pin.ts, update-node-runtime-pin.mjs, check-node-runtime-pin.mjs): adds windowsImportLibs, nodeRuntimeHeadersUrl, isWindowsServerTarget.
  • CI (.github/workflows/bun-profile-tests.yml): every runner/container lane builds, hash-verifies and smoke-loads its own slot.
  • musl (f2c6d30): the patch's glibc .symver pins and -l:libutil.so.1 are scoped to __GLIBC__ builds.

Verified locally: 128 targeted tests pass across the 8 changed test files, windows-cmd-shim-spawn-boundary passes, pnpm run check:code-quality:changed reports 0 findings, and check:node-runtime-pin passes. I also confirmed the scratch copy contains everything the win32 conpty target needs at compile time, that node-gyp resolves <nodedir>/include/node/common.gypi, that SLOT_FILE blocks ../absolute/backslash keys, and that every N-API 9/10 addition Node exposes really is node_api_*-prefixed (so findPostBaselineNodeApiNames' heuristic is sound).

ℹ️ The full-matrix release gate is not exercised anywhere

--require-slots with no argument is the only path that checks all eight slots, but every call site in bun-profile-tests.yml passes a single slot and the runners never combine their out/orcad/prebuilds trees. The docs and script comments still say --require-slots "fails a release with a hole in the matrix," so a release assembled with a missing slot would pass this workflow unnoticed.

Technical details
# Full-matrix gate has no caller

## Affected sites
- `.github/workflows/bun-profile-tests.yml:108,150,186` — each lane passes exactly its own slot to `--require-slots`, and each job's `out/orcad/prebuilds` is discarded at job end.
- `config/scripts/build-orcad-prebuilds.mjs:245-256` — `requireSlots(slots)` checks only the requested slots.
- `docs/reference/linux-glibc-compatibility.md:120-124` — still states `--require-slots` fails a release with a hole in the matrix.

## Open questions for the human
- Is the assembled-release check intended for Phase 2 alongside relay consumption, or should this PR add one full-matrix run against the merged artifact? If the former, the doc sentence is ahead of the pipeline.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

problems.push(`${slot}: not built`)
continue
}
for (const [file, expected] of Object.entries(entry.files ?? {})) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A slot entry whose files map is empty passes --require-slots without checking anything, and installPrebuiltSlot would report { installed: true } after copying no addon. Since these two exports exist to prove a slot is intact, require the slot's primary addon (pty.node, or conpty.node on win32) to be listed before treating it as complete.

Technical details
# Empty slot passes verification

## Affected sites
- `config/scripts/orcad-prebuild-slot-contents.mjs:161` — `Object.entries(entry.files ?? {})` iterates nothing for an empty map.
- `src/main/orcad/node-pty-prebuilt-slot.ts:169-197` — same empty loop, then returns `installed: true, spawnHelper: false` with nothing copied; the subsequent load probe is the only thing that catches it.

## Required outcome
- `findSlotProblems` and `installPrebuiltSlot` reject a slot that does not list the platform's primary native module.

## Open questions for the human
- Not reachable from `slotSourceFiles` (it always lists at least one addon and throws if the source is missing), so this is hardening of the integrity gate rather than a live bug.

The official Node headers' config.gypi sets clang: 0, so common.gypi skips its
gnu++20 xcode_settings and Apple clang 15 (macos-14 runners) compiles
node-addon-api as C++98.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found in the commit since the last review.

Reviewed changes

  • Pinned the macOS C++ standard in the prebuild compile gypi: prebuildCompileGypi (renamed from napiVersionGypi) now adds an OS=="mac" condition setting CLANG_CXX_LANGUAGE_STANDARD: gnu++20 and CLANG_CXX_LIBRARY: libc++, so node-gyp's Darwin XcodeSettings supplies the standard Node's common.gypi skips when config.gypi reports clang: 0.
  • Renamed the generated include to prebuild-compile.gypi and updated the pin test to assert the macOS condition.

Verified against real gyp sources (node-gyp 12.3.0): target_defaults.conditions is deep-copied into each target and evaluated at PHASE_LATE, target-level xcode_settings is pushed into configurations, and the Darwin make generator's GetCflagsCC honors CLANG_CXX_LANGUAGE_STANDARD/CLANG_CXX_LIBRARY (node-pty's own cflags_cc is ignored on mac). Also confirmed the load-bearing comment: the pinned node-v24.21.0-headers.tar.gz (hash matches the pin) ships a config.gypi with "clang": 0. The 30 focused tests across the two touched test files pass.

The prior pullfrog review's empty-slot hardening thread remains open (this commit does not touch it), so this is not an approval.

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

…ilds

# Conflicts:
#	config/scripts/check-node-runtime-pin.mjs
#	config/scripts/check-node-runtime-pin.test.mjs
#	config/scripts/update-node-runtime-pin.mjs
#	config/scripts/update-node-runtime-pin.test.mjs
#	package.json
#	src/shared/node-runtime-pin.ts
#	src/shared/orcad-bun-runtime.ts
Comment on lines +77 to +83
const pause = count(capacity.normalAdmissionPause, 'normal admission pause')
const used = Math.max(
count(capacity.observedConnections, 'observed connections'),
count(capacity.enforcedConnectionUnits, 'enforced connection units')
)
const reserved = count(capacity.pendingControlReservations, 'pending control reservations')
return Math.max(0, pause - used - reserved)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Drain gate misses request capacity The new pre-drain check counts free connection slots but not request reservations. If a general cell has connection headroom while its request reservations have reached capacity, this check can approve a drain even though placement will exclude that cell. Hosts may then keep redialling the drained cell instead of moving.

Knowledge Base Used:

Comment on lines +143 to +145
case 'unusable':
report(legacy)
return NO_LEGACY_JOURNAL_RECORDS

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Unusable records become unrecoverable If both copies of the legacy session-record file are unparseable, this branch completes the version-4 migration without importing them. Later version-4 opens do not retry the file, so repairing a retained copy will not automatically restore the sessions it held.


// Why a separate upload URL above 32MB: the direct endpoint rejects larger
// files, and every Orca installer is far past that.
async function uploadArtifact(filePath, apiKey) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Missing verdict appears clean A successful VirusTotal lookup without last_analysis_results becomes an empty result map, which the report labels “clean across 0 engines.” That makes an unanalyzed artifact appear clean, so a release reviewer may mistake missing evidence for a favorable verdict.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No new issues in this PR's own files — this update is a sync merge. One scope observation below.

Reviewed changes

  • Merged origin/main into the branch (ae1f235): every prebuild, loader, pin and CI file this PR authors is byte-identical to 16a3893, and the merge deletes nothing from main.
  • Resolved main's rename of the native preflight (src/main/orcad): kept this branch's orcad-runtime-native-preflight file and preflightOrcadNativeRuntime export over main's orcad-bun-native-preflight rename; no dangling references remain and ORCAD_BUN_RUNTIME_IDENTITY is still exported.
  • Added config/scripts/pr-code-change-scope-daemon-protocol.test.mjs: a 21-line test for the daemon-protocol cross-version-wire routing already present in pr-code-change-scope.mjs.

ℹ️ The merge inflates the PR diff against its base to 1502 files

OrcaWin/node-rt-phase1 is still at de2822e and does not contain main, so merging origin/main into the feature branch makes the base ← head diff include every file main changed since the fork. Before this merge the PR changed 25 files; it now reports 1502. This PR's own changes are buried, and automated reviewers are now reporting on unrelated main work — greptile's review at ae1f235 raised findings against cloud/dev/scripts/check-relay-same-cap-headroom.mjs, config/scripts/scan-release-artifacts-antivirus.mjs and src/main/runtime/agent-session-legacy-record-import.ts, none of which this PR authors.

Technical details
# Stacked PR diff includes all of main

## Affected sites
- `OrcaWin/node-rt-phase1` (`de2822e`) — base branch, does not contain `main`.
- `ae1f235` — merge of `3135fbb` (`origin/main`) into `OrcaWin/node-rt-prebuilds`.
- `git diff --stat --merge-base OrcaWin/node-rt-phase1` reports 25 files at `16a3893` and 1502 files at `ae1f235`.

## Required outcome
- The PR's reviewable diff should contain only this PR's prebuild changes.

## Open questions for the human
- Is the plan to merge `main` into `OrcaWin/node-rt-phase1` (so the base advances and the diff shrinks), or to retarget this PR once phase1 lands? If the branch is meant to carry main ahead of its base, the current diff is expected noise.

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@OrcaWin
OrcaWin changed the base branch from OrcaWin/node-rt-phase1 to main October 1, 2026 06:24
@greptile-apps

greptile-apps Bot commented Oct 1, 2026

Copy link
Copy Markdown

Comments Outside Diff

These findings could not be posted inline.

  • P2 Workspace scan hides account commands src/main/claude/claude-command-folder-scan.ts:77 ▶

    The workspace and account command folders share one 1,000-entry limit, and the workspace is scanned first. If its files and directories use up that limit, the account folder is skipped. Personal commands then disappear from the at-rest / menu even though they remain available to Claude.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (1)
AGENTS.md — auto-discovered

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 2e2be07c-2d77-4b4b-a312-9297b62fb490

📥 Commits

Reviewing files that changed from the base of the PR and between 2a83c95 and 068b4ee.

📒 Files selected for processing (25)
  • .github/workflows/bun-profile-tests.yml
  • config/relay-assets/node-pty-1.1.0-windows-pty-teardown-patch.cjs
  • config/scripts/build-orcad-prebuilds.mjs
  • config/scripts/build-orcad-prebuilds.test.mjs
  • config/scripts/bun-profile-change-scope.mjs
  • config/scripts/bun-profile-qualification.mjs
  • config/scripts/bun-profile-qualification.test.mjs
  • config/scripts/check-node-runtime-pin.mjs
  • config/scripts/check-node-runtime-pin.test.mjs
  • config/scripts/orcad-prebuild-slot-contents.mjs
  • config/scripts/orcad-prebuild-slot-contents.test.mjs
  • config/scripts/orcad-prebuild-smoke-child.cjs
  • config/scripts/orcad-prebuild-smoke.mjs
  • config/scripts/pinned-node-downloads.mjs
  • config/scripts/update-node-runtime-pin.mjs
  • config/scripts/update-node-runtime-pin.test.mjs
  • config/scripts/windows-cmd-shim-spawn-boundary.test.mjs
  • docs/reference/linux-glibc-compatibility.md
  • src/main/orcad/native-host-abi.test.ts
  • src/main/orcad/native-host-abi.ts
  • src/main/orcad/node-pty-prebuilt-slot.test.ts
  • src/main/orcad/node-pty-prebuilt-slot.ts
  • src/main/orcad/node-pty-precondition.test.ts
  • src/main/orcad/node-pty-precondition.ts
  • src/shared/node-runtime-pin.ts
💤 Files with no reviewable changes (1)
  • config/scripts/windows-cmd-shim-spawn-boundary.test.mjs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

The prebuild matrix now includes Windows x64 and arm64 and builds slots using hash-verified Node runtime assets. Schema-v2 manifests record slot compatibility metadata and file hashes. Installation checks the host runtime and verifies slot files before copying them. CI builds, verifies, and smoke-tests slots on their runner platforms.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 068b4

The prebuild pipeline checks host compatibility and file integrity before installation. The Windows linking and Alpine runtime concerns were disproved; the change is mergeable subject to normal CI checks.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 068b4

The change strengthens compatibility and integrity checks for shipped native binaries. No introduced security vulnerability was established, but local file ownership and interrupted or concurrent installation remain insufficiently verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — Native artifact substitution would affect the process identity of a consuming Orcad host; substitution of shared build inputs could propagate into generated slots. The independently attackable scope depends on cache and deployment-directory write access, which the inspected evidence does not establish. No tenant-wide or fleet-wide authority follows from these paths alone.

Security Findings and Attack Paths

  • inferred — A writer controlling both the shipped manifest and its native files could supply matching hashes, so those hashes provide integrity relative to the manifest rather than independent publisher authentication. Trust in the deployment files predates this PR; the new checks strengthen that boundary. Attacker access to those files, or a newly expanded remote attack path, was not established.

Trust Boundaries and Controls

  • observed — Ordinary download and cache reuse require matching committed hashes, and extracted runtimes are checked before being returned for execution. Pin generation is a separate trust step: official checksum signature verification can proceed with a warning when verification is unavailable, and generated pins are then written into source for review.

Resilience and Maintainability Implications

  • observed — Installation verifies all sources before sequentially publishing files, but has no staging, rollback or post-copy verification. Direct publication and the existing pty.node installation bypass predate this PR. Windows adds a larger file set to this mechanism. Download partial files are verified before promotion, but promotion also uses removal followed by copying rather than atomic replacement.

Hardening Proposals

  • proposed — Consider staging and verifying complete native file sets before atomic publication, using immutable cache identities, and making recovery validate the complete installed set. Document trusted directory ownership and exercise interruption, concurrent installation and symlink cases to establish the intended integrity guarantee.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 48.15% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 54 functions across 22 files. (2 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding eight node-pty prebuilds built against pinned Node headers.
Description check ✅ Passed The description is mostly complete and relevant. It includes the ELI5 summary, changes, rationale, linked issue context, visual proof, testing details, platform limitations, and the agent skill bounda…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 48.15% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 54 functions across 22 files. (2 skipped: 2 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Merged origin/main into the branch (068b4ee): a sync merge that leaves every prebuild, loader, pin and CI file this PR authors byte-identical to the previous review (16a3893/ae1f235). Its only net tree effect is 35 unrelated native-chat files from main's #24267 and #23935; main's #24088 and #24089 are content-identical to the equivalent commits already in the branch, so they produce no diff.
  • Base retargeted to main: the PR now reviews the 25 files it authors rather than the 1502-file tree that came with the earlier stale OrcaWin/node-rt-phase1 base, so the earlier diff-scope observation no longer applies.

The prior inline hardening thread (a slot with an empty files map passing the integrity gate) is untouched by this merge and remains open, so this is not an approval.

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@OrcaWin

OrcaWin commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded: the cutover PR #24110 contains every change here, built on top of it, plus current main. Landing them together saves a second multi-hour CI cycle.

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