Skip to content

BUG-Fixed: Resolve SQL schema bindings and persistence constraints - #10

Merged
DrDead0 merged 6 commits into
mainfrom
features-refactorization
Sep 20, 2026
Merged

DrDead0 merged 6 commits into
mainfrom
features-refactorization

Conversation

@DrDead0

@DrDead0 DrDead0 commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

Description:

This PR resolves critical blocking issues in the backend data layer affecting form data persistence and asynchronous job queuing, alongside necessary client-side state synchronization fixes for usage telemetry.

🔧 Backend & Data Layer (services/)

  • Contact Service (internal/adapters/postgres/store.go):
    • Fixed an incorrect SQL relation binding during form processing.
    • Resolved a bug where target_email was erroneously being queried against a non-existent users schema instead of the correct forms schema. Website form fields are now correctly processed and routed.
  • Outbox Service (internal/outbox/outbox.go):
    • Resolved a fatal parameter cardinality mismatch during transaction inserts (execution previously attempted to inject 6 variables into 5 declared columns).
    • This unblocks the WAL queue, restoring the background worker's ability to successfully dispatch Google Calendar sync events and deliver host/guest emails.

🖥️ Client State & Telemetry (apps/web/)

  • Usage Quota Synchronization:
    • Fixed a state staleness bug on the dashboard where usage limits/quotas failed to update after interacting with the booking or forms lists.
    • Injected a refreshTrigger prop into the <FeatureAccess /> component and bound it directly to the list-level refresh mutations to force dynamic, accurate re-renders of the user's consumption data.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Copilot AI lite review requested due to automatic review settings September 20, 2026 03:15
@vercel

vercel Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
halomail-web Ready Ready Preview Sep 20, 2026 3:25am UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@DrDead0
DrDead0 requested review from aashishrajdev and a lite review from Copilot September 20, 2026 03:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@DrDead0
DrDead0 merged commit 66f9f4d into main Sep 20, 2026
5 of 6 checks passed
@DrDead0
DrDead0 deleted the features-refactorization branch September 20, 2026 03:24

This branch was successfully deployed

1 active deployment
Preview — 0b5ba345 Deployed Sep 20, 2026 by vercel[bot]
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.

2 participants