feat(ci): build pipeline improvements#225
Conversation
Hard-code workflow name to prevent cross-workflow cancellation. Only cancel in-progress for PRs, not release runs. Bump build Python from 3.11 to 3.13 to match ruff.
- Add per-entry manylinux field to linux-cross matrix - Drop powerpc64-unknown-linux-gnu (big-endian, dead platform) - Add riscv64gc-unknown-linux-gnu with manylinux 2_31 - Install libatomic1 for riscv64 builds - Add --compatibility pypi pre-upload validation
📝 WalkthroughWalkthroughThe PR modifies the GitHub Actions release-build-binaries workflow and distribution config. Key changes: concurrency group renamed to include Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/release-build-binaries.yml:
- Around line 164-167: The before-script-linux step currently installs
libatomic1 unconditionally for all linux-cross matrix entries; narrow this to
only install when the build target is riscv64 by checking the matrix platform
target (referencing before-script-linux and matrix.platform.target) and only run
apt-get update && apt-get install -y libatomic1 when matrix.platform.target
equals the riscv64 target string (e.g., "riscv64gc-unknown-linux-gnu") and
apt-get is available; update the conditional in the before-script-linux block
accordingly so other linux targets skip installing libatomic1.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 25ef0614-ee8d-448a-a0ef-cdf777f1c2e8
📒 Files selected for processing (4)
.github/workflows/release-build-binaries.ymldist-workspace.tomldocs/superpowers/plans/2026-03-12-mirror-ruff-build-pipeline.mddocs/superpowers/specs/2026-03-12-mirror-ruff-build-pipeline-design.md
Address CodeRabbit feedback: only install libatomic1 when building for riscv64gc-unknown-linux-gnu, making the intent clearer.
Summary
Adapts 6 build pipeline improvements from ruff (astral-sh/ruff) to djangofmt's release workflow:
manylinux: 2_17(or2_31for riscv64) instead ofautoto prevent silent compatibility shifts--compatibility pypivalidation: Pre-upload wheel validation on all 7 build jobspowerpc64-unknown-linux-gnu(big-endian): Dead platform, no known usersriscv64gc-unknown-linux-gnu: New target with manylinux 2_31, libatomic1, and JEMALLOC page size overrideTest plan
tag: dry-run) to confirm all matrix builds succeed