mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-10-11 02:18:46 +02:00
feat: surface startup and preflight failures (#454)
* fix: surface pre-workflow worker failures instead of dying silently * feat: clearer, aggregated config rule validation errors * fix: preserve blank lines when printing startup errors * feat: hold start until preflight passes and surface its failure * fix: cleaner formatting for scan-start failure messages
This commit is contained in:
1 parent
d41d52f17d
commit
2786f9aa2d
6 files changed
+311
-138
No files matched your search
@@ -55,6 +55,13 @@ export const SARIF_FILENAME = 'report.sarif';
|
||||
/** Deterministic receipt for the canonical report finalization commit. */
|
||||
export const REPORT_FINALIZATION_MANIFEST_FILENAME = 'report_finalization_manifest.json';
|
||||
|
||||
/**
|
||||
* Reason for a pre-workflow failure (bad config, resume mismatch, worker setup), written under
|
||||
* INTERNAL_DIR for the CLI to surface — at that point Temporal has no record of the run. Must
|
||||
* match STARTUP_ERROR_FILENAME in the CLI package.
|
||||
*/
|
||||
export const STARTUP_ERROR_FILENAME = 'startup-error.json';
|
||||
|
||||
/**
|
||||
* Resolve the session.json path for a run directory, preferring the current
|
||||
* `.shannon/` location and falling back to the legacy run-root location so
|
||||
|
||||
Reference in new issue
Block a user