generate new endpoints#1114
Conversation
📦 Bundle Size Report
Size Limits
Largest Files (Top 5)
View All Files (341 total)
✅ Bundle size check passed |
| }, | ||
| }, | ||
| }); | ||
| ); |
There was a problem hiding this comment.
MSW mocks use outdated endpoints
Medium Severity
This commit switches pre-onboarding hooks to generated routes under pre-onboarding-requirements (including {requirement_slug}/documents), but default MSW handlers and test overrides still mock the removed pre-onboarding-document-requirements and pre-onboarding-documents paths, so mocked requests never match and PreOnboarding tests fail.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 32f7f31. Configure here.
|
Deploy preview for adp-cost-calculator ready!
Deployed with vercel-action |
|
Deploy preview for remote-flows ready!
Deployed with vercel-action |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a988111. Configure here.


Note
Medium Risk
Touches onboarding compliance/signing flows and swaps API contracts consumers rely on; risk is moderated because much of the change is generated client surface plus example UI wiring.
Overview
Regenerates the OpenAPI client around a unified pre-onboarding requirements model: list requirements, create documents per requirement slug, and acknowledge / delete acknowledgement via new endpoints (replacing the older document-requirements-only surface). Exports and types rename accordingly (
PreOnboardingRequirement, etc.), with additional unrelated generated routes (WD GPH pay, timesheets, oauth token variant).The example onboarding app turns on the
pre_onboarding_requirementsfeature and updates the review step to render document vs acknowledgement requirements separately. Document flows no longer gate on inline “constraints ack” or passdocument_constraints_ack_atwhen creating documents; blocked dependencies use a shared tooltip that wording depends on requirement type. Acknowledgement requirements callonAcknowledgeRequirementwith lock/pending states from the flows bag, and render HTML descriptions viatransformHtmlToComponents.Generated client bootstrap drops the hardcoded gateway
baseUrlon the default client instance.Reviewed by Cursor Bugbot for commit a18eb02. Bugbot is set up for automated code reviews on this repo. Configure here.