Refuse production startup when the Heimdall app secret is blank #83
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/appsecret-empty-refusal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cuts follow-up heimdall-body:bifrost-appsecret-empty-refusal (residual of #78).
StartupConfigurationValidator, non-Development/Testing branch: a blank resolvedHeimdallOptions.AppSecret(fromAppSecretFileorAppSecret) is a startup failure naming both options, never a value.🤖 Generated with Claude Code
Soul pass on
1739d55(fresh agent): promise holds. Real WebApplicationFactory start through Program.cs: Production refuses with neither option, passes with env or file secret, whitespace refuses, empty file stops earlier in ResolveAppSecret, Dev/Testing start; mutants (delete check, IsNullOrEmpty, check in Dev branch) each fail tests; full suite 1430/1430. Two findings, both fixed in the follow-up commit: (Medium) deploy-main-to-live.md still said startup does not fail on a missing key; (Low) the no-echo test never fired the new check, renamed to what it checks. The verdict could not be admitted to Huginn because the cut carries no cut_spec/cut_report.