Skip to content

Batch CPU snapshot views to avoid repeated renderer setup - #311

Merged
r-barton merged 1 commit into
mainfrom
codex/batch-session-snapshots
Oct 16, 2026
Merged

r-barton merged 1 commit into
mainfrom
codex/batch-session-snapshots

Conversation

@r-barton

Copy link
Copy Markdown
Collaborator

KCL execution snapshots call session.snapshots() once per view, repeating CPU renderer setup and teardown. Batch views that share a zoom setting so a typical multi-view request uses one call. Mixed named and custom views keep their default zoom behavior in separate batches, with images and completed view names restored to request order.

Retry failed or incomplete batches one view at a time to preserve per-view errors and partial results. Cancellation still propagates without retries. Bump the MCP package and registry manifest to 0.28.12.

Addresses the snapshot batching comment on #310.

@r-barton
r-barton merged commit 75821c8 into main Oct 16, 2026
28 checks passed
@r-barton
r-barton deleted the codex/batch-session-snapshots branch October 16, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants