Controller dispatch pause and Running KEEP

The SDK-generated root owns one bounded controller update for pausing and resuming outgoing dispatch. The app code and generated workflow source use their normal entry points. This experiment checks the switch while the app stays Running, including a real native Takt call with its reply held by a second canister. Dispatch control

IC execution boundary

The management interface executes the old pre-upgrade hook and new post-upgrade atomically. The old SDK checks physical callbacks, executor state, and the app's owner-specific contracts before dismantling its runtime. The new SDK opens dispatch before restoring its transient bindings and timers. A rejected install leaves the old controller switch and durable work as before. A best-effort call's timeout and the later execution of its callback are separate events. IC install specification · IC callback semantics

The upstream PocketIC 16.1.0 release identifies IC source revision e9e42a6dd74acb9049017863e944cd5799be5b2b. Its install validation has no Stopped precondition and its system-state test upgrades a Running canister while preserving its state and resetting its global timer. Those source observations are separate from local tests with the pinned executable SHA-256 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6. PocketIC 16.1.0 release · Source validation · Running upgrade source test

The pause rejects hand-written SDK calls before the system call and holds SDK timer dispatch before popping scheduled entries. Reactor preserves its outgoing bytes and permits old callbacks to retire. Takt preserves saved unattempted intents and known unaddressed replies under the opted-in exact definition. KEEP still checks for uncertainty, retry and address debt, and each participating owner validates its own retained state. The fixture deliberately freezes new physical work while the peer finishes a reply. Takt evolution · Installed probe

Checks without a workflow fixture

Stock Quickstart was built on wasm32 from clean commit 271daad4cb9b6a378d116d6ba8a3a8508609cef3, SDK tree 4ade730447e7bfd0b79d502805b282fc02838726. The pinned PocketIC run used the generated Wire client. The controller could pause, poll and resume. An outsider was refused in both directions. Local reads and writes worked while paused. A same-image Running KEEP retained the score and accepted a fresh write. The canonical manifest verified 1,884 files.

Quickstart input or output SHA-256
SDK source closure (1,600 records) f0de419f02b666840ab776a37fd542283652f6c409af899693b395f763ab6ac3
Quickstart source closure (10 records) 2094744511ec971a71ff3f78d58f2b0117452c896dbd9f292a0051bb97292c6d
Prepared Wasm 2e0048fc56d84cb60a3d34603cc1126ee6b6940d41727bffd0bda2ae36c7e6ad
Build manifest 02720d09369bebab172a2e937bd6bbbddbb13e27c78b3f7c393f5c74c4d38090
Wire descriptor 2f7aa6fda71e78386bffa7b59172480691dc6037129729c146d17ecc00d65f7a

The source closure digests use sorted SHA-256, byte count and relative path lines. The native suites exercised direct-call refusal, the generated descriptor, timer disarm and rearming in queue order, preserved Reactor frames and permits, and rejection of ineligible Takt state. The extracted release guide and both evolution skills passed the bundle's local link check.

The initial 1 KiB Wire allocation allowance from 63c6d2a30 passed the wasm32 zero-callback smoke and trapped on the wasm64 callback-status reply. The corrected endpoint keeps the 64-byte frame cap, 32-node cap and depth of eight, and uses an 8 KiB allocation allowance. The native regression encodes and decodes the same scoped reply shape at both integer maxima.

Installed workflow experiment

The V1 and V2 canisters used SDK commit 271daad4cb9b6a378d116d6ba8a3a8508609cef3 and the pending-local fixture from this experiment. Both builds used the same source and Cargo paths, pinned nightly-2026-10-15 at 7df81381d027710708209f36b98d11b1c88f8d2e, and the same 1,881-input source archive SHA-256 0c1638f664de31661f38335ed8cb0ff397d6c7101a8456c95a3eca4b2a09cdcb. The SDK source records include the pre-existing Store architecture Markdown edit at SHA-256 43fce695a48588ddf64595fd6549f88e7838b0c158659bcea364a0626eed965d. The fixture changes were in the working tree and later committed in e4858300c. The SDK and fixture source subsets have digests 3eaf689f589b1d347e817d4abb7ab6c3402b12c5f47818048e7d6bfc0a56aa1f and e887ab8e3226bfa35114ed0cf337f612e6e632287b2f3da914633597493c5c1d, respectively, using the sorted source record rule above. V2 changes the transient driver registration order and the revision query. The fixture uses the existing unchanged-definition upgrade checks and the original V1 generated client throughout. Preflight matched the effective wasm64 compiler identity 477b806f4a638ddbe6a2d7019305b35e0c209f578991f15c71efcfa5cd507fa3.

