Repository navigation
fix(onboarding): disable submit while the job title eligibility check runs #1413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gabrielseco
merged 42 commits into
main
from
found-1869-disable-submit-during-eligibility-check
Oct 9, 2026
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
e872b0b
feat(onboarding): add job_title_eligibility feature flag
gabrielseco 33aabca
feat(onboarding): wire onBlur events to job title eligibility check
gabrielseco 330242b
fix(onboarding): drop debug logs and fix job title eligibility dedup
gabrielseco edadc3c
chore: remove accidentally committed local settings file
gabrielseco 382c58f
fix(onboarding): match checkJobTitleEligibility's docs to its behavior
gabrielseco 7686a5e
fix(onboarding): close race between overlapping eligibility checks
gabrielseco 130d062
test(onboarding): cover the job title eligibility blur dedup
gabrielseco 836274c
fix(onboarding): give the dedup test time for a broken fetch to land
gabrielseco 56b8bad
docs(onboarding): explain the inverted waitFor in the dedup test
gabrielseco c438891
docs(onboarding): reword the waitFor comment in plain language
gabrielseco 38681bb
Merge branch 'main' into found-1869-hook-up-the-form-onblur-events-to…
gabrielseco e13fb13
test(onboarding): cover retrying the job title eligibility check afte…
gabrielseco 57bd08a
fix(onboarding): retry job title eligibility check after a failed req…
gabrielseco f641052
Merge branch 'main' into found-1869-hook-up-the-form-onblur-events-to…
gabrielseco 1d6f2e5
fix(onboarding): disable submit while the job title eligibility check…
gabrielseco 036811e
refactor(onboarding): drive the submit lock from the query's isFetching
gabrielseco 61079c1
test(onboarding): cover the eligibility lock in OnboardingSubmit unit…
gabrielseco 1fb6fda
chore(example): rename vite config to .mts to silence native config l…
gabrielseco 522c18f
fix(scripts): send checkbox const value, not [true], in seed-onboardi…
gabrielseco 8f20c58
feat(scripts): seed onboarding directly against a gateway env (#1371)
gabrielseco 603325a
1.57.0 (#1407)
gabrielseco 9e454ff
docs: surface the inline-comment convention in CLAUDE.md (#1405)
gabrielseco 908261f
docs: document import order convention (#1404)
gabrielseco 3f0a584
chore(deps): update dependency @remoteoss/remote-json-schema-form-kit…
renovate[bot] 30d7c12
fix(onboarding): block invite while employment is in job_title_review…
gabrielseco a238d4b
chore: ignore CLAUDE.local.md (#1400)
gabrielseco d85505d
chore(deps-dev): update dependency dotenv to v18.0.1 (#1410)
renovate[bot] b4c8db3
chore(deps-dev): update dependency tsx to v4.23.15 (#1411)
renovate[bot] ca023c9
Merge branch 'found-1869-hook-up-the-form-onblur-events-to-trigger-th…
gabrielseco b2ddab9
Merge branch 'found-1869-job-title-eligibility-tests' into found-1869…
gabrielseco 6b6034b
Merge branch 'main' into found-1869-hook-up-the-form-onblur-events-to…
gabrielseco cc39e39
Merge branch 'main' into found-1869-hook-up-the-form-onblur-events-to…
gabrielseco 5071433
Merge branch 'found-1869-hook-up-the-form-onblur-events-to-trigger-th…
gabrielseco 621deeb
Merge branch 'found-1869-job-title-eligibility-tests' into found-1869…
gabrielseco efb27e6
Merge branch 'main' into found-1869-hook-up-the-form-onblur-events-to…
gabrielseco 317a13d
revert
gabrielseco 1cca2cd
Merge branch 'found-1869-hook-up-the-form-onblur-events-to-trigger-th…
gabrielseco 08d1a9b
Merge branch 'found-1869-job-title-eligibility-tests' into found-1869…
gabrielseco b962750
fix(onboarding): only report the eligibility check as running on cont…
gabrielseco 182a2ad
Merge remote-tracking branch 'origin/main' into found-1869-disable-su…
gabrielseco 709da5f
Merge branch 'main' into found-1869-disable-submit-during-eligibility…
gabrielseco 9dce6e3
fix(onboarding): don't log an error when a job title eligibility chec…
gabrielseco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stale ack blocks later submit
Medium Severity
A submit that re-runs the eligibility check can keep
employer_acknowledges_riskin form state after the verdict leavesyes_with_ack.handleSubmitthen re-validates those leftover values against a schema that forbids the field (additionalProperties: falseplus the injectedelsebranch), so the native Enter submit path can fail closed even though the new verdict does not need an acknowledgement.Additional Locations (1)
src/flows/Onboarding/utils.ts#L276-L278Reviewed by Cursor Bugbot for commit 9dce6e3. Configure here.