-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[codex] retain resolved environments across turns #27955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b4e6758
core: retain resolved turn environments
pakrym-oai f7c8157
core: resolve turn environments inside codex
pakrym-oai 1d4e819
core: skip unresolved turn environments
pakrym-oai 987bc42
core: update turn environments in place
pakrym-oai 1a28680
codex: fix CI failure on PR #27955
pakrym-oai 4c94d20
codex: fix CI failure on PR #27955
pakrym-oai c6481cb
codex: fix CI failure on PR #27955
pakrym-oai 7a0b15b
core: move turn environments into session services
pakrym-oai 56a40ee
core: reduce turn environment refactor churn
pakrym-oai f4c74a4
core: split thread environment initialization
pakrym-oai f5ea28c
fix(core): resolve latest thread environments eagerly
pakrym-oai b0970f9
refactor(core): simplify environment snapshot task
pakrym-oai 23d0435
fix(core): publish environment task before spawning
pakrym-oai ee62610
refactor(core): simplify snapshot task storage
pakrym-oai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converting the parent's resolved environment snapshot back to ID/cwd selections makes the child re-resolve in
Codex::spawn. If that remote ID was upserted after the turn began, the child can load AGENTS/skills and run in a different environment than the active parent context. guidanceUseful? React with 👍 / 👎.