Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • A Ahad Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • holatech
  • Ahad Mobile
  • Merge requests
  • !134

fix(card): prevent duplicate cardholder applications

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Hung Hoang requested to merge hunghoang/fix/card-create-single-flight into develop Oct 22, 2026
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 12

Task: https://hola-tech.sg.larksuite.com/record/EOD0rye8eeqNclcZGftl8yU6gDd

Fix: Lock Submit application before async validation; keep it disabled/loading throughout the request, including after closing and reopening the form; unlock after validation, server or connection errors so retry works. Existing API payloads and backend/provider behavior are unchanged.

Verified: 1,572 frontend tests (145 suites), TypeScript, full lint with 0 errors, and independent source review. Maestro on native iOS passed all 3 local-fixture scenarios / 68 commands: six taps produce one POST; reopening stays blocked during the active request; server/network failure permits one successful retry. Reproducible flows and fixture are committed under fe/.maestro/card-create-single-flight/.

Limits: Maestro uses a synthetic local API, not a real issuer. Android, physical devices and backend/provider idempotency were not tested. The existing 15-second transport timeout is unchanged.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hunghoang/fix/card-create-single-flight