Skip to content

fix: harden inventory lending and production recovery (0.6.0) - #5

Merged
Shaan-Shoukath merged 6 commits into
devfrom
fix/production-audit-2026-10-29
Oct 29, 2026
Merged

Shaan-Shoukath merged 6 commits into
devfrom
fix/production-audit-2026-10-29

Conversation

@Shaan-Shoukath

@Shaan-Shoukath Shaan-Shoukath commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • 1,320 Linux unit tests and 189 PostgreSQL integration tests, zero skips; lint/types/builds and 73 deployment checks.
  • Production browser layouts: monolith 23 passed plus two documented setup/layout skips; split 24 passed plus one setup skip; independent onboarding in both layouts and final mobile checks. Zero retries.
  • Actual 0.6.0 native image compilation, guided clean-stack install, TLS and least-privilege probes, private object access, queued authenticated STARTTLS mail, and age-encrypted recovery into empty volumes. Restored schema/objects/keys and mail after recovery passed.
  • The 07ae15c runtime-ownership follow-up was checked through a runtime-only derivation with unchanged compiled application layers and another full fresh-stack recovery; CI independently rebuilt its complete Dockerfile and passed all eight jobs. The final 62231cd commit changes only this audit report and also passed all eight jobs.
  • Exact final backend cf235b64 and frontend 2130446b scans have zero findings at every severity. Raw shared-edge/storage/PostgreSQL findings and applicability limits remain disclosed in the report; they are not suppressed.

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.

@Shaan-Shoukath Shaan-Shoukath changed the title fix: harden inventory lending and production recovery (0.5.1) fix: harden inventory lending and production recovery (0.6.0) Oct 29, 2026
@Shaan-Shoukath
Shaan-Shoukath merged commit 7cf1996 into dev Oct 29, 2026
8 checks passed
@Shaan-Shoukath
Shaan-Shoukath deleted the fix/production-audit-2026-10-29 branch October 29, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant