Repository navigation
fix(server): load the keyring through createRequire so the fleet build ships - #182
Merged
Merged
Conversation
…d ships PR #158 loaded @napi-rs/keyring with import(). The single-executable import guard rejects a file-backed package loaded that way, so every fleet build of release/native-0.1.10 since 18cf8f2 failed at build-exe, the rollout blocked 1f8a072, and every host stayed on 3ad1bfd (Nov 20). The keyring now loads through createRequire, as node-pty, fff and playwright already do. ARC CI built only the bundle, so those heads qualified green. The core job now also runs build-exe, so a head the fleet cannot build fails qualification. Model: claude-opus-5-5 Task: fix Agent: fleet T3 auto-rollout lane Harness: t3/claude-code Model-family: claude Model-generation: 5.5 Skills-SHA: none loaded; followed bot-baseline.md and repo AGENTS.md; installed identity unverified Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Owner
Author
|
Independent bot review of head 9307585: 0 blocking findings (Critical/Important).
Not verified by this review: a keyring read inside the packaged executable, which the PR body also lists as unchecked. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Every fleet build of
release/native-0.1.10has failed since #158 ("read Antigravity quota from the CLI sign-in"). That PR loads@napi-rs/keyringwithawait import(...). The single-executable build (node apps/server/scripts/cli.ts build-exe) rejects a file-backed package loaded that way withServerCliExecutableImportError. The fleet rollout therefore blocked commit 1f8a072 after three failed builds, and the fleet is still on 3ad1bfd from Nov 20, so #139 through #181 never shipped.ARC CI builds only the bundle (
vp run --filter t3 build:bundle), never the single executable, so those heads still qualified green.Change
apps/server/src/provider/antigravityUsageLimits.tsloads the keyring throughNodeModule.createRequire(import.meta.url). The server already loads undici, Playwright and ffi-rs this way, and the module still loads only when a quota read needs it..github/workflows/closura-arc-ci.yml: the core job now also runsbuild-exeafter the native server build. A head the fleet cannot build now fails qualification instead of passing.Scope
A bug fix for a regression from #158 that blocks every fleet deploy. Paired with a change to the fleet rollout scripts in the private config repository, which repairs the rollout's own build environment and adds the desktop restart.
Verification
build-exe, the CLI archive, thenscripts/smoke-cli-archive.ts(--version,__service-launcher, andserveanswered). The archive shipsnode_modules/@napi-rs/keyringandkeyring.linux-x64-gnu.node.build-exeon 18cf8f2, 9c718d3 and 1f8a072 with the import guard error.vp test run src/provider/antigravityUsageLimits(apps/server): 26 of 26 pass.vp run check:changed origin/release/native-0.1.10: format and lint pass. Typecheck, knip and one test fail in files this PR does not touch:mcp-tool-use/run.tsandrun.test.ts, the agent-context budget test, and repo-wide unused files and exports. These checks are not part of ARC CI on this branch.createRequiremodules.Deploy: fleet
Model: Claude Opus 5.5 (claude-opus-5-5), harness: T3 Code through Claude Code.
🤖 Generated with Claude Code