Skip to content

ci: trust Node 24 Brev bootstrap template - #11329

Merged
cjagwani merged 3 commits into
mainfrom
codex/trust-node24-brev-template
Sep 11, 2026
Merged

cjagwani merged 3 commits into
mainfrom
codex/trust-node24-brev-template

Conversation

@cv

@cv cv commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Allow the base-trusted installer checker to recognize the Node 24/npm 12 Brev bootstrap in #11080. Existing trusted templates remain accepted. This PR does not change the bootstrap script or release pins.

Reason

The installer checker requires template approval on main before a later PR can select new installer behavior. #11080 cannot authorize its own script.

Changes

Add normalized Brev template SHA-256 98c46cfee5bc38cd378a991a7c60573836a6c774008caf5c5dd7bc6a1910e1ce to the OpenShell 0.0.116 trust record. The final diff adds only that digest and its ownership comment.

Verification

  • Current main parser at 70cfff5f946a9bb31d1147f78ffbda914a2efaa2 rejects chore(deps): standardize Node 24 and npm 12 #11080 commit 429568dacbce6f2615b029c55c3a12fd965cee8a and reports the proposed digest.
  • The updated parser accepts that same chore(deps): standardize Node 24 and npm 12 #11080 script and rejects a copy with Node.js 24.18.2 substituted.
  • npx vitest run --project integration test/install/installer-hash-check.test.ts — 81 tests passed.
  • NODE_OPTIONS=--max-old-space-size=8192 npm run validate:pr — passed, including repository checks, commit validation, secret scanning, and CLI type checking.
  • The diff contains no secrets, API keys, or credentials.

Review notes

This changes a security-sensitive installer trust allowlist. Exact-head CI and automated review passed on e023aa6211631e4b2b56c4e80b12edcc5d9a94db, with no actionable findings. The PR is ready for independent maintainer review.


Signed-off-by: Charan Jagwani [email protected]

@cv cv self-assigned this Sep 9, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 1b54a003-77f8-4e13-a639-36f85f3b5ce1

📥 Commits

Reviewing files that changed from the base of the PR and between 70cfff5 and e023aa6.

📒 Files selected for processing (1)
  • scripts/checks/extract-installer-pins.mts

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The trusted Brev template hash list now includes the exact npm 12 bootstrap template used after the stable-channel cutover.

Changes

Installer pin trust

Layer / File(s) Summary
Trusted template digest
scripts/checks/extract-installer-pins.mts
Adds the base-trusted Brev template digest for the npm 12 bootstrap template.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Suggested reviewers: ericksoa

Merge Risk: ⚪ Minimal · up to fe292

The new npm 12 bootstrap template is trusted without changing existing templates or installer behavior.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the CI change: trusting the Node 24 Brev bootstrap template. This matches the primary change in the pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/trust-node24-brev-template

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

@github-code-quality

github-code-quality Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit fe292bf in the codex/trust-node24-b... branch remains at 96%, unchanged from commit 27906eb in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit fe292bf in the codex/trust-node24-b... branch remains at 83%, unchanged from commit 70cfff5 in the main branch.

Show a line coverage summary of the most impacted files.
File main 70cfff5 codex/trust-node24-b... fe292bf +/-
src/lib/onboard...uild-context.ts 75% 75% 0%
src/lib/sandbox...rce-identity.ts 82% 82% 0%
src/lib/onboard...outer-python.ts 84% 96% +12%
src/lib/onboard...uter-command.ts 52% 65% +13%

Updated September 11, 2026 18:23 UTC

@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: install Install, setup, prerequisites, or uninstall flow area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: brev Affects Brev hosted development environments labels Sep 9, 2026
@cv cv added the v0.0.123 label Sep 10, 2026
@cjagwani
cjagwani marked this pull request as ready for review September 11, 2026 17:45

@cjagwani cjagwani left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@cjagwani
cjagwani enabled auto-merge (squash) September 11, 2026 18:05
@cjagwani
cjagwani merged commit d6f3e7c into main Sep 11, 2026
63 checks passed
@cjagwani
cjagwani deleted the codex/trust-node24-brev-template branch September 11, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: install Install, setup, prerequisites, or uninstall flow area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: brev Affects Brev hosted development environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants