Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): strip inapplicable nextest overrides from default profile

Steven Enamakel50d3f337a783
diff --git a/scripts/ci/nextest-coverage.sh b/scripts/ci/nextest-coverage.sh
index ed951fcbb5..fbba15b768 100644
--- a/scripts/ci/nextest-coverage.sh
+++ b/scripts/ci/nextest-coverage.sh
@@ -29,9 +29,10 @@ const metadata = JSON.parse(metadataResult.stdout);
const targets = new Set(metadata.packages.flatMap(pkg => pkg.targets.map(target => target.name)));
// Nextest validates binary predicates against the selected workspace, even
// regex predicates. A standalone Tauri workspace has none of the root CLI's
-// resource-sensitive binaries, so omit only those inapplicable overrides.
+// resource-sensitive binaries, so omit only those inapplicable overrides in
+// every profile (including the default profile used by the Tauri suite).
const source = fs.readFileSync('.config/nextest.toml', 'utf8');
-const configText = source.replace(/\n\[\[profile\.ci\.overrides\]\]\n[\s\S]*?(?=\n\[|$)/g, block => {
+const configText = source.replace(/\n\[\[profile\.(?:ci|default)\.overrides\]\]\n[\s\S]*?(?=\n\[|$)/g, block => {
const binary = block.match(/binary\(\/([^/]+)\/\)/);
const exact = block.match(/binary\(=([a-zA-Z0-9_-]+)\)/);
const present = binary