Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(ci): a change to the T3 Connect troubleshooting guide runs the server test that reads it #28273

Mergedonly21mil(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/28273/headmerged by maria-rcks View on GitHub

Showing 3 changed files with 24 additions and 2 deletions.

x
0 of 3 viewed, 3 left
4 additions and 2 deletions.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/src/cloud/ConnectReachability.test.ts checks the guide's headings.
+ [/^docs\/user\/t3-connect-troubleshooting\.md$/, ["t3"]],
];
const RUST = /^native\/(resource-monitor|kde-snap-shot|hyprland-snap-shot)\//;
​
@@ -92,11 +94,11 @@
​
// [] means inert; null means unknown and requires every job.
function ownersOf(file, packages) {
- if (INERT.some((pattern) => pattern.test(file))) return [];
+ const extra = EXTRA_OWNERS.flatMap(([pattern, names]) => (pattern.test(file) ? names : []));
+ if (INERT.some((pattern) => pattern.test(file))) return extra;
// A manifest can change dependencies or versions other packages read.
if (path.posix.basename(file) === "package.json") return null;
if (RUNS_EVERYTHING.some((pattern) => pattern.test(file))) return null;
- const extra = EXTRA_OWNERS.flatMap(([pattern, names]) => (pattern.test(file) ? names : []));
// scripts/build-desktop-artifact.test.ts reads the crates' sources.
if (RUST.test(file)) return ["@t3tools/scripts", ...extra];
​
13 additions and 0 deletionsscripts/check-changed.test.tsModified
View file
@@ -17,10 +17,12 @@
import {