@galda/cli 0.10.47 → 0.10.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/engine/lib.mjs +9 -1
- package/package.json +1 -1
package/engine/lib.mjs
CHANGED
|
@@ -1086,7 +1086,15 @@ export function parseReviewSummary(raw, fallback = {}) {
|
|
|
1086
1086
|
};
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
|
|
1089
|
+
// A change is "doc-only" (skip the project test suite) when every file is
|
|
1090
|
+
// documentation. EVERYTHING under docs/ counts — not just .md: docs/ holds design
|
|
1091
|
+
// mockups (docs/design/**/*.html), handoffs, and images that the engine's tests
|
|
1092
|
+
// never import, so running the 58-file suite for them is pure waste. Before this,
|
|
1093
|
+
// only docs/**.md|mdx|txt was excused, so a CDO design-lab goal editing a single
|
|
1094
|
+
// docs/design/*.html re-ran the whole engine suite in its worktree and sat in
|
|
1095
|
+
// `running` ("Working on it") for 20+ minutes on a busy machine (dogfood 2026-07-24,
|
|
1096
|
+
// goal-632). Plus top-level README/CHANGELOG/LICENSE and any *.md/*.txt anywhere.
|
|
1097
|
+
const DOC_ONLY_RE = /(^|\/)(README|START-HERE|CHANGELOG|LICENSE)(\.[\w.-]+)?$|(^|\/)docs\/|\.mdx?$|\.txt$/i;
|
|
1090
1098
|
export function hasTestRelevantChanges(changedFiles) {
|
|
1091
1099
|
const files = (changedFiles ?? []).map((f) => String(f ?? '').trim()).filter(Boolean);
|
|
1092
1100
|
if (!files.length) return true;
|
package/package.json
CHANGED