ci: split tests into 4 shards with fail-fast disabled#1215
Closed
yanyihan-xiaomi wants to merge 16 commits into
Closed
ci: split tests into 4 shards with fail-fast disabled#1215yanyihan-xiaomi wants to merge 16 commits into
yanyihan-xiaomi wants to merge 16 commits into
Conversation
- Use bun test --shard directly in packages/opencode instead of turbo - Run 4 parallel shards with fail-fast: false so all shards complete - Remove @mimo-ai/cli and @mimo-ai/app test tasks from turbo.json - Keep turbo for typecheck and build only
- Restore git identity for husky compatibility - Switch to test:ci script with JUnit reporter + upload artifact per shard - Bump actions/checkout to v6, actions/cache to v5, upload-artifact to v7 - Remove RUNNER_ARCH guard in setup-bun (only ubuntu CI for now)
- Simplify setup-bun action: remove baseline URL, setuptools, Windows hoisted - Bump actions: checkout@v6, cache@v5, upload-artifact@v7 - Test workflow: 4 shards, fail-fast=false, 8min timeout, JUnit artifacts - turbo.json: only keep typecheck (remove build + cli/app test tasks) - package.json: bump bun to 1.3.14
Collaborator
Author
|
Superseded by #1236 |
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.
Summary
bun test --shardfail-fast: falseso all shards run to completion even if one failspackages/opencodeinstead of via turbo@mimo-ai/cliand@mimo-ai/apptest tasks from turbo.json (only TUI is actively developed)typecheckpackageManagerfieldif: always())RUNNER_ARCHguard in setup-bun (CI is ubuntu-only)Current status
Test plan