Skip to content

ci: trust shared bootstrap diagnostics template - #12397

Merged
prekshivyas merged 1 commit into
mainfrom
codex/12192-shared-diagnostics-trust
Sep 28, 2026
Merged

prekshivyas merged 1 commit into
mainfrom
codex/12192-shared-diagnostics-trust

Conversation

@rsliter

@rsliter rsliter commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Authorize the exact shared npm-diagnostics template prepared in #12239 through the independent base-trusted allowlist. This PR adds one normalized template digest and its explanation; the shipped bootstrap and release pins remain unchanged.

Reason

Advisor review required #12239 to replace duplicated credential redaction and diagnostic bounding with one shared helper. That scope-local repair produces normalized Brev operational-template digest 9bb436b8a08b085c5f7ca8a98bf1bc0cddc3cd51a792f897c6593499ab0b2da0. The installer-hash security gate intentionally requires that exact digest to land independently before the candidate implementation can pass.

Related issues

Refs #12192. Independent prerequisite for #12239 at fc702a4466432987d71ce317d603e25fb6c93c80.

Changes

Verification

  • vitest run --project integration test/install/installer-hash-check.test.ts — 81 tests passed.
  • The parser from this independent checkout evaluated the exact fix(bootstrap): replace stale npm before installing Node #12239 candidate and accepted 9bb436b8a08b085c5f7ca8a98bf1bc0cddc3cd51a792f897c6593499ab0b2da0 for both Brev records.
  • npm run validate:pr — passed, including publication validation and CLI TypeScript checks.
  • git diff --check — passed.
  • Diff inspection confirmed this PR changes only the protected trust parser and contains no secret, API key, or credential.

Review notes

Sensitive path: scripts/checks/extract-installer-pins.mts. Self-review confirmed that the digest came from the exact candidate head, the shipped bootstrap is unchanged here, and the trust decision remains independent from the candidate implementation.


Signed-off-by: Rebecca Sliter [email protected]

Summary by CodeRabbit

  • Chores
    • Release validation now recognizes an additional approved installer template. This update does not change the app’s features, installer behavior, or runtime output, so there are no user-facing changes.

@copy-pr-bot

copy-pr-bot Bot commented Sep 28, 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 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 9cf0219b-aee2-4333-916e-196ba3db87a5

📥 Commits

Reviewing files that changed from the base of the PR and between 47e455b and 4ad99f9.

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

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


📝 Walkthrough

Walkthrough

The trusted release record for v0.0.116 now includes an installer-template SHA-256 digest. Extraction logic and runtime output are unchanged.

Changes

Installer template trust

Layer / File(s) Summary
Add the trusted installer-template digest
scripts/checks/extract-installer-pins.mts
The trusted set now accepts an additional installer-template SHA-256 digest for release v0.0.116. Release pins and other trust records are unchanged.

Priority: ⬇️ Low

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

Change: Feature

Suggested reviewers: ericksoa

Merge Risk: ⚪ Minimal · up to 4ad99

The added template trust pin is covered by tests for accepting the intended template and rejecting a changed operational template. No merge-blocking issue was identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: trusting the shared bootstrap diagnostics template by adding its digest to the CI allowlist.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

@github-code-quality

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

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 4ad99f9 in the codex/12192-shared-d... branch remains at 96%, unchanged from commit 63002cd in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 4ad99f9 in the codex/12192-shared-d... branch remains at 84%, unchanged from commit 63002cd in the main branch.

Show a line coverage summary of the most impacted files.
File main 63002cd codex/12192-shared-d... 4ad99f9 +/-
src/lib/actions...flight-phase.ts 98% 90% -8%
src/lib/sandbox/config.ts 70% 67% -3%
src/lib/actions...up-authority.ts 73% 70% -3%
src/lib/onboard...er-gpu-patch.ts 89% 86% -3%
src/lib/onboard...rchestration.ts 41% 40% -1%
src/lib/state/sandbox.ts 92% 92% 0%
src/lib/actions...ridge-source.ts 80% 81% +1%
src/lib/actions...estore-phase.ts 70% 75% +5%
src/lib/agent/s...store-reader.ts 86% 92% +6%
src/lib/onboard...ure-evidence.ts 70% 90% +20%

Updated September 28, 2026 18:14 UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 4ad99f9. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@rsliter

rsliter commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator Author

Advisor recommendations not needed for this CI fix. opening for review.

@rsliter
rsliter marked this pull request as ready for review September 28, 2026 18:28
@prekshivyas
prekshivyas merged commit 5f6eb32 into main Sep 28, 2026
96 checks passed
@prekshivyas
prekshivyas deleted the codex/12192-shared-diagnostics-trust branch September 28, 2026 18:42
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance platform: brev Affects Brev hosted development environments labels Oct 14, 2026
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: 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