Repository navigation
Conversation
cbce980 to
03720df
Compare
1a49cc2 to
319ece7
Compare
03720df to
56f2fae
Compare
319ece7 to
f00d99e
Compare
56f2fae to
020332a
Compare
f00d99e to
b6b82fe
Compare
020332a to
df3fe06
Compare
b6b82fe to
670abee
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 670abeef11
ℹ️ 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".
| LifecycleBackend::Classic => { | ||
| TestAppServer::builder() | ||
| .with_codex_home(&codex_home) | ||
| .without_auto_env() |
There was a problem hiding this comment.
Exercise lifecycle tests in the selected environment
When the app-server suite is run with CODEX_TEST_ENVIRONMENT=docker or wine-exec, this fixture disables the automatic environment and later starts the thread without send_thread_start_request_with_auto_env, even though the plugin root, script, and cwd are host-local temp paths. That means the remote app/exec-server matrix either runs this shell lifecycle path on the host or would fail to resolve those paths instead of validating the selected executor; use the auto-env helpers with target-native fixtures, or explicitly skip_if_remote! for these local-only lifecycle cases.
AGENTS.md reference: AGENTS.md:L252-L258
Useful? React with 👍 / 👎.
670abee to
57ad2a3
Compare
df3fe06 to
237ee85
Compare
|
Superseded by openai/codex-internal#1392 after the Codex source-of-truth migration. The internal replacement preserves this stack position and carries the validated review fixes. |
What
Add app-server JSON-RPC E2E coverage for shell plugin-script lifecycle analytics, including sandbox-denial retry identity and local-only remote-environment guards.
Why
This validates Phase 1 lifecycle metrics from Codex Plugin Metrics.
Stacked on #31856.
How
I tested this
just fmt— passedjust fix -p codex-core-plugins -p codex-plugin -p codex-analytics -p codex-core -p codex-features -p codex-app-server -p codex-windows-sandbox— passed (stack-wide scoped lint gate)just argument-comment-lint— passedjust test -p codex-app-server plugin_script_lifecycle— passed (4/4)CODEX_TEST_ENVIRONMENT=docker CODEX_TEST_REMOTE_ENV_CONTAINER_NAME=dummy just test -p codex-app-server plugin_script_lifecycle— passed (4/4; confirms local-only guards return before fixture setup)just test— attempted; the local workspace build stopped before tests because the runner lacks systemlibcapfor unrelatedcodex-bwrap. Exact-head CI provides the full Linux/macOS/Windows matrix.