Skip to content

Modernize CI workflows: update actions, trim steps, speed up jobs#47

Merged
Korijn merged 2 commits into
masterfrom
claude/ci-modernize
Jul 10, 2026
Merged

Modernize CI workflows: update actions, trim steps, speed up jobs#47
Korijn merged 2 commits into
masterfrom
claude/ci-modernize

Conversation

@Korijn

@Korijn Korijn commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Roadmap PR 1 (Track A) — port of observ #182.

  • Bump all actions to latest: checkout v7, setup-uv v8.3.2 (SHA-pinned), action-gh-release v3 (SHA-pinned); upload-artifact v7 / download-artifact v8 were already current.
  • Enable uv caching keyed on pyproject.toml, with a per-Python-version suffix in the test matrix, so wheels aren't re-downloaded on every run.
  • Split lint/format into a dedicated Lint job that installs only ruff (new ruff dependency group, matching observ's layout), instead of running lint and format six times across the test matrix.
  • Remove unnecessary steps: uv sync in the build job (uv build uses an isolated build env), checkout in the publish job (release/publish only need the downloaded dist artifact), and the benchmark artifact upload.
  • Add concurrency groups so superseded pushes and PR updates cancel in-flight runs (tag builds are never cancelled).

The benchmark guard itself is untouched here — replacing it with observ's noise-robust interleaved design (observ #181/#187) is roadmap PR 2, stacked on this one.

Verified locally: uv sync --only-group ruff + uv run --no-sync ruff check + ruff format --check pass, and both workflow files parse as valid YAML.

🤖 Generated with Claude Code

https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2


Generated by Claude Code

claude and others added 2 commits July 10, 2026 21:04
- Bump all actions to latest: checkout v7, setup-uv v8.3.2 (SHA-pinned),
  action-gh-release v3 (SHA-pinned)
- Enable uv caching keyed on pyproject.toml (per-Python-version suffix
  in the test matrix) to avoid re-downloading wheels on every run
- Split lint/format into a dedicated Lint job that installs only ruff
  (a new ruff dependency group), instead of running them six times
  across the test matrix
- Remove unnecessary steps: uv sync in the build job (uv build uses an
  isolated build env), checkout in the publish job (release/publish
  only need the downloaded dist artifact), benchmark artifact upload
- Add concurrency groups so superseded pushes/PR updates are cancelled
  (except tag builds)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2
@Korijn Korijn merged commit 081c000 into master Jul 10, 2026
8 of 9 checks passed
@Korijn Korijn deleted the claude/ci-modernize branch July 10, 2026 21:06
@Korijn Korijn restored the claude/ci-modernize branch July 10, 2026 21:09
@Korijn Korijn deleted the claude/ci-modernize branch July 10, 2026 21:17
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