File-sourced configuration paths have never been audited for silent defaults #290
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Raised by the review of #289.
The config-matrix audit that produced #283 covered all 13 ENVIRONMENT VARIABLES across absent / set-and-valid / set-but-invalid, and found two iron-rule violations, both now fixed. It did not cover configuration that arrives via the FILESYSTEM.
Unaudited paths, at least: the
DATA_DIRlock file, the SQLite open paths across all three tiers, and the vendored-asset manifest. The question for each is the same one the env audit asked — when the input is present but unusable, does the process abort naming the path, or does it quietly proceed on a default?.envwas one instance of this class and it was silently discarded in full, so the class has already produced one real defect. That is the reason to look rather than assume.Definition of done
.envand theMETRICS_*pair behaved differently.Not milestoned. The env-variable half of this class is closed, and nothing here is known to be broken — this is looking where nobody has looked yet, in a class that has already yielded one defect.