-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Runtime deltas #4388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Runtime deltas #4388
Changes from all commits
9e9c7d2
28e71a3
06d9f47
b44f732
72e9f68
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,12 @@ impl Session { | |
| Ok(revs) | ||
| } | ||
|
|
||
| /// Stages ops computed outside the session (an incremental runtime projection) as hot ops, the | ||
| /// same way `stage_from_runtime` stages a diff's ops. | ||
| pub fn stage_computed_ops(&mut self, ops: Vec<RegistryDelta>) -> Result<Vec<HotOp>, CrdtError> { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: Prompt for AI agents |
||
| self.stage_ops(ops) | ||
| } | ||
|
|
||
| /// Apply each op as a hot op with a freshly-ticked timestamp, returning the staged frames in | ||
| /// order. Each tick is strictly later than the last, so the final frame carries the latest | ||
| /// timestamp, which is what the caller passes to `retire`. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Adding a nested-network node can leave a resource-valued network export unresolved because the scoped conversion exposes the export but the staging path only discovers resources from node inputs. Including resource references from the converted network export slots (or exposing an equivalent scoped helper) would keep structural additions self-contained.
Prompt for AI agents