fix(provenance): record why a resolved-secret registry became incompl… · simstudioai/sim@a554430 · GitHub
Skip to content

Commit a554430

Browse files
authored
fix(provenance): record why a resolved-secret registry became incomplete (#6478)
Incompleteness is one-way: once any guard trips, every later model projection in the run fails and the user is left with a single opaque sentence. Every guard could set it and none recorded which, in a file that imported no logger at all, so the cause could not be recovered after the fact. Name each guard with a static reason literal. Originating causes log at error because they permanently fail the run and error is the only level that survives every default the logger falls back to; reasons that merely carry an upstream fault forward log at warn so one fault does not read as several. The decrypt catch no longer discards its cause. No behaviour change. Reasons are static literals and the logged input path is block/field names; no resolved value is recorded.
1 parent 0e08a41 commit a554430

2 files changed

Lines changed: 337 additions & 28 deletions

File tree

‎apps/sim/executor/utils/resolved-secret-trace-registry.test.ts‎

Lines changed: 185 additions & 1 deletion

0 commit comments

Comments
 (0)