Pending local-work KEEP probe
This qualification canister retains unchanged workflow work across KEEP. Its
scoped operations supply the source contract on the generated Bindings
implementation, and the root includes that same contract. The
graph defines the local wait and native call.
Native schemas, the compiler class and retained anchors remain strictly
admitted. Takt KEEP authoring
Run from a release
Use the release build
with example=takt-pending and the default features for the simulated production
V1. Build the revision2 candidate from the same application directory and
keep the original V1 artifact and client. Use the
local host setup
to set host and POCKET_IC_BIN.
python3 "$sdk/tools/build-app.py" --manifest-path "$run/app/Cargo.toml" \
--name takt-pending --features revision2 --offline --locked \
--out-dir "$run/artifacts-v2" >"$run/build-v2.log" 2>&1
node "$host/dispatch/pause-lifecycle.mjs" --consumer \
--v1="$run/artifacts/takt-pending" --v2="$run/artifacts-v2/takt-pending" \
--pocket-ic="$POCKET_IC_BIN" --output="$run/dispatch-result"
The runner populates V1, pauses new dispatch with physical work outstanding, then upgrades after the physical reply retires. It verifies the retained queued work and automatic dispatch resume through the original client. The workflow definition stays the same between the two builds.
Qualify source admission from the checkout
launch(absolute_ns) saves a local wait. launch(u64::MAX) sends a real native
self-call. Fixture controls can hold its physical handler, trap its reply mapper,
or trap after new-code retained rebinding. These are deliberate test controls.
The revision2 feature changes only an unrelated public revision method and
reverses transient workflow/inert-driver registration. bad-definition changes
terminal behavior under the same graph shape and is rejected by its compiled
source contract before root interpretation. bad-namespace deliberately keeps
the same graph/source contracts but binds namespace 2; the runtime's cached
namespace-bound identity rejects it before the controller can arm. Build all four variants with the
canonical SDK builder, then run tests/pocketic/pending-local-lifecycle.mjs with
--runtime-root, --output, --pocket-ic, --v1, --v2, and
--bad-definition, and --bad-namespace artifact stems. Set
CDK_RSX_WIRE_RUNTIME="$V1_STEM.wire.runtime.mjs" with an absolute V1 stem.
Use the pinned JS modules and server from the
upgrade review.
Rehearse the dispatch pause
Use python3 tools/test.py run --task integration:dispatch-pause to build
V1 and revision2 and run the
dispatch pause rehearsal.
It installs two canisters so the peer can hold a real physical callback while
the target pauses. It checks controller authorization, queued request bytes,
raw-call and timer admission, manual resume, failed restore, and automatic
resume after a successful Running KEEP.
To replay existing canonical artifacts, pass their original stems.
node tests/pocketic/dispatch/pause-lifecycle.mjs \
--pocket-ic="$POCKET_IC_BIN" --v1="$V1_STEM" --v2="$V2_STEM" \
--output="$RSX_TRIAL/dispatch-result"
This is not active definition migration, unresolved remote-work restoration or cross-compiler qualification. Never use the fixture controls as an application authoring pattern.