Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(ci): typecheck only the packages a pull request affects #28820

Closedonly21mil(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/28820/headopened View on GitHub

Showing 5 changed files with 11 additions and 1 deletion (loading 2).

x
0 of 5 viewed, 5 left
2 additions and 0 deletions.github/actions/ci-changes/action.ymlModified
View file
@@ -3,6 +3,8 @@
outputs:
typecheck:
value: ${{ steps.detect.outputs.typecheck }}
+ typecheck_packages:
+ value: ${{ steps.detect.outputs.typecheck_packages }}
build:
value: ${{ steps.detect.outputs.build }}
desktop_launch:
8 additions and 1 deletion.github/scripts/ci-changes.cjsModified
View file
@@ -27,6 +27,8 @@
[/^native\/browser-secret\//, ["@t3tools/desktop"]],
[/^native\/kde-snap-shot\//, ["@t3tools/desktop"]],
[/^native\/libghostty-vt\//, ["@t3tools/web"]],
+ // apps/server typechecks the root vite.config.ts, which imports this.
+ [/^infra\/task-cache\/src\/remoteCache\.ts$/, ["t3"]],
// apps/server/src/cloud/ConnectReachability.test.ts checks the guide's headings.
[/^docs\/user\/t3-connect-troubleshooting\.md$/, ["t3"]],
];
@@ -36,6 +38,8 @@
const TEST_ONLY_DEPS = {
// Evals import the server's source to test its real model-facing text.
"@t3tools/evals": ["t3"],
+ // Orchestration tests apply events through the client projection.
+ t3: ["@t3tools/client-runtime"],
"@t3tools/provider-pi": ["@t3tools/client-runtime"],