Skip to content

test: use automatic environments in app-server integration tests - #29789

Merged
anp-oai merged 2 commits into
mainfrom
codex/migrate-app-server-auto-env
Jun 24, 2026
Merged

test: use automatic environments in app-server integration tests#29789
anp-oai merged 2 commits into
mainfrom
codex/migrate-app-server-auto-env

Conversation

@anp-oai

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

Copy link
Copy Markdown
Contributor

Why

Topology-neutral app-server integration tests should exercise automatic environment selection so the same setup covers local and remote executors.

What

Migrate eligible tests to TestAppServer::new_with_auto_env() and send_thread_start_request_with_auto_env(). Leave explicit-topology tests unchanged, and skip the request-permissions case on Windows with a TODO for cross-platform tool routing.

Validation

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

Stacked on #29788.

@anp-oai
anp-oai force-pushed the codex/migrate-app-server-auto-env branch from e8319fa to 9b16dec Compare June 24, 2026 04:15
@anp-oai
anp-oai force-pushed the codex/app-server-wine-exec-prefactor branch from 1500e21 to fdfe625 Compare June 24, 2026 04:48
@anp-oai
anp-oai force-pushed the codex/migrate-app-server-auto-env branch from 9b16dec to 93f59ba Compare June 24, 2026 04:48
@anp-oai
anp-oai marked this pull request as ready for review June 24, 2026 04:52
@anp-oai

anp-oai commented Jun 24, 2026

Copy link
Copy Markdown
Contributor 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: 93f59ba3de

ℹ️ 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/suite/v2/request_permissions.rs Outdated
@anp-oai
anp-oai force-pushed the codex/app-server-wine-exec-prefactor branch from fdfe625 to d7d7af6 Compare June 24, 2026 05:10
@anp-oai
anp-oai requested a review from a team as a code owner June 24, 2026 05:10
Base automatically changed from codex/app-server-wine-exec-prefactor to main June 24, 2026 05:23
@anp-oai
anp-oai force-pushed the codex/migrate-app-server-auto-env branch from 93f59ba to 029b348 Compare June 24, 2026 05:31
@anp-oai
anp-oai merged commit c2b3e3b into main Jun 24, 2026
45 of 47 checks passed
@anp-oai
anp-oai deleted the codex/migrate-app-server-auto-env branch June 24, 2026 05:48
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 24, 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