Skip to content

Warn on conflicting capability root locations - #33435

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929
Jul 15, 2026
Merged

Warn on conflicting capability root locations#33435
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

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.

## 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
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929 branch from 88a114f to 365d702 Compare July 15, 2026 21:33
@copyberry
copyberry Bot merged commit 365d702 into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e51692ae9cd2c3a7f3c1ac50bb8446846f314929 branch July 15, 2026 21:35
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
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.

6 participants