Repository navigation
Run the live Drive tests on one job per OS - #466
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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
getandputread and write real local files. Drive traffic per PR drops by about 80%.max-parallel: 3goes 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
lowestjob, the requiredLive Drive testscheck, and the error when the credential is missing (fork and Dependabot PRs now fail in three jobs instead of 15).CONTRIBUTING.rstdescribes the new split.Running every
test_fs.pycase on a folder-ID mount as well, on one job, is a later change, tracked in #464.🤖 Generated with Claude Code