Skip to content

Refresh persisted capability roots from owner-provided configuration - #52676

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ad3a639924b348d6d5337ccc64dc8c08234276e3
Oct 9, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ad3a639924b348d6d5337ccc64dc8c08234276e3

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Refresh persisted capability roots from owner-provided configuration

Why

Resumed threads can retain stale capability root locations when the current environment supplies an explicit owner configuration. Matching roots from that configuration previously could not refresh persisted thread roots.

What changed

Refresh persisted roots from the current attachment when both the root ID and environment ID match, including roots selected by owner-provided configuration. Preserve persisted locations when no matching root is supplied, and continue using the owner's selected roots rather than the executor's shared roots.

Apply the same merge behavior to capability root inspection and per-step resolution.

Testing

Extend the remote environment regression test to cover owner-provided configurations with and without refreshed roots, including an executor root location that differs from the owner's selection.

…52676)

## Why

Resumed threads can retain stale capability root locations when the current environment supplies an explicit owner configuration. Matching roots from that configuration previously could not refresh persisted thread roots.

## What changed

Refresh persisted roots from the current attachment when both the root ID and environment ID match, including roots selected by owner-provided configuration. Preserve persisted locations when no matching root is supplied, and continue using the owner's selected roots rather than the executor's shared roots.

Apply the same merge behavior to capability root inspection and per-step resolution.

## Testing

Extend the remote environment regression test to cover owner-provided configurations with and without refreshed roots, including an executor root location that differs from the owner's selection.

GitOrigin-RevId: ad3a639924b348d6d5337ccc64dc8c08234276e3
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ad3a639924b348d6d5337ccc64dc8c08234276e3 branch from c3d2342 to aab4f96 Compare October 9, 2026 19:06
@copyberry
copyberry Bot merged commit aab4f96 into main Oct 9, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-09T19:06:48.401911Z c3d2342 PR opened
ℹ️ 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.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ad3a639924b348d6d5337ccc64dc8c08234276e3 branch October 9, 2026 19:06
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2026
@Hortulus8879
Hortulus8879 deployed to issue-triage October 9, 2026 19:07 — with Image GitHub Actions Active
@Hortulus8879
Hortulus8879 deployed to issue-triage October 9, 2026 19:07 — with Image GitHub Actions Active
@Hortulus8879
Hortulus8879 deployed to issue-triage October 9, 2026 19:07 — with Image GitHub Actions Active
@7pocheR
7pocheR deployed to issue-triage October 9, 2026 19:17 — with Image GitHub Actions Active
@7pocheR
7pocheR deployed to issue-triage October 9, 2026 19:17 — with Image GitHub Actions Active
@7pocheR
7pocheR deployed to issue-triage October 9, 2026 19:17 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — aab4f961 Deployed Oct 9, 2026 by 7pocheR via Identify potential duplicates (all issues) #53843
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants