Conversation
…nboarding-check cache
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 80f01f1. Configure here.
| staleTime, | ||
| } | ||
| ); | ||
| } |
There was a problem hiding this comment.
Duplicated query options not reused by existing hook
Low Severity
The new getSeerOnboardingCheckQueryOptions function duplicates the SeerOnboardingCheckResponse interface and the apiOptions.as<>()() call already present inline in useSeerOnboardingCheck.tsx. The existing hook was not updated to consume this new shared function, so both files independently define the same response type and query configuration. If the endpoint shape or URL changes, both files need to be updated in lockstep, risking drift.
Reviewed by Cursor Bugbot for commit 80f01f1. Configure here.


This converts the form to the new form system, does an optimistic update to the cache when a change is made, and clears the cache of
/seer/onboarding-check/which could change based on if something is enabed/disabled for code-review.The new file, static/app/utils/getSeerOnboardingCheckQueryOptions.tsx, is also added in #112643, but shouldn't conflict as it's the same content.