The best way to control Claude Code, Codex and more from any computer or phone
test: run marketing and KDE capture suites in CI (#21849)
Co-authored-by: Theo Browne <me@t3.gg>
Julius Marminge committed
Oct 19, 2026 at 20:33 UTC
f09b7d2631fc7e32ce90548c7ff01ead2aa7828c
3 files changed
+7
-4
.github/scripts/ci-changes.cjs
+3
-2
@@ -36,6 +36,7 @@ const EXTRA_OWNERS = [
36
// scripts/build-desktop-artifact.ts reads the GNOME extension manifest.
37
[/^apps\/desktop\/gnome-extension\//, ["@t3tools/scripts"]],
38
[/^native\/browser-secret\//, ["@t3tools/desktop"]],
39
+ [/^native\/kde-snap-shot\//, ["@t3tools/desktop"]],
40
[/^native\/libghostty-vt\//, ["@t3tools/web"]],
41
];
42
const RUST = /^native\/(resource-monitor|kde-snap-shot|hyprland-snap-shot)\//;
@@ -112,10 +113,10 @@ function ownersOf(file, packages) {
113
// A manifest can change dependencies or versions other packages read.
114
if (path.posix.basename(file) === "package.json") return null;
115
if (RUNS_EVERYTHING.some((pattern) => pattern.test(file))) return null;
116
+ const extra = EXTRA_OWNERS.flatMap(([pattern, names]) => (pattern.test(file) ? names : []));
117
// scripts/build-desktop-artifact.test.ts reads the crates' sources.
116
- if (RUST.test(file)) return ["@t3tools/scripts"];
118
+ if (RUST.test(file)) return ["@t3tools/scripts", ...extra];
119
118
- const extra = EXTRA_OWNERS.flatMap(([pattern, names]) => (pattern.test(file) ? names : []));
120
const owner = packages
121
.filter((pkg) => file.startsWith(`${pkg.dir}/`))
122
.sort((a, b) => b.dir.length - a.dir.length)[0];
apps/desktop/vite.config.ts
+2
-1
@@ -1,5 +1,5 @@
1
import "vite-plus/test/config";
2
-import { defineConfig } from "vite-plus";
2
+import { defaultInclude, defineConfig } from "vite-plus";
3
4
import { isDesktopRuntimeExternalDependency } from "../../scripts/lib/desktop-external-packages.ts";
5
import { loadRepoEnv } from "../../scripts/lib/public-config.ts";
@@ -141,6 +141,7 @@ export default defineConfig({
141
},
142
],
143
test: {
144
+ include: [...defaultInclude, "../../native/kde-snap-shot/src/*.test.ts"],
145
// The Windows lane runs workspace suites concurrently; filesystem-heavy
146
// desktop integration tests can exceed Vitest's 5 second default there.
147
testTimeout: 15_000,
apps/marketing/package.json
+2
-1
@@ -8,7 +8,8 @@
8
"dev": "node scripts/stage-install-scripts.mjs && astro dev",
9
"build": "node scripts/stage-install-scripts.mjs && astro build",
10
"preview": "astro preview",
11
- "typecheck": "astro check"
11
+ "typecheck": "astro check",
12
+ "test": "vp test run"
13
},
14
"dependencies": {
15
"@t3tools/shared": "workspace:*",