Skip to content

feat(ci): onboard shared components and private report sites - #335

Merged
chrisknvidia merged 4 commits into
mainfrom
feat/christopherk/private-component-onboarding
Nov 4, 2026
Merged

chrisknvidia merged 4 commits into
mainfrom
feat/christopherk/private-component-onboarding

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

The CLI can now add hosted reports and PR comments to an existing shared-component scan without replacing its skill folders, score, triggers, or @v3 reference. This prepares the normal 0.7.2 Python release and versioned CI bundle.

The publisher accepts explicitly approved component tags, validates GitHub's historical resolved commits and signed evaluator identity, and records those revisions in each report. A central component can update its pinned evaluator without editing every consumer. Automatic onboarding supports one caller job, one component, and one pinned evaluator; it verifies the component's identity permission before applying settings.

Eligible private/internal organization repositories can reuse a verified private Pages site. A repository administrator first selects Private visibility and GitHub Actions in Pages settings because GitHub's documented API cannot set that visibility. Privacy and URL checks run before retaining reports and again before deployment. Existing action restrictions, unrelated Pages sites, and deployment approvals are preserved.

Validation

  • Real installed-package onboarding: setup PR, merge, test PR, changed-skill selection, hosted HTML, and bot comment passed in the direct consumer. Its existing CI stayed unchanged and passed.
  • Shared-component consumer: passing, failing, and recovery scans updated one bot comment. Moving @v3 to a different component/evaluator commit required no consumer edits. Historical backfill preserved the old resolved identities and did not replace the newer PR result.
  • Real private scanning and signed provenance passed. Attempted publication without private Pages stopped before any report was retained. Private Pages deployment was not tested end to end: no eligible Enterprise sandbox was available, and no customer repository was changed.
  • Clean base-package installations passed on Python 3.12, 3.13, and 3.14, plus a 3.14 source installation: 32 CLI previews, eight rejection cases, eight real local JSON/HTML reports, dependency checks, and package-content review.
  • Final-head native Windows passed 198 tests plus real built-wheel save/upgrade/retry checks, including CRLF Git-blob approval. A local full suite passed 21,862 tests before the final Windows fixture and release metadata updates; final-head upstream Python 3.12 passed 21,798 tests (79 skipped, 15 deselected), and all required checks passed.
  • Review covered retries, arbitrary scan job names, custom artifact names, wrapper/tag trust, historical results, workflow replacement, symlink/junction handling, CRLF approvals, and existing-site protection. Fern validation has zero errors with the existing redirect-history permission warning.

The bundle reuses the existing verified scanner image and workflow. Only the publisher and CLI change; no new scanner image or separate CI release is introduced.

@chrisknvidia
chrisknvidia marked this pull request as ready for review November 4, 2026 01:42
@chrisknvidia
chrisknvidia merged commit f878f99 into main Nov 4, 2026
22 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/private-component-onboarding branch November 4, 2026 01:43
rng1995 added a commit that referenced this pull request Nov 6, 2026
* docs(changelog): move entries released in 0.7.0-0.7.2 out of Unreleased

0.7.0 (#314) and 0.7.1 (#327) never cut their sections on main, and 0.7.2
(#335) added its section below the whole Unreleased block, so Unreleased
still listed work that had already shipped.

Place each Unreleased entry under the release that shipped the PR that
added it:

- 0.7.0: the published section from the 0.7.0 tag, verbatim. It already
  holds the six entries that main had filed under 0.6.0, so 0.6.0 again
  matches the v0.6.0 tag, including the original run_config.json entry.
- 0.7.1: #264 #271 #274 #281 #284 #289 #293 #299 #316 #317 #318 #323
  #324 #326 #327, plus the #320 wording of the Windows Git-root entry,
  since #320 changed that 0.7.0 fix in 0.7.1.
- 0.7.2: #263 #265 #269 #270 #276 #279 #287 #290 #296 #309 #328 #330
  merged with the existing #335 entries.

Only post-v0.7.2 entries stay under Unreleased, with one heading per
subsection. Entry text is unchanged, apart from the published tag wording
in 0.7.0 and 0.6.0.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(release): prepare v0.8.0

Set the package, fallback, lock, citation and developer-guide versions to
0.8.0 and move every entry merged since v0.7.2 under
'## 0.8.0 - 2026-11-05', leaving Unreleased empty.

The refusal-fallback documentation test now reads the release section
that names CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK, requires it to be 0.8.0,
and requires exactly one entry there to name the switch.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(release): pin the verified 0.8.0 Tier 1 image and add its CI bundle

Pin onboarding to the Tier 1 image published by the reviewed main revision
55d2d04 in "Build and publish Tier 1 image" run 42158955180:
ghcr.io/nvidia/skillevaluator-tier1@sha256:9d5483243918937be4f2178f74cf7c622a531dee41e3176906994d52fa14950a
(config sha256:d17d6f5105ec5f1bf0cbe4dff0d693aae4ecf01e9c1c6a6ddb7830518acace33).
The workflow and publisher refs both move to 55d2d04.

ci/bundles/0.8.0 mirrors the 0.7.2 bundle. The templates, README and
release.json are the run's github-actions-onboarding artifact and match
ci/render_templates.py output for these pins byte for byte. The scanner
inventory and verification receipt come from the build's runtime-stage
version step, the five-case smoke receipt, the onboarding job's anonymous
pull, and the public manifest, whose config digest equals the smoke-tested
image ID. The ZIP uses the 0.7.2 layout (sorted members, inner checksums,
1980 timestamps, 0644, deflate level 9) and rebuilds to identical bytes.

Point the current-bundle links at 0.8.0 and list 0.7.2 as historical.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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