codeflash-internal/.github/workflows
Kevin Turcios d7a8b8f227
perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601)
## Summary
- **Fix CI build failure**: Auth0Client crashes during Next.js
prerendering when env vars aren't set. Returns a no-op stub (`getSession
→ null`) when domain is missing — semantically correct for static
generation
- **Lazy-load markdown libs (~260kb)**: ReactMarkdown, remarkGfm, and
react-syntax-highlighter were eagerly imported in monaco-diff-viewer but
only rendered when user expands "Generated Tests". Extracted into a
dynamic component
- **Parallelize repo detail query**: `getRepositoryById` ran the
activity count sequentially after the repo lookup. Since `repoId` is
already available, all three queries now run in parallel

## Test plan
- [ ] CI `build` check passes (was failing since #2598)
- [ ] Trace page still renders generated tests correctly when expanded
- [ ] Repository detail page loads correctly with activity status
2026-04-13 11:03:05 -05:00
..
cf-api-tests.yaml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
cf-webapp-quality-gates.yml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
claude.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
codeflash-aiservice.yaml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
codeflash-js.yaml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
deploy_aiservice_to_azure.yml fix: resolve npm audit vulnerabilities in cf-webapp (#2592) 2026-04-10 04:25:01 -05:00
deploy_cfapi_to_azure.yml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
deploy_cfwebapp_to_azure.yml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
django-unit-tests.yaml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
duplicate-code-detector.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
end-to-end-tests.yaml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
fix-formatting.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
mypy_aiservice.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
nextjs-build.yaml perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601) 2026-04-13 11:03:05 -05:00
prek.yaml Update prek.yaml 2026-01-30 20:04:28 -05:00
publish-to-pypi.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00
vscode-extension-build.yml fix: upgrade Next.js to 16.2.3 and fix theme/roadmap issues (#2591) 2026-04-10 03:51:28 -05:00