Build Prepared Wasm SHA-256 Canonical manifest SHA-256
V1 bb966a662a77328df14de62f1a1f27b5b17eab487c6951152ac28df64368eb82 94fc17c7581b55e343455284a1e82a4b6decafbff4120dc7eb8473c4a264e6ff
V2 34ec202994205d294608524f04acad8baca7f9c96b24e62d1b3ab3097420e662 72d8f9ab10c210e6674d088e1a28ac385b6795165c79ad5bb25e5aaee23ec284
  • The controller paused a Running canister while an unpaused peer held a real reply. Outsiders could neither pause nor resume. The controller saw the live callback count, and premature KEEP refused while it was live.
  • A fresh Takt request stayed queued with its original bytes and attempt zero. Direct async and one-way SDK calls reported DispatchPaused and the held timer did not fire during the pause. The old reply retired while paused. Manual resume consumed it and released the held request and timer once.
  • A second paused image held both a known Received reply and an undispatched QueuedCall. A forced restore trap preserved the old module, the pause, and both exact snapshots. The successful V2 KEEP restored Running status with dispatch open. The original client saw both workflows finish under their original identities. The peer's receive count increased from three to four, which establishes no resend of the old reply and one send of the queued request.

The five installed check groups ran in 38.7 seconds after PocketIC startup. The runner verified 1,901 files per canonical receipt. A separate run through the registered integration:dispatch-pause task built fresh artifacts and passed all five checks again from e4858300c. Fixture and direct runner

The existing ten-check pending-local fixture also passed with four builds from e4858300cbb1984787f4f9bb1e404fa982502822, all using the 1,881-input source archive 5f3796b4d4105a406008aefcd41c183745d7f68b2118735f7cc0ff0c464b11e1. The positive Wasm images matched the earlier V1 and V2 hashes. The controls rejected a changed definition, a changed namespace, a live physical callback, and an uncertain operation after the physical count reached zero. Explicit reconciliation then admitted KEEP without sending that operation again.

Matched Heavy16

The two clean checkouts ran the maintained Heavy16 CI adapter with the same locked dependencies, wasm64, default IC Wire, and qualified PocketIC binary. Both left dispatch enabled. The exact-work audit and matched comparator passed with zero warnings. The workload SHA-256 was f0fbe5b240cdc67885d1f011ac765acad36d26cf2e40a34adf4c6022539b9986.

Artifact identity Baseline Controller pause
Unified Git commit e916da112f0d24f1e473e1bb59cd2d7fce32602e 271daad4cb9b6a378d116d6ba8a3a8508609cef3
SDK Git tree 28f7634ff5ee735e2c8d0f1ed6e341852c3856fb 4ade730447e7bfd0b79d502805b282fc02838726
Canonical source closure SHA-256 683bae5e7434bbfb708747c732fff22846a209146cef765da53bc8e0a9d7867f 9a9f8813282a9199001f3125af4b14cee5b1dffba95e856807423c0ff2ca38b4
Prepared Wasm SHA-256 e8f4266dcf5b30a2b23ee7246ac09bb6bc1d2a2504dd1f7460c76c567372efa9 628e624f2af3767b69ec5b798d7a026d413d80b4d263e350ca424d41dc522b45
Audited metric Baseline Controller pause
Completed steps / workflows 594,000 / 19,200 594,000 / 19,200
Completed attempts / processed endpoint messages 202,800 / 180,000 202,800 / 180,000
Physical calls 2,418 2,418
Replicated instructions 95,979,379,853 96,001,752,503
Page-access instructions 47,787,360,000 47,787,360,000
Simulated elapsed time 28,800 ms 28,800 ms
Workflow latency p50 / p95 / maximum 4,800 / 11,400 / 18,600 ms 4,800 / 11,400 / 18,600 ms
Wasm / stable memory capacity 504,365,056 / 0 bytes 504,365,056 / 0 bytes
Prepared Wasm size 2,396,917 bytes 2,409,808 bytes

Both covered 48 rounds and 44,216 audited trace rows. The dispatch check and endpoint added 0.02331% in replicated instructions and 12,891 bytes of prepared Wasm at the measured workload. The comparison receipt SHA-256 was 50a56ce13d6a81a5e4e7f297d17b111a3f625f7086750d549d19b63dfce2f873. The test and research commits leave the measured SDK tree and RRT sources intact. Repeat the Heavy16 runs