Promote dev to main: vault consolidation + renderer fail-closed #76
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#76
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
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?
Promotes the vault consolidation and the renderer fix to beta (and syncs
infra/to both hosts).Detail in #75. What matters for this hop:
Merging here triggers
infra-sync.yml, which doesgit reset --hardand then re-renders/etc/thermograph.envon both prod and beta. That is the momentcommon.yamltakes effect.The sequencing is safe but worth understanding.
prod.yamlis now trimmed to 16 keys and the other 16 live incommon.yaml. A render with the trimmed file but withoutcommon.yamlpresent would write a half-empty env file.infra-syncchecks out both together before rendering, so they arrive atomically — but the verification after this merge is a key count, not a green tick.Expected after sync: prod 32 keys, beta 24 — exactly as before. The consolidation is provably value-preserving (
merged(common + env) == original, verified twice), so a different count means something went wrong and the fix is to revert this merge, not to debug forward.The renderer change makes the failure mode loud: if a host is SOPS-configured but its vault is not where the caller looked, the render now exits 1 instead of returning 0 having done nothing.