ci: package cached research binaries - #244
Conversation
|
Warning Review limit reached
Next review available in: 52 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
| RUSTC_WRAPPER: sccache | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 |
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| - name: Cache Rust | ||
| uses: Swatinem/rust-cache@v2 |
| cache-all-crates: true | ||
|
|
||
| - name: Cache sccache | ||
| uses: actions/cache@v4 |
| run: sccache --show-stats || true | ||
|
|
||
| - name: Upload research image binaries | ||
| uses: actions/upload-artifact@v4 |
| uses: docker/setup-buildx-action@v4 | ||
|
|
||
| - name: Download research image binaries | ||
| uses: actions/download-artifact@v4 |
Change contract
When full Prediction Markets research-image smoke is selected, compile the six Linux release binaries in one cacheable Debian Bookworm job and make Docker package those exact artifacts without recompiling Rust.
Closes #236
Parent: #240
Out of scope
Dependency / merge order
Depends on merged PR #217. This is the first independent child of #240; #241 and #242 do not depend on its branch, while cloud rollout #243 waits for all three.
Focused validation
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7 -color .github/workflows/ploy-ci.yml.github/scripts/test-select-prediction-image-smoke.shgit diff --check origin/main...HEADResearch image binariesandResearch image smokejobs, which are the authoritative proof that all six prebuilt entrypoints package and the policy/alpha-harness probes pass. The local host had no Docker daemon, so those Linux image probes were not claimed locally.Rollout / rollback impact
Rollout affects only the selected CI image-smoke path. The default Docker target still source-builds for local compatibility. Rollback restores the smoke job to the default source-building Docker target; no deployed service, cloud worker, or runtime state changes.