-
Notifications
You must be signed in to change notification settings - Fork 321
perf(onboarding): optimize onboarding pipeline from ~5min to ~2min #2777
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
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a7ea2be
perf(onboarding): parallelize vendor/risk extraction, fire-and-forget…
Marfuen c41f213
perf(onboarding): parallelize risk + vendor matching in linkage step
Marfuen a02aeb7
perf(onboarding): switch linkage reranker from gpt-5-mini to gemini-3…
Marfuen d29f7b9
chore: upgrade AI SDK to v6/v3, switch reranker to gemini-3-flash via…
Marfuen e8d0580
chore: remove caBundleExtension from trigger config
Marfuen 6ac5f37
fix(api): await convertToModelMessages in assistant-chat controller
Marfuen d9e067f
fix(onboarding): restore tracker progress for parallel + fire-and-for…
Marfuen a562830
fix(onboarding): handle pipeda and other framework conditionals in po…
Marfuen bff0b24
fix(onboarding): restore expandable sections in tracker during backgr…
Marfuen 4b4a88d
fix(onboarding): use tasks.batchTrigger for policies to preserve pare…
Marfuen df813cd
fix(onboarding): restore concurrencyKey for policy batch trigger
Marfuen dcd783b
fix(onboarding): sync all tracker spinner animations
Marfuen 29bcf37
perf(onboarding): raise policy queue concurrency from 5 to 15
Marfuen 4e29a15
perf(onboarding): switch policy generation from gpt-5-mini to gemini-…
Marfuen 41b8cc1
perf(onboarding): policies first, gemini for all LLM calls, non-block…
Marfuen faa8d0e
perf(onboarding): replace LLM policy generation with programmatic tem…
Marfuen 5840046
fix(onboarding): switch tracker from useRealtimeRun to useRun with po…
Marfuen a3335b3
feat(onboarding): add targeted LLM pass to rewrite policy cue lines
Marfuen 4eff65d
perf(onboarding): switch reranker to gemini-3.1-flash-lite-preview
Marfuen 0d3a2dc
fix(onboarding): use tasks.batchTrigger for vendor/risk mitigations
Marfuen 64a2da3
fix: switch onboarding status hooks from useRealtimeRun to useRun
Marfuen a57fced
feat(onboarding): split tracker into 6 steps with separate mitigation…
Marfuen b16e311
fix(onboarding): keep task alive for mitigations, redirect via metada…
Marfuen c67cbfe
fix(onboarding): show vendor/risk count on creation steps
Marfuen 7dd06da
fix(onboarding): sequential triggerAndWait for mitigations
Marfuen 27a7b8d
fix(onboarding): link completed assessments to treatment-plan tab
Marfuen cd50157
fix: address cubic review findings in template processor and linkage
Marfuen da3618d
fix(onboarding): fix currentStep mismatch and treat assessing as active
Marfuen 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
459 changes: 137 additions & 322 deletions
459
apps/app/src/app/(app)/[orgId]/components/OnboardingTracker.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.