Commit graph

6 commits

Author SHA1 Message Date
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
HeshamHM28
45e22e0f94
Cf-api Refactor (#2131)
Fixes CF-833
2026-01-19 23:03:57 +05:30
mashraf-222
b85ff4a5c2
adding global exception handler and logger for dev and production (#1927)
Co-authored-by: HeshamHM28 <HeshamMohamedFathy@outlook.com>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-12-15 21:32:20 +05:30
HeshamHM28
28e804e3c4
[Fix] Html path (#1716) 2025-07-24 22:08:14 +05:30
HeshamHM28
2fedaf0fd4
[Fix] Email Import (#1715) 2025-07-24 21:40:17 +05:30
HeshamHM28
fedadfc6ce
[Feat] Notify via Email When codeflash --all Completes (#1699)
### Without repo
<img width="744" alt="Screenshot 2025-07-08 at 1 16 26 PM"
src="https://github.com/user-attachments/assets/f095ce35-24be-4add-bb19-306220f09d74"
/>

### With repo

<img width="803" alt="Screenshot 2025-07-08 at 1 16 43 PM"
src="https://github.com/user-attachments/assets/c12fd194-abe1-410a-b78d-2c33957ca510"
/>

---------

Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-07-24 08:29:41 -07:00