Commit graph

17 commits

Author SHA1 Message Date
Codeflash Bot
0b87fa0e12 Refactor GitHub App installation error handling in code context hash endpoints. Introduced a dedicated assertion function to streamline error validation and improve logging for installation issues. 2026-04-28 15:55:21 +00:00
Codeflash Bot
8d19be486e Enhance error handling for GitHub App installation checks in code context hash endpoints. Added specific exceptions for installation not found and installation errors, improving logging and user guidance for installation issues. 2026-04-28 15:41:54 +00:00
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
Sarthak Agarwal
7deb16819e
[Fix] Suppress slack for codeflash employees (#2466)
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2026-03-08 02:54:32 +05:30
HeshamHM28
45e22e0f94
Cf-api Refactor (#2131)
Fixes CF-833
2026-01-19 23:03:57 +05:30
Mohamed Ashraf
568b70a609 add telemetry flag to be disabled in dev 2025-12-31 02:29:06 +02:00
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
Saurabh Misra
de81a2ec47 name the events correctly 2025-06-14 19:05:56 -05:00
Saurabh Misra
5ffdb4228c add posthog tracking 2025-06-14 18:48:40 -05:00
Saurabh Misra
23292b16d4 remove console log 2025-06-07 20:16:40 -07:00
Saurabh Misra
635939b545 get it working 2025-06-07 19:45:06 -07:00
dasarchan
96c8c4f74e removed empty test file 2025-06-07 00:00:06 -04:00
dasarchan
7acab316f9 fixed github collaborator check 2025-06-06 20:31:52 -04:00
Saurabh Misra
75258c3bc5 Make the endpoint secure,
also hopefully fix the db query
2025-06-06 15:37:23 -07:00
dasarchan
9d9e87cc58 api for batch requests 2025-06-02 19:05:17 -04:00
Archan Das
7d41e6e797 changes 2025-05-29 23:06:27 +00:00
Saurabh Misra
be91f8bab4 first implementation 2025-04-27 19:15:34 -07:00