Promoted Chat and basic Rechain: actual Wasm smoke
PASS: both example canisters build through the normal SDK pipeline and pass public business calls plus one drained, same-artifact KEEP each. This is two small lifecycle scenarios, separate from the SDK, arena and callback gate counts. It is not a Chat benchmark or a general changed-layout upgrade qualification.
Build source is frozen b27e72543de5a6f9615cdaad559c7472a661f359. No application,
library or schema source changed during qualification. Both full workspace
metadata checks used --locked --offline; each canonical build generated a
fresh native Wire descriptor, compiled the actual wasm64 physical certificates,
prepared the sole closed-catalog startup path and passed check-wire.
| Artifact | Wasm bytes | Build seconds | SHA-256 |
|---|---|---|---|
| Chat | 1,750,951 | 52.10 | dd5b7177a216a1c3f064e217a30227a2551bb9a2369eeff4b2f276c04cd5e4ec |
| Basic Rechain | 1,119,154 | 9.82 | 5ddd4b11b199150ce88a860ebf017320806b422dcadf6ec94fc6072adf229bc5 |
Both source guards compare the same 582 files. The identical source archive is stored once. The runner independently checked 596 source/output records for each build before using its generated Wire interface and final Wasm.
The basic scenario rejects zero increment, commits a counter increment and an object, reads both permanent blocks, drains and upgrades. It then observes the same counter/object and commits another increment at the next block index.
The Chat scenario populates one local user/channel/membership, sends a message through the generated Takt workflow and checks its completed result and exact binary body. After drain and KEEP, history, membership and result remain intact; a fresh workflow commits the next sequence. It sends no cross-canister message.
The checked runner used the existing Wire codec/client and PocketIC session
helper, with the pinned server binary 1fc9e6f58f7b329a0deb0c1944306a74625293fa56decf9df653ba8ec41fa45c
at http://127.0.0.1:42653. Its owned instance /instances/111 was deleted in
finally; the shared server was left running. An initial ad-hoc attempt stopped
at a host assertion that omitted the public get_blocks Result wrapper. The
host assertion was corrected; the canister artifacts were unchanged.
Reproduce the two canonical builds from that source using an exclusively leased target directory and the pinned environment:
source ver1/tools/env.sh
python3 ver1/tools/build-app.py --manifest-path rrt/examples/chat/Cargo.toml --offline --locked --out-dir rrt/tmp/perf-round12/promotion/chat
python3 ver1/tools/build-app.py --manifest-path rrt/examples/rechain-basic/Cargo.toml --offline --locked --out-dir rrt/tmp/perf-round12/promotion/basic
RRT_PIC_SERVER_URL=http://127.0.0.1:42653 node rrt/research/qualification/native-promotion-2026-10-20/examples/smoke.mjs --source-root="$PWD" --output="$PWD/rrt/tmp/perf-round12/promotion" --pocket-ic="$POCKET_IC_BIN"
receipt.json frames the artifact and file hashes; result.json records the final actual-IC result; smoke.mjs is its exact runner. Compressed manifests, build receipts, logs and the shared source archive are adjacent. Wasm binaries remain in the ignored output directories identified by the receipt.