You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/release-openclaw-ci/SKILL.md
+39-19Lines changed: 39 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,10 @@ Use this with `$release-openclaw-maintainer` and `$openclaw-testing` when a rele
24
24
fails, the parent cancels the remaining child matrix and prints the failed
25
25
job summary. Inspect that first red job instead of waiting for unrelated
26
26
matrix tails.
27
+
- Treat the product-complete pre-changelog commit as the Code SHA. Full product
28
+
validation and performance evidence bind to that SHA. The later Release SHA
29
+
may reuse those results only when it is a descendant whose complete changed
30
+
path set is exactly `CHANGELOG.md`.
27
31
- In a sparse worktree or Testbox source sync, first confirm `package.json`,
28
32
`pnpm-lock.yaml`, and every source path the selected check reads. If any are
29
33
absent, that checkout cannot validate a release dependency or Docker lane:
@@ -68,14 +72,14 @@ non-billable credentials fail before the expensive release matrix.
68
72
69
73
## Dispatch
70
74
71
-
Start product performance evidence as early as the release SHA exists, in
75
+
Start product performance evidence as early as the Code SHA exists, in
72
76
parallel with other release work:
73
77
74
78
```bash
75
79
gh workflow run openclaw-performance.yml \
76
80
--repo openclaw/openclaw \
77
81
--ref main \
78
-
-f target_ref=<release-sha> \
82
+
-f target_ref=<code-sha> \
79
83
-f profile=release \
80
84
-f repeat=3 \
81
85
-f deep_profile=false \
@@ -93,7 +97,7 @@ gh workflow run openclaw-performance.yml \
93
97
early standalone run is for overlap and faster regression discovery, but a
94
98
regression or missing child run blocks the parent validation.
95
99
96
-
Prefer the trusted workflow on `main`, target the exact release SHA:
100
+
Prefer an immutable trusted-main workflow revision, target the exact Code SHA:
97
101
98
102
- Keep trusted-workflow checks compatible with frozen release targets. If
99
103
`main` adds a target-owned guard script or package command after the release
@@ -103,23 +107,30 @@ Prefer the trusted workflow on `main`, target the exact release SHA:
103
107
newer `main`-only check.
104
108
105
109
```bash
106
-
gh workflow run full-release-validation.yml \
107
-
--repo openclaw/openclaw \
108
-
--ref main \
109
-
-f ref=<release-sha> \
110
-
-f provider=openai \
111
-
-f mode=both \
112
-
-f release_profile=full \
113
-
-f rerun_group=all
110
+
node scripts/full-release-validation-at-sha.mjs \
111
+
--sha <code-sha> \
112
+
--target-ref release/YYYY.M.PATCH
114
113
```
115
114
116
115
For immutable workflow proof on a moving `main`, use
117
-
`pnpm ci:full-release --sha <release-sha>`. Its canonical `release-ci/*` ref
118
-
keeps exact-target evidence reuse enabled after proving the workflow commit is
119
-
still on trusted `main` lineage. Pass `-f reuse_evidence=false` only when the
120
-
operator intentionally needs a fresh full run.
121
-
122
-
Use `release_profile=stable` unless the operator explicitly asks for the broad advisory provider/media matrix. Stable and full profiles force the release soak; the beta profile may opt in with `run_release_soak=true`. Use narrow `rerun_group` after focused fixes.
release/YYYY.M.PATCH`. Its canonical `release-ci/*` ref keeps evidence reuse
118
+
enabled after proving the workflow commit is still on trusted `main` lineage.
119
+
Pass `-f reuse_evidence=false` only when the operator intentionally needs a
120
+
fresh full run.
121
+
122
+
After the Code SHA is green, commit only `CHANGELOG.md` and run the same helper
123
+
against the Release SHA. The parent must report
124
+
`policy=changelog-only-release-v1`, `evidenceSha=<code-sha>`, and
125
+
`changedPaths=["CHANGELOG.md"]`; it should reuse the product matrix instead of
126
+
dispatching child lanes. Npm preflight and package/install acceptance still run
127
+
against the exact Release SHA and its new tarball bytes.
128
+
129
+
The SHA-pinned helper infers `beta` for alpha/beta package versions and `stable`
130
+
for stable/correction versions. Pass `release_profile=full` only when the
131
+
operator explicitly asks for the broad advisory provider/media matrix. Stable
132
+
and full profiles force the release soak; the beta profile may opt in with
133
+
`run_release_soak=true`. Use narrow `rerun_group` after focused fixes.
123
134
Publish with `openclaw-release-publish.yml` using `release_profile=from-validation`
124
135
unless a maintainer intentionally wants to cross-check a specific profile; the
125
136
publish workflow reads the effective profile from the full-validation manifest.
@@ -154,7 +165,15 @@ Stop watchers before ending the turn or switching strategy.
154
165
them in a clean-home CLI probe, never as a substitute for a required
155
166
Anthropic API-key lane.
156
167
5. For live-cache failures, inspect whether it is missing/invalid key, empty text, provider refusal, timeout, or baseline miss. Do not weaken release gates without clear provider evidence.
157
-
6. Fix narrowly, run local/changed proof, commit, push, rerun the smallest matching group.
168
+
6. Classify before editing:
169
+
- product/code failure: fix the release branch, freeze a new Code SHA, run
170
+
focused proof, then obtain green full validation for that new SHA
171
+
- workflow/harness/infrastructure/credential failure: fix that owner
172
+
separately and rerun the same Code SHA
173
+
- changelog/release-note failure: change only `CHANGELOG.md`, keep Code SHA
174
+
evidence, and repeat Release SHA proof
175
+
- publish child/registry selector failure: keep Release SHA and resume the
176
+
failed child; never rebuild an immutable version that already published
158
177
7. If a required PR CI run is capacity-stalled with queued jobs and no active
159
178
jobs, do not cancel unrelated work or accept a generic manual dispatch.
160
179
From the PR head branch, dispatch the explicit exact-SHA fallback:
0 commit comments