Repository navigation
fix: harden inventory lending and production recovery (0.6.0) - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inventory 0.6.0 fixes lending and handover allowance races with consistent transaction locks, rejects private mapped-IPv6 webhook targets, and repairs mobile transfer/receipt layouts. The standalone PostgreSQL/Redis/private Silo stack retains BullMQ workers and beat for email and notifications.
The production installer and recovery flow now work with private 700/600 source inputs, stage PostgreSQL bootstrap files under its runtime UID, preserve isolated migration tools and Sharp, remove unused npm/npx, and replace the public schema transactionally during restore. Full backups precreate their encrypted output to avoid the reproduced GNU tar directory race. The independent Cloudflare cron dependency tree is audited and bundled without credentials.
Validation completed:
See docs/PRODUCTION_AUDIT_2026-10-29.md and docker/caddy/README.md. The user accepted local clean-stack verification; new-VM/firewall/public DNS/TLS, real providers and offsite restore checks remain deployment-specific rollout gates. Merge this PR into dev after its successful checks, followed by a checked dev-to-main release PR. No live production data was used.