Warn on conflicting capability root locations - #33435
Merged
copyberry[bot] merged 1 commit intoJul 15, 2026
Merged
Conversation
## Why Selected capability roots are deduplicated by ID. When ready environments report the same ID with different locations, silently dropping later roots hides the conflict. ## What changed Track each selected root's location while combining thread and ready-environment roots. Keep the first root for a duplicate ID and emit a warning when a later root uses a different location. ## Testing Add a regression test with two ready environments that verifies the first location is retained and the conflict warning is logged. GitOrigin-RevId: e51692ae9cd2c3a7f3c1ac50bb8446846f314929
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929
branch
from
July 15, 2026 21:33
88a114f to
365d702
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929
branch
July 15, 2026 21:35
chouchunming
temporarily deployed
to
issue-triage
July 15, 2026 22:17 — with
GitHub Actions
Inactive
chouchunming
temporarily deployed
to
issue-triage
July 15, 2026 22:17 — with
GitHub Actions
Inactive
chouchunming
temporarily deployed
to
issue-triage
July 15, 2026 22:17 — with
GitHub Actions
Inactive
chouchunming
temporarily deployed
to
issue-triage
July 15, 2026 22:18 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warn on conflicting capability root locations
Why
Selected capability roots are deduplicated by ID. When ready environments
report the same ID with different locations, silently dropping later roots
hides the conflict.
What changed
Track each selected root's location while combining thread and ready-environment
roots. Keep the first root for a duplicate ID and emit a warning when a later
root uses a different location.
Testing
Add a regression test with two ready environments that verifies the first
location is retained and the conflict warning is logged.