feat(ci): publish a dev-accepted release in one run #3069
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3069"
general
weight: 0.35
DefeatMan
TL;DR
Build, deploy, test and publish one dev-accepted candidate in a single Actions run.
Release flow
Runtime, wheels, Node and C build in parallel. Go tests and Runner consume the C artifact. C SDK and Runner each load configuration and validate the source commit in a single job.
Once GHCR producers finish, one dev job verifies the image and Runner digests, records their candidate and requests approval. Dev then tests the Linux x64 clients staged by this run.
Dev E2E success opens protected prod approval immediately. In parallel, the publication branch checks the complete distribution and Go tests, verifies the accepted client bytes and attaches the assets to the draft.
After PyPI and npm succeed, CI verifies the remote attachments and publishes the draft as a stable GitHub Release. Crates.io and Go tagging can then proceed in parallel. Both full and standalone Go publication download every versioned C SDK archive anonymously and check its GitHub asset digest before pushing the module tag.
Release Slack includes the E2E result with prod approval and a run button on failures.
A same-version Runner rebuild changes the upgrade trigger and installed digest check. Retrying attachment publication uploads missing files and preserves matching bytes, including
install.sh.sha256. Release runbook · DesignPublisher configuration and repair
Configure the trusted publisher for the PyPI project and every npm package with owner
boxlite-ai, repositoryboxliteand workflow filenamembuild-release.yml. Those two jobs run directly in that workflow with GitHub OIDC. PyPI · npmThe Runner GHCR package needs anonymous pull access for hosts. For a historical release, verify and backfill the original Runner archive before using its version for rollback. Backfill procedure
Choose
publish-runtime,publish-wheels,publish-node,publish-c,publish-goorpublish-runnerto build and publish that component from an existing product Release.For example,
publish-wheelsbuilds three platforms, verifies and attaches the files, then publishes to PyPI. Standalone publication skips dev, E2E, prod and draft promotion. Component commandsStandalone
build-onlyruns accept a source ref and stage run artifacts. Go uses the matching C matrix and Runner needs only Linux x64. The six component workflows expose reusable calls, and Runtime also keeps its weekly schedule.Component builds overlap while publishers writing the same version and destination take a short queued lock. The draft asset inventory uses the same lock for attachment and finalization. A macOS-only rebuild rechecks the whole distribution and can reuse dev acceptance when its tested Linux client bytes and deployment digests match.
For manual repair, select
repair-runtime,repair-wheels,repair-nodeorrepair-cand the original candidate artifact ID. The workflow verifies the run, tag, commit and acceptance receipt before publishing the selected component.Verification
5f76ccf214. All 29 focused release tests passed. They cover the full release caller’s pinned C SDK build on BoxLite, hosted Runner recovery, and Go tag publication failures and retries. Actionlint 1.7.12 ran with scoped exceptions for the GitHubcache-modeandconcurrency.queuekeys.deployment: falseand sends marked Slack notifications.Review notes
The design review called for explicit first-install and same-version upgrade outcomes, immutable identity across prod approval and digest checks under destination locks. Local fixtures exercise host installation and upgrade, and offline publication checks reject conflicting attachments. Verification used local fixtures and shadow runs with simulated cloud and registry operations.