Archive upload replay
The release replay exercised a resumable Hylix attachment upload, an optional Wire reply tuple slot, and a populated KEEP upgrade. The two canisters were built from the candidate checkout. The runner imported the original wave-one V1 client and its original runtime and codec. Wire evolution guide
Setup and commands
The replay copied the app from playground/xx6 to playground/xx6-release
at the same depth to retain the relative SDK dependencies. Start from the
root with a private target and Cargo home. This run seeded registry/ and
git/ from the previous lane's cache. Use the original client stem as a read-only input.
Build instructions
scratch="$PWD/tmp/rsx-release-archive"
mkdir -p "$scratch"/{cargo-home,target,temp}
export CARGO_HOME="$scratch/cargo-home"
export CARGO_TARGET_DIR="$scratch/target"
export TMPDIR="$scratch/temp"
export CARGO_BUILD_JOBS=3
source tools/env.sh
app=playground/xx6-release/canister/Cargo.toml
run=$(mktemp -d "$scratch/run.XXXXXX")
frozen_v1="$PWD/tmp/ai-app-trials-wave1/xx6/v1/archive"
cargo metadata --manifest-path "$app" --format-version 1 --offline --locked > "$run/metadata.json"
python3 cdk-rsx/tools/build-app.py --manifest-path "$app" \
--name archive --out-dir "$run/v1" --offline --locked
python3 cdk-rsx/tools/build-app.py --manifest-path "$app" \
--name archive --features wire-v2 --out-dir "$run/v2" --offline --locked
node playground/xx6-release/acceptance.mjs \
"$run/v1/archive" "$run/v2/archive" "$run/result.json" "$frozen_v1"
Failures and recovery
- The copied app first failed
cargo metadata --offline --lockedbecause Cargo needed to update its lockfile for the candidate dependency graph. Onecargo metadata --manifest-path "$app" --format-version 1 --offlineinvocation updated the private app lock. It addedcdk-rsx-compat, moved the resolver dependencies to that crate, and recorded the facade's new const SHA dependency. The next locked invocation passed using the seeded cache. - The first pair built successfully, but the installed-test receipt check found a changed SDK timer manifest. The timer manifest was updated between the two builds during the release rehearsal. Both fresh artifacts were rebuilt after the SDK stopped changing. This kept the source closure under test consistent across the pair.
Initial installed result
All five check groups passed on the pinned PocketIC. Before upgrade, the V2
client decoded the absent slot as null. After upgrade, both decoders read
the same status reply. The original client read its three fields and the V2
client also read 196,608 bytes remaining in the draft. The full 196,608-byte
stable image matched across KEEP. The frozen client appended the remaining
chunks and published 262,144 bytes. Reads returned the original fixture byte
for byte, with SHA-256 6d82beb054e54681771ea9ac6ddd475cb20de6a935a54d087913dac4ff081c50.
Each full read returned the app's maximum 65,536-byte chunk. Tests also covered
authorization, oversized chunks, duplicate offsets, incomplete publication,
duplicate publish, cancellation and capacity reuse.
The runner verified the three frozen client files against the original
SHA256SUMS. Their hashes also exactly matched the regenerated V1 files.
| Client file | SHA-256 |
|---|---|
archive.wire.ts |
bbf9d9055d8d244a96d3b6dbad28543f6ea071f90caf16f2526479827eb738e1 |
archive.wire.runtime.mjs |
d32f39b0c7a39d2bcae6222d5829e0d35707fc54aaca996423be88bbdafd6f8d |
archive.wire.codec.mjs |
a2b46dfb80c97347f131c25634f449ed215224c11b033622ce15baf379bb490a |
The fresh reader started at 17:23:30 UTC on 2026-11-28. The first build pair ran from 17:24:28 to 17:25:59. The successful warm rebuild started at 17:26:36 and took 17.6 seconds for V1 and 15.3 seconds for V2. The installed test took 10.0 seconds and finished at 17:27:20.
Both canonical wasm64-unknown-unknown receipts record the repository base
commit 1d8ed59866a47dcd54c332e4790356524873f15a and the same 1,606 SDK
input files from the release candidate working tree. The SHA-256 of those
input records is 52f23911102f49a8b887e5b33cf7812b38fb34bae64ebd6ffbdf60509a78a6ad.
The digest uses <sha256> <path-relative-to-cdk-rsx>\n lines sorted by
path. The toolchain was nightly-2026-10-15 and the PocketIC server SHA-256
was 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.
The runner checked 1,635 inputs and outputs per artifact. The prepared V1
Wasm hash was 0d7ddd4bde34f0845a028d93c40869c2e10073c3be1b0a965faf7bfc1c12d7b0.
The V2 hash was 7d9a111205261253ee78ab98a74d50d8d7c73ddd7f8871798c6202be857f83a2.
Final package-local policy replay
The final engine and Store policy changes required one more offline metadata refresh of the copied app lock. The next locked metadata check passed. Both canonical builds used fresh output directories and the same frozen SDK sources. The final builds began at 17:36:26 UTC on 2026-11-28. The V1 artifact was ready at 17:37:08, V2 at 17:37:34, and all five installed check groups passed at 17:37:45. Recorded build times were 41.2 seconds for V1 and 26.4 seconds for V2. The PocketIC runner took 10.1 seconds.
The final V1 and V2 receipts use the same base commit and toolchain as the
initial replay. The 1,606 SDK input records in each final receipt have
SHA-256 55b2242a55a416ee224abcab41ee077e8e545cc7590c9187a0ead37776f1fab7
using the same path-sorted digest recipe. The runner verified 1,635 inputs
and outputs per artifact, including these prepared Wasm hashes.
| Artifact | SHA-256 |
|---|---|
| V1 | ff8797e1715f8361d401e967459b2c3986663cae6edfb8b2e6d5605109561a74 |
| V2 | 652f8c3efd10ac6e1a09e7715914ababcdc4af65c7938e90bd1bf2b033e6a539 |
The three frozen V1 client files again matched both their original checksums
and regenerated V1. Both clients decoded the exact same upgraded status reply.
The frozen client resumed the partially committed upload and published 262,144
bytes with the same fixture hash as the initial replay. The final 196,608-byte
stable image matched before and after KEEP, with SHA-256
728cbedcee210771d237625250d4d7713458b79f36b70b72ca0b789c29994920.
Skill inputs
Freeze the generated .wire.ts, .wire.runtime.mjs and .wire.codec.mjs
together. Verify those files against the original SHA256SUMS. Build both
current canister versions with separate output directories and check their
current manifests. After KEEP, send a real request encoded by the frozen
client and pass the exact reply bytes to both decoders. Check the old tuple
prefix and the populated new slot, then resume a partly committed upload
using the old client. Compare stable bytes across KEEP and verify the finished
attachment byte by byte. Keep application lock repairs and shared SDK edits
outside a running V1/V2 artifact comparison.