Skip to content

Commit 7beba7c

Browse files
committed
release: isolate pinned CKB backend validation
1 parent e7c4fb7 commit 7beba7c

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
methods while historical evidence identifiers remain readable. Make the
1010
tooling-release gate parse website scripts structurally and enforce the
1111
stable build steps in order, so adding intermediate regression checks no
12-
longer breaks CI through an obsolete exact-string comparison.
12+
longer breaks CI through an obsolete exact-string comparison. Let the full
13+
backend stateful audit use an explicit isolated pinned CKB checkout through
14+
`CELLSCRIPT_CKB_REPO`, avoiding any need to modify an unrelated sibling CKB
15+
worktree during release validation.
1316
- Turn the browser Playground into a recoverable Cell-oriented workbench.
1417
Browser-local workspace snapshots now retain source files, entry selection,
1518
active panels, and an honest saved/dirty state across refreshes. Failed

‎docs/CELLSCRIPT_GATE_POLICY.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ and validates every step's commit, spent-input liveness, live outputs, cycles,
123123
serialized size, and occupied capacity. `--stateful-scenarios` remains only as
124124
an explicit option for bounded runs.
125125

126+
The backend gate normally resolves that checkout as the sibling `../ckb`
127+
directory. When that path is occupied by another development worktree, set
128+
`CELLSCRIPT_CKB_REPO` to a separate clean checkout at the exact pinned revision;
129+
the stateful wrapper forwards it as the acceptance harness's `--ckb-repo`.
130+
This avoids modifying or stashing an unrelated CKB worktree during release
131+
validation.
132+
126133
The transaction matrix is produced by the native Rust acceptance harness and
127134
is intentionally labelled as recipe-replayer evidence, not generated-builder
128135
output. Separately, the gate runs the public `cellc action build` and

‎docs/releases/CELLSCRIPT_0_23_RELEASE_NOTES.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,13 @@ ABI and generated RISC-V validation:
339339
./scripts/cellscript_gate.sh backend
340340
```
341341

342+
If the default sibling `../ckb` is already used for other work, point the
343+
stateful backend audit at an independent clean pinned checkout:
344+
345+
```bash
346+
CELLSCRIPT_CKB_REPO=/path/to/pinned/ckb ./scripts/cellscript_gate.sh backend
347+
```
348+
342349
Production release evidence:
343350

344351
```bash

‎scripts/cellscript_ckb_stateful_scenarios.sh‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,12 @@ set -euo pipefail
33

44
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
55

6+
if [[ -n "${CELLSCRIPT_CKB_REPO:-}" ]]; then
7+
exec "$SCRIPT_DIR/ckb_cellscript_acceptance.sh" \
8+
--production \
9+
--stateful-scenarios \
10+
--ckb-repo "$CELLSCRIPT_CKB_REPO" \
11+
"$@"
12+
fi
13+
614
exec "$SCRIPT_DIR/ckb_cellscript_acceptance.sh" --production --stateful-scenarios "$@"

0 commit comments

Comments
 (0)