Skip to content

ci: cache cargo artifacts, parallelize jobs and tests - #128

Merged
mrvollger merged 1 commit into
mainfrom
ci/speed-up-rust-ci
Aug 13, 2026
Merged

ci: cache cargo artifacts, parallelize jobs and tests#128
mrvollger merged 1 commit into
mainfrom
ci/speed-up-rust-ci

Conversation

@mrvollger

Copy link
Copy Markdown
Member

Four low-risk CI speedups: Swatinem/rust-cache in the compiling jobs (every run previously cold-compiled the full dep tree, including rust-htslib's C build, in both Linting and Testing); remove needs: Formatting so Testing runs in parallel instead of queueing behind a 10-second job; remove --test-threads=1 (it dates to the original 2022 CI template, pre-dating the tempfile-based regression harness — current tests use unique tempfiles and read-only fixtures and run parallel-clean locally); replace the archived actions-rs/toolchain with dtolnay/rust-toolchain and bump checkout to v4. Expected effect: warm-cache Testing drops from ~7min to ~2–3min, and total PR wall-clock roughly halves. This PR's own run is the cache-priming (cold) run; the next PR shows the real timing.

🤖 Generated with Claude Code

- Swatinem/rust-cache in the compiling jobs: every run previously
  cold-compiled the full dependency tree (including rust-htslib's C
  build) three times.
- Drop 'needs: Formatting' so Testing no longer queues behind a
  10-second job.
- Drop --test-threads=1: it dates to the original 2022 CI template,
  predating the tempfile-based regression harness; current tests are
  parallel-safe (unique tempfiles, read-only fixtures).
- Replace archived actions-rs/toolchain with dtolnay/rust-toolchain and
  bump checkout to v4.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mrvollger
mrvollger force-pushed the ci/speed-up-rust-ci branch from eae4156 to ce2d6b6 Compare August 13, 2026 22:12
@mrvollger
mrvollger merged commit 45ab2e7 into main Aug 13, 2026
9 checks passed
@mrvollger
mrvollger deleted the ci/speed-up-rust-ci branch August 13, 2026 22:21
@github-actions github-actions Bot mentioned this pull request Aug 13, 2026
mrvollger pushed a commit that referenced this pull request Aug 13, 2026
## 🤖 New release

* `molecular-annotation`: 0.0.2 -> 0.0.3 (✓ API compatible changes)
* `fibertools-rs`: 0.12.1 -> 0.13.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `molecular-annotation`

<blockquote>

##
[0.0.3](molecular-annotation-v0.0.2...molecular-annotation-v0.0.3)
- 2026-08-13

### Fixed

- [**breaking**] write MA-family tags as Ma/Aq/An (SAM local-use
spelling) + legacy-tag hygiene
([#124](#124))
- leading soft clips double-counted in pyMA liftover
([#126](#126))
- MA-refactor fallout — qc, track-decorators, filter expressions,
mock-fire ([#123](#123))
</blockquote>

## `fibertools-rs`

<blockquote>

##
[0.13.0](v0.12.1...v0.13.0)
- 2026-08-13

### Fixed

- [**breaking**] write MA-family tags as Ma/Aq/An (SAM local-use
spelling) + legacy-tag hygiene
([#124](#124))
- make the Read the Docs (py-ft) build independent of the pyft Rust
build ([#127](#127))
- MA-refactor fallout — qc, track-decorators, filter expressions,
mock-fire ([#123](#123))

### Other

- cache cargo artifacts, parallelize jobs and tests
([#128](#128))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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