This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit b1b76e0
committed
ci(type-check): the affected speed builds the packages the repo-root setup program imports (objectui#12272)
Since objectui#12222 a pull request or queue build type-checks only the
affected set, `pnpm type-check --filter=...[BASE]`. A change outside every
package selects zero packages, so nothing built and the root step
`pnpm type-check:vitest-setup` failed to resolve the five workspace
packages the root `vitest.setup.*` files import (four TS2882, one
TS2307; PR #12262). A non-empty affected set can lack them too: a change
to `packages/plugin-ai` alone leaves fields, plugin-dashboard and
plugin-grid unbuilt.
A new step between `Run type-check` and the root program, on the affected
speed only, runs `turbo run build` for those packages (replayed from the
restored cache when unchanged). Which packages is read on every run out
of `tsconfig.vitest-setup.json`'s `paths` by
`scripts/select-type-check-scope.mjs --root-builds`, never copied. Adding
the names to the type-check filter instead was measured and does not
work: that task waits on `^build` and builds no named package's own
declarations. `push` and `schedule` are unchanged.
Claude-Session: https://claude.ai/code/session_01LqNgdPZB2Jnr5HpGbaqLeB
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7af0ab3 commit b1b76e0
4 files changed
Lines changed: 229 additions & 6 deletions
File tree
- .github/workflows
- content/docs/guide
- scripts
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
773 | 813 | | |
774 | 814 | | |
775 | 815 | | |
| |||
785 | 825 | | |
786 | 826 | | |
787 | 827 | | |
788 | | - | |
789 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
790 | 832 | | |
791 | 833 | | |
792 | 834 | | |
| |||
0 commit comments