Cache SDKs and deduplicate build assets across matrix#9
Conversation
Extract a prepare job that builds dist/ once and shares it via artifact instead of running Node.js setup + pnpm install + build in all 8 matrix jobs. Cache the OpenWrt SDKs (pinned to 24.10.5) so subsequent runs skip the ~200MB download per architecture. Version is computed once and passed as a job output.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 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 |
CONFIG_USE_APK is BROKEN in the 24.10 SDK. Use separate SDK versions: 24.10.5 for ipk (opkg devices), 25.12.0 for apk (apk devices). Both matrices run in parallel after the shared prepare job.
Summary
preparejob that runs Node.js setup,pnpm install, andpnpm buildonce, sharingdist/via artifact to all 8 matrix jobsTest plan
run-buildlabel to trigger a PR build and verify the prepare job completes before matrix jobs startDepends on #8