mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-09 14:38:59 +02:00
fix(build): a failed agents-digest regen fails gen-skill-docs instead of deferring the red to CI
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
752aa18a05
commit
ba8edb1d42
@@ -1158,6 +1158,9 @@ if (!DRY_RUN) {
|
||||
} catch (err) {
|
||||
const msg = err instanceof Error ? err.message : String(err);
|
||||
console.error(`[gen-agents-digest] FAILED: ${msg}`);
|
||||
// The digest is a committed freshness-gated artifact: a local build
|
||||
// that silently ships it stale defers the red to CI. Fail the build.
|
||||
process.exitCode = 1;
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user