Repository navigation
test: repair integration fixtures and Windows CI timeout - #1763
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
🟢 Approval recommended
The straightforward test-only extraction preserves existing behavior, with no identified blocking issues; CI validation remains required before merge.
No open issues 🎉
What changed in this PR
Repairs test integration failures without changing production behavior or permission settings.
Changes:
- Removes the duplicate publication-test import.
- Extracts the fake Codex fixture and default permission profile to reduce the executor test file’s size while preserving cleanup behavior.
| File | Description |
|---|---|
| sdk/typescript/tests-ts/publish.test.ts | Removes the duplicate subprocess-helper import. |
| plugins/codex-security/mcp-app/tests/test_deep_scan_executor.ts | Uses the extracted fixture with existing temporary-directory tracking. |
| plugins/codex-security/mcp-app/tests/support/fake-codex-fixture.ts | Houses the fixture and default permission profile. |
Review effort: Balanced
|
@codex review The latest commit updates the interrupted-ledger tests to use the existing completed-scan fixture while preserving their byte-level recovery assertions, and fixes executor-test formatting. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for the focused integration repairs. No blocking findings in this owner-level merge-safety review of 18f4dfe09e68. The fixture extraction preserves configuration, executable permissions and cleanup; the ledger tests retain their byte-preservation and no-resume assertions while supplying a valid completed-scan fixture. Production behavior is unchanged.
Verified: all 99 publication tests, a direct fake-Codex fixture smoke covering default/custom preflight and fresh/resumed execution, typechecking, SDK/MCP formatting, plugin build, Ruff, and the portable source checks plus their 9 tests. The native build payload matches the reviewed native sources and toolchain.
Local integration limitation: all 7 selected interrupted-ledger cases and the full worker-executor test stop at existing temporary-directory ownership checks in this environment. Those guards are identical to the base; I did not bypass them. The full hosted CI matrix is still running, so this review does not claim those suites passed.
|
@codex review Updated head: The prior run passed 45 jobs, but Windows shard 1 hit the 25-minute job timeout while tests were still passing, with five files not yet started. This update raises only that job's limit to 40 minutes. Existing per-test timeouts, assertions, coverage, and source-size limits are unchanged. Prettier, YAML parsing, semantic comparison of the workflow, and diff checks passed locally. The updated CI run must complete before merge. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for the focused integration repairs. No blocking findings in this owner-level merge-safety review of 1e937a851964b. The fixture extraction preserves configuration and cleanup, and the interrupted-ledger cases retain byte-preservation and no-resume assertions. The Windows job limit increases from 25 to 40 minutes; per-test deadlines, shard coverage and production behavior are unchanged.
Verified locally: 99 publication tests, 22 shard-runner tests, default/custom fake-Codex preflight and fresh/resumed execution, typechecking, changed-file formatting, plugin build, Ruff, portable source checks and their 9 tests, actionlint/ShellCheck, and a parsed workflow comparison confirming only the job timeout changed. The cached native payload matches the reviewed native sources and toolchain.
The prior Windows shard log shows no failed tests before the job timed out, with five files still unstarted. Local ledger and full executor tests remain limited by unchanged temporary-directory ownership guards. The updated hosted matrix is still running; its Windows completion remains the outstanding validation for the timeout increase.
Summary
The combined changes on main fail TypeScript checking because the publication tests import
runTestInSubprocesstwice. The Deep Scan executor test file exceeds the existing source-size limit, and interrupted-ledger tests use placeholder artifacts rejected by completed-scan validation. The expanded Windows suite also outgrows its job timeout.Changes
Testing
git diff --check.Risk and rollout
Test and CI integration repair. No production behavior, public CLI surface, permission settings, or source-file limits change. A stuck Windows shard can now consume up to 15 additional runner minutes; individual tests keep their existing timeout.
Public disclosure review