Skip to content

Bound capability data copies - #1237

Merged
mgomes merged 3 commits into
masterfrom
mgomes/bound-capability-cloning
Sep 6, 2026
Merged

Bound capability data copies#1237
mgomes merged 3 commits into
masterfrom
mgomes/bound-capability-cloning

Conversation

@mgomes

@mgomes mgomes commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Capability adapters could duplicate shared data repeatedly without charging copy work to runtime quotas. Preserve shared children across requests and independent snapshots, and bound copying at every first-party adapter boundary.

The depth-16 shared-data fixture drops from 6.3 MB and 131,087 allocations to 7.9 KB and 39 allocations.

@mgomes

mgomes commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T22:28:50.694732Z 00c78cb Draft marked ready
🔒 Security Review Completed 2026-09-06T22:29:53.901288Z 00c78cb Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 08431e3272

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/runtime/capability_adapters.go Outdated
@mgomes

mgomes commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 00c78cbf09

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes
mgomes marked this pull request as ready for review September 6, 2026 22:28
@mgomes
mgomes merged commit 85ceeb2 into master Sep 6, 2026
10 checks passed
@mgomes
mgomes deleted the mgomes/bound-capability-cloning branch September 6, 2026 22:28
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.

1 participant