Skip to content

app-server: cover selected environments in integration tests - #29992

Merged
anp-oai merged 8 commits into
mainfrom
codex/app-server-selected-environment-tests
Jul 7, 2026
Merged

app-server: cover selected environments in integration tests#29992
anp-oai merged 8 commits into
mainfrom
codex/app-server-selected-environment-tests

Conversation

@anp-oai

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

Copy link
Copy Markdown
Contributor

Why

Now that basic cross-OS app/exec support is wired up, it's time to clean up the tech debt of the remote_env_windows test and make sure its test logic is covered in more maintainable feature-specific tests.

What

  • Add focused app-server tests for target-native AGENTS.md sources and content, plus shell and cwd context, while preserving explicit TODO baselines for the remaining host-scoped metadata.
  • Add a TestAppServer helper that waits for and returns the matching typed turn completion.
  • Remove redundant app-server coverage and dependencies from remote_env_windows while retaining its exec and apply-patch smoke coverage. A follow-up will remove these.

Validation

  • just test -p codex-app-server
  • bazel test //codex-rs/app-server:app-server-all-wine-exec-test --test_output=errors
  • bazel test //codex-rs/core/tests/remote_env_windows:smoke-test --test_output=errors

Comment thread codex-rs/app-server/tests/suite/v2/selected_environment.rs
anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jun 25, 2026
@anp-oai
anp-oai marked this pull request as ready for review June 25, 2026 06:49
@anp-oai
anp-oai requested a review from a team as a code owner June 25, 2026 06:49
@anp-oai

anp-oai commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 3884b6f6b3

ℹ️ 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".

anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jun 25, 2026
@anp-oai
anp-oai force-pushed the codex/app-server-selected-environment-tests branch from 3884b6f to 0579fb3 Compare June 25, 2026 23:59
anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jun 25, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
@anp-oai
anp-oai force-pushed the codex/app-server-selected-environment-tests branch from 0579fb3 to 9080bad Compare July 6, 2026 19:22
@anp-oai

anp-oai commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 9080bad18d

ℹ️ 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/tests/common/test_app_server.rs
Comment thread codex-rs/app-server/tests/suite/v2/selected_environment.rs Outdated
Comment thread codex-rs/app-server/tests/suite/v2/selected_environment.rs Outdated
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
anp-oai added a commit that referenced this pull request Jul 6, 2026
@anp-oai
anp-oai force-pushed the codex/app-server-selected-environment-tests branch from d2b85ef to 1799c80 Compare July 6, 2026 23:35
@anp-oai
anp-oai force-pushed the codex/app-server-selected-environment-tests branch from 32b504c to e4c3646 Compare July 7, 2026 00:33
@anp-oai
anp-oai enabled auto-merge (squash) July 7, 2026 00:33
@anp-oai
anp-oai merged commit 8a18312 into main Jul 7, 2026
35 checks passed
@anp-oai
anp-oai deleted the codex/app-server-selected-environment-tests branch July 7, 2026 00:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 7, 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.

2 participants