ci: run the test suite with a cached turbo on every pull request - #135
Draft
userAugustos wants to merge 21 commits into
Draft
userAugustos wants to merge 21 commits into
userAugustos wants to merge 21 commits into
Conversation
CI now runs bun run test after the checks, keeps the turbo cache between runs with actions/cache, and triggers on every pull request and on pushes to main.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #128. Stacked on #134: the base of this PR is the #134 branch, so the diff shows only this change.
Summary
bun run testafterbun run check, in the same job. A failing test fails the workflow.actions/cache, keyed on the commit with a prefix restore key. A task whose inputs did not change replays from the cache instead of running again.main. Stacked PRs now run CI without a manual dispatch. A concurrency group cancels superseded runs, as in the core image workflow.Test
mainruns the workflow.Review Focus
--affected:--affectedneeds a full-depth checkout and does not select any task for a commit that only changesuv.lock, while the cache hash includes the resolved dependency closure.Known and accepted
bun run teststops at the first failing task. Reporting every package before failing is one flag away if reviewers prefer it.