Repository navigation
Conversation
6252b89 to
03a2d6f
Compare
cbce980 to
03720df
Compare
03a2d6f to
2f0dc16
Compare
03720df to
56f2fae
Compare
2f0dc16 to
3ac7ca3
Compare
56f2fae to
020332a
Compare
3ac7ca3 to
78d3222
Compare
020332a to
df3fe06
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df3fe0692f
ℹ️ 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".
| .as_ref() | ||
| .unwrap_or(session_shell.as_ref()); | ||
| let shell_snapshot_location = req.turn_environment.shell_snapshot(&req.cwd); | ||
| let plugin_script = self |
There was a problem hiding this comment.
Add integration coverage for lifecycle emission
This new shell-runtime lifecycle path is the first code that resolves and emits plugin-script execution events from actual shell runs, but the commit only adds a unit test for map_exec_result; there is no integration coverage exercising a shell command through the orchestrator for completed, interrupted, or sandbox-denied retry cases. Because this changes agent execution behavior and the analytics emitted from shell commands, a regression here would corrupt plugin lifecycle metrics without being caught; please add an integration test around a real shell_command invocation.
AGENTS.md reference: AGENTS.md:L112-L117
Useful? React with 👍 / 👎.
df3fe06 to
237ee85
Compare
78d3222 to
05f457c
Compare
|
Superseded by openai/codex-internal#1391 after the Codex source-of-truth migration. The internal replacement preserves this stack position and carries the validated review fixes. |
What
startedonly after spawn and translate user cancellation tointerrupted.Why
Phase 1 lifecycle metrics need trusted plugin scripts executed through shell runtimes to emit best-effort lifecycle events without changing command behavior.
Enhancement design: Codex Plugin Metrics
Stacked on #31855.
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-core shell::unix_escalation— passed (21/21)just test -p codex-app-server plugin_script_lifecycle— passed (4/4)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.