chore: release-please and shared release workflows #5
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 538 lines diff across 6 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.376
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5"
general
weight: 0.35
gusfcarvalho
Why
This repo joins the release train (W3 batch 1, with plugin-dependabot). Releases now come from release-please PRs and the shared
release-policies.yml, instead of a tag push running a local workflow. Release candidates come from thecut-prereleaseworkflow. The default branch ismain.What
release-please-config.json: copied from mock-plugin-policies-1. Its top-level keys equalrelease-please/defaults.jsonat workflows v1.5.2.packages: {".": {"release-type": "simple"}}..release-please-manifest.jsonis seeded at0.2.0. That isreleases/latest(v0.2.0, a final release). Its commitf94ad77is an ancestor ofmain, so nobootstrap-shais needed. There is noversion.txt; release-please adds it in the first release PR.6e7fc9c04b59c7d1117938da397f8a6f8df036ab # v1.5.2:-
release-please.ymlruns on push tomain;-
release.ymlruns onrelease: publishedand callsrelease-policies.ymlwithopa-version: "1.14.1"anddirectory: policies;-
preview.ymluseskind: policieswithon-main: false, so only thepreviewlabel builds;-
cut-prerelease.ymlruns onworkflow_dispatch.ci.yml: the three pins move from v1.5.1 to v1.5.2. It already hadrelease-checks. Nothing else changes.Deleted files
.github/workflows/release.yml(the old one) ran on any tag push and calledbuild-and-upload.yml. It is replaced by the newrelease.ymlabove..github/workflows/build-and-upload.ymlranopa build -b policieswith OPAlatest. It attachedbundle.tar.gzto the GitHub release and rangooci upload-singletwice, once to:<tag>and once to:latest.Artifact comparison (old workflow vs shared v1.5.2)
policies/only. With OPA 1.14.1,opa build -b policies -o …(old) andopa build --bundle policies --output …(shared) give byte-identical tarballs. Both have sha256917ae796…, and both contain/data.json,/.manifestand the eight/policies/*.regofiles.latestat release time. The shared one pins 1.14.1, the agent's OPA.ghcr.io/compliance-framework/plugin-dependabot-granular-policies, and the upload is stillgooci upload-singleofbundle.tar.gz, with gooci v0.0.7.- A final
vX.Y.Zrelease gets:vX.Y.Zand:latest, as before. The bundle is now uploaded once andcrane tagpoints:latestat the same manifest, so both tags share one digest. The old workflow uploaded twice and made two manifests.- Old:
latestwas skipped whengithub.event.release.prereleasewas set. On a tag-push event that field is empty, so every tag, rc included, movedlatest. New: whetherlatestmoves is decided from the tag name, sovX.Y.Z-rcNleaveslatestuntouched.- Tags must now be
vX.Y.Z[-rcN]. The old workflow accepted any tag name. All existing tags (v0.1.0,v0.1.1,v0.2.0) already follow it.:pr-<n>, published only when a PR has thepreviewlabel. Previews never touch:latest.bundle.tar.gzto the GitHub release (all three existing releases carry it). The shared workflow attaches nothing. Releases are created by release-please, or bycut-prereleasefor rcs. This difference needs a human decision: does anything consume the release asset? The agent pulls from OCI.Verified locally
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12is clean.opa build policiesworks,opa check policiesis clean andopa test policiespasses (38/38).jqcomparison of its top-level keys and values againstdefaults.json.ccf-lisa[bot].The README covers testing and
make build, not releasing, so it is unchanged. The PR stays open until the batch's repo settings are applied, because thereleaseenvironment holds the ccf-release-bot secrets.Task: W3-S2-T02 (local-dev/docs/release-automation/workstream-3-plugins-in-train.md)
🤖 Generated with Claude Code