Skip to content

test: repair integration fixtures and Windows CI timeout - #1763

Merged
mldangelo-oai merged 3 commits into
mainfrom
mdangelo/codex/post-merge-ci
Oct 19, 2026
Merged

mldangelo-oai merged 3 commits into
mainfrom
mdangelo/codex/post-merge-ci

Conversation

@mldangelo-oai

@mldangelo-oai mldangelo-oai commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The combined changes on main fail TypeScript checking because the publication tests import runTestInSubprocess twice. 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

  • Remove the duplicate publication-test import.
  • Move the fake Codex executable fixture and its default permission profile into a support module, preserving temporary-directory tracking, configuration, and cleanup.
  • Use the existing completed-scan fixture for interrupted UTF-8 ledger tests, retaining byte-preservation and no-resume assertions.
  • Format the updated executor test.
  • Increase Windows shard job time from 25 to 40 minutes. In the prior run, tests were still passing when the job limit cancelled shard 1, with five files not yet started. Individual test timeouts, shard coverage, assertions, and source-size limits remain unchanged.

Testing

  • Passed locally: plugin source compatibility checker directly from its TypeScript source; Prettier 3.9.10 for the changed files; git diff --check.
  • Passed locally for the workflow change: YAML parsing and a semantic comparison confirming only the Windows job timeout changed.
  • Previous-head hosted CI: 45 jobs passed, including types, formatting, portable plugin checks, SDK/MCP/container checks, and six Windows test shards. The remaining Windows shard reached the job limit without test failures; the Windows aggregate checks consequently failed.
  • Full local validation remains blocked by dependency availability. Require a complete passing CI run on the updated head before merging.

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

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

Copy link
Copy Markdown
Collaborator Author

@codex review

@github-actions github-actions Bot added the skip-release-notes Omit internal changes from generated release notes label Oct 19, 2026
@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 19, 2026 20:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T21:44:53.997531Z 1e937a8 Manual request
🔒 Security Review ✅ Completed 2026-10-19T21:44:22.836406Z 1e937a8 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 8322fe0f5b

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@mldangelo-oai mldangelo-oai changed the title test: fix merged publication and worker fixtures test: repair publication, multiscan, and worker fixtures Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 18f4dfe09e

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

These narrow test-only repairs preserve existing behavior and have no identified blocking issues; required CI checks must pass before merge.

No open issues 🎉

Review effort: Balanced

@alandelong-oai alandelong-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mldangelo-oai mldangelo-oai changed the title test: repair publication, multiscan, and worker fixtures test: repair integration fixtures and Windows CI timeout Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Updated head: 1e937a851964b29990b990d6aeb27904103149b3.

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.

@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 19, 2026 21:43
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 1e937a8519

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

No blocking code issues were identified, but the required complete passing CI run on the updated head remains unverified.

No open issues 🎉

Review effort: Balanced

@alandelong-oai alandelong-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mldangelo-oai
mldangelo-oai merged commit 0967b34 into main Oct 19, 2026
83 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/post-merge-ci branch October 19, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release-notes Omit internal changes from generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants