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

Commit fbc6521

Browse files
committed
fix(provenance): record why a resolved-secret registry became incomplete
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 cdeb83d commit fbc6521

2 files changed

Lines changed: 262 additions & 28 deletions

File tree

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

Lines changed: 139 additions & 1 deletion

0 commit comments

Comments
 (0)