Skip to content

Run the live Drive tests on one job per OS - #466

Merged
shcheklein merged 1 commit into
mainfrom
live-tests-on-three-jobs
Dec 5, 2026
Merged

shcheklein merged 1 commit into
mainfrom
live-tests-on-three-jobs

Conversation

@shcheklein

Copy link
Copy Markdown
Member

All 15 test jobs (Python 3.11–3.15 on Ubuntu, macOS and Windows) ran the live Drive suite against one Drive account. With a few PRs in CI at once, Drive's per-minute quota ran out and live tests failed with no bug behind them. On 2026-12-03, #450, #455, #458, #459, #461 and #463 each needed a rerun for that reason.

Now the live suite runs on three jobs, one per OS:

Job Why this one
Ubuntu, Python 3.11 already installs the oldest supported fsspec (2024.2.0), so live tests keep covering it
macOS, Python 3.13 middle Python
Windows, Python 3.15 newest Python

Drive behaves the same whatever Python calls it, and our own Python-version differences are covered by the offline suite, which still runs on all 15 jobs. Live tests stay on every OS, because get and put read and write real local files. Drive traffic per PR drops by about 80%.

max-parallel: 3 goes too. It has been there since 2021 (it started at 1, and #400 raised it to 3) to keep the shared Drive account's load down, and now it would only delay the offline-only jobs. The three live jobs now run at the same time, the same live concurrency as before. The live part of a run finishes in one round of about 8 minutes instead of five.

Unchanged: the lowest job, the required Live Drive tests check, and the error when the credential is missing (fork and Dependabot PRs now fail in three jobs instead of 15). CONTRIBUTING.rst describes the new split.

Running every test_fs.py case on a folder-ID mount as well, on one job, is a later change, tracked in #464.

🤖 Generated with Claude Code

All 15 matrix jobs ran the live suite against one Drive account, so CI kept
running out of Drive's per-minute quota. The offline suite still runs on
every job. Ubuntu 3.11 keeps the live run on the oldest supported fsspec.
max-parallel only spread the live load, so it goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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

No active review issues are reported for the live-test matrix and documentation changes.

No open issues 🎉

What changed in this PR

Reduces shared Drive quota usage by running live tests on one job per OS, while keeping offline tests on all 15 matrix jobs.

Changes:

  • Selects Ubuntu/Python 3.11, macOS/3.13, and Windows/3.15 for live tests.
  • Removes the three-job parallelism limit.
  • Documents the split and unchanged missing-credential failures.
File Description
CONTRIBUTING.rst Documents live-test coverage and external PR behavior.
.github/​workflows/​test.yml Selects three live-test jobs and removes the parallelism limit.

Review effort: Balanced

@shcheklein
shcheklein marked this pull request as ready for review December 5, 2026 06:39
@shcheklein
shcheklein merged commit dc2210e into main Dec 5, 2026
25 checks passed
@shcheklein
shcheklein deleted the live-tests-on-three-jobs branch December 5, 2026 06:39
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.

2 participants