Skip to content

perf(ci): Cut Docker smoke-test time on large runners - #588

Open
CyMule wants to merge 2 commits into
mainfrom
perf/reduce-docker-smoke-overhead
Open

CyMule wants to merge 2 commits into
mainfrom
perf/reduce-docker-smoke-overhead

Conversation

@CyMule

@CyMule CyMule commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What

Two changes to the Docker smoke-test job:

  • Disk cleanup runs only when space is short. Cleanup is skipped when both / and Docker's storage filesystem have at least 30 GiB free. Smaller runners still clean up as before.
  • The generic PDF and .gz format checks use the one-page PDF instead of the full paper. The .gz case compresses that PDF in pytest's temp directory.
Before: cleanup 183s (with 371 GiB free) · .pdf case 175s · .pdf.gz case 191s
After:  cleanup skipped                  · both cases process a one-page PDF

Why

These checks only confirm that each file type is accepted and parsed. The full paper is still processed by the table-extraction, strategy, and parallel-mode smoke tests, so the generic format cases don't need it. All 37 cases and their explicit-MIME, inferred-MIME, and CSV assertions remain.

Validation

actionlint and Ruff pass, and all 37 smoke tests collect. Both changed cases were run against a controlled response, and the gzip decompresses byte-for-byte to the source PDF. Both disk branches (enough space and low space) were tested with mocked commands. Full timing comes from this PR's CI (baseline).

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 2 files

Shadow auto-approve: would not auto-approve because issues were found.

Re-trigger cubic

Comment thread .github/workflows/ci.yml
@CyMule
CyMule marked this pull request as draft October 2, 2026 03:55
@CyMule CyMule changed the title perf(ci): Reduce Docker smoke test overhead perf(ci): Cut Docker smoke-test time on large runners Oct 2, 2026
@CyMule
CyMule marked this pull request as ready for review October 2, 2026 16:39
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 2 files

Shadow auto-approve: would not auto-approve. This PR does not meet the repository auto-approval settings.

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant