Skip to content

Move the check list into the workflow and download nextest - #291

Merged
soareschen merged 3 commits into
mainfrom
ci/check-list-and-nextest
Nov 8, 2026
Merged

soareschen merged 3 commits into
mainfrom
ci/check-list-and-nextest

Conversation

@soareschen

@soareschen soareschen commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

[deepseek-v4.1-flash] The nine development commands now live only in .github/workflows/tests.yml. The README's Development section duplicated them and shipped them to docs.rs, because the cgp crate's documentation includes the README, so the crate's public docs carried contributor instructions.

Approach

AGENTS.md's "run the checks before committing" rule now points at the workflow, which is the list CI runs, so the two cannot disagree.

nextest now comes from its official distribution at a pinned version instead of being built from crates.io, which drops the install cache and the compiler work from that job. The download retries a transient gateway error and falls back to building the same pinned version from
crates.io, because the distribution answered 504 for a whole run.

Impact

docs.rs no longer shows development commands. The test job downloads cargo-nextest 0.9.151 from get.nexte.st, the install the project documents, so the job needs no compiler for the tool.

The README's Development section duplicated the workflow's command list and
shipped it as the crate's docs.rs page, so the nine commands now live only in
`.github/workflows/tests.yml`, and the rule in `AGENTS.md` points there.

nextest now comes from its official distribution at a pinned version instead
of being built from crates.io, which drops the install cache and the compiler
work from that job.
@soareschen
soareschen marked this pull request as ready for review November 8, 2026 10:10
The official distribution answered 504 on the first run of the PR and the
step failed, because a single curl attempt had no retry. curl now retries the
whole request up to five times, so a transient gateway error does not fail
the job.
The official distribution answered 504 on every attempt of one run, which
failed the job even though the same download had worked minutes earlier. A
failed download now builds the same pinned version from crates.io, so an
outage of one host does not fail the suite.
@soareschen
soareschen merged commit 7272a11 into main Nov 8, 2026
11 of 12 checks passed
@soareschen
soareschen deleted the ci/check-list-and-nextest branch November 8, 2026 10:29
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