Repository navigation
docs(id): dynamic user functions design (#5964) - #10746
Conversation
… pipeline, v1 instance-per-function placement (#5964) Design follow-on from triage task 15250, written after all research gates landed: #5995 Roc evidence (tracked compiler has no library/DLL output; legacy libapp.so is startup linking only — no DLL premise), #5966 per-function gas/timeouts, #5996 decision via PR #7637 (v1 = instance-per-function restart). Covers the five Done-criteria areas: interface contract (name, version, interface hash; mismatch refuses activation and keeps the previously published version), server compile pipeline (source-only C3, tracked compiler wasm32, provenance triple, persistent content-addressed cache), placement/binding (publish-then-swap, tick-boundary activation, in-flight completion, host-owned snapshot state handoff), failure fallbacks and isolation (per-function fuel inside the world per-tick budget, poisoned-instance discard), and the trust argument end-to-end (server-compiled provenance; only world-author-passed platform capabilities are non-pure). States what v1 defers and distinguishes the authoring hot-swap loop (#558/#5541).
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Design doc for #5964 (task 17477, follow-on from triage task 15250), written after all research gates landed and verified fresh:
libapp.sois startup linking only. The doc carries no DLL premise.The doc covers the issue's five Done-criteria areas: (1) interface contract — name/version/interface-hash identity, discovery via the #5967 mapping, mismatch refuses activation and keeps the previously published version (the stated default); (2) server compile pipeline — source-only (C3), tracked compiler
wasm32, provenance triple, persistent content-addressed warm cache; (3) placement/binding — publish-then-swap, tick-boundary activation, in-flight calls finish on the old instance, host-owned snapshot state handoff; (4) failure fallbacks and isolation — per-function fuel budget inside the world per-tick budget, poisoned-instance discard, uniform keep-published fallback; (5) the trust argument end-to-end — server-compiled provenance, only world-author-passed platform capabilities are non-pure. It states what v1 defers (component-model dynamic instantiation, native per-function processes) and distinguishes the authoring hot-swap loop (#558/#5541). Design only; no implementation.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit