Skip to content

unified-exec: retain PathUri in command events#28780

Merged
anp-oai merged 3 commits into
mainfrom
codex/unified-exec-path-uri-events
Jun 18, 2026
Merged

unified-exec: retain PathUri in command events#28780
anp-oai merged 3 commits into
mainfrom
codex/unified-exec-path-uri-events

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Why

App-server must report command events containing foreign-platform paths without changing existing client or rollout path-string formats.

What changed

  • retain PathUri through exec command begin/end events
  • convert cwd values to LegacyAppPathString at the app-server compatibility boundary
  • drop command actions with foreign paths and log them
  • serialize rollout-trace cwd values using their inferred native path representation
  • restore Wine coverage for retained Windows cwd values and successful completion

Base automatically changed from codex/unified-exec-path-uri to main June 17, 2026 19:36
@anp-oai anp-oai force-pushed the codex/unified-exec-path-uri-events branch from 88553e0 to a9753c0 Compare June 17, 2026 19:56
@anp-oai anp-oai force-pushed the codex/unified-exec-path-uri-events branch 4 times, most recently from e77b52c to 77b4c91 Compare June 17, 2026 21:56
@anp-oai anp-oai changed the title [codex] unified-exec: retain PathUri in command events unified-exec: retain PathUri in command events Jun 17, 2026
@anp-oai anp-oai force-pushed the codex/unified-exec-path-uri-events branch 2 times, most recently from 8f4f0d3 to 452ef2a Compare June 17, 2026 22:25
@anp-oai anp-oai marked this pull request as ready for review June 17, 2026 22:49
@anp-oai anp-oai requested a review from a team as a code owner June 17, 2026 22:49
@anp-oai

anp-oai commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

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

Copy link
Copy Markdown
Contributor

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: 452ef2a696

ℹ️ 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 codex-rs/app-server-protocol/src/protocol/item_builders.rs Outdated
Comment thread codex-rs/utils/path-uri/src/api_path_string.rs
Comment thread codex-rs/tui/src/chatwidget.rs
Comment thread codex-rs/tui/src/chatwidget.rs Outdated
Comment thread codex-rs/app-server-protocol/src/protocol/event_mapping.rs Outdated
Comment thread codex-rs/app-server-protocol/src/protocol/item_builders.rs Outdated

@pakrym-oai pakrym-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we make individual items slightly wrong instead of fully skipping them?

anp-oai added a commit that referenced this pull request Jun 18, 2026
@anp-oai

anp-oai commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Should we make individual items slightly wrong instead of fully skipping them?

Yeah very reasonable for these events that aren't involved in e.g. sandboxing decisions. Moved the PR to mostly failing open.

anp-oai added a commit that referenced this pull request Jun 18, 2026
@anp-oai anp-oai force-pushed the codex/unified-exec-path-uri-events branch from ba64b63 to 77e063d Compare June 18, 2026 04:35
@anp-oai anp-oai enabled auto-merge (squash) June 18, 2026 04:35
@anp-oai anp-oai disabled auto-merge June 18, 2026 04:48
@anp-oai anp-oai force-pushed the codex/unified-exec-path-uri-events branch from 77e063d to d8d296c Compare June 18, 2026 04:50
@anp-oai anp-oai enabled auto-merge (squash) June 18, 2026 04:52
@anp-oai anp-oai merged commit 3931bc2 into main Jun 18, 2026
31 checks passed
@anp-oai anp-oai deleted the codex/unified-exec-path-uri-events branch June 18, 2026 05:00
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants