stack/apps/backend
mantrakp04 29fa318525 Add tests for AI proxy handlers and SpacetimeDB client
- Introduced unit tests for `observeAndLog` in `ai-proxy-handlers.test.ts` to ensure correct behavior when logging functions throw errors.
- Added tests for `callSql` in `spacetimedb-client.test.ts` to verify 401 enrollment retry logic and error handling.
- Created tests for `buildProxyLogRow` in `ai-proxy-logger.test.ts` to validate tool-name extraction from parsed logs.
- Implemented validation tests for tool names in `index.test.ts` to ensure consistency with defined tool names.

These additions enhance test coverage and reliability of the AI-related functionalities.
2026-05-23 11:31:22 -07:00
..
prisma Merge branch 'dev' into HEAD 2026-05-23 10:27:20 -07:00
scripts Fix /internal/metrics ClickHouse OOM (#1457) 2026-05-21 13:47:32 -07:00
src Add tests for AI proxy handlers and SpacetimeDB client 2026-05-23 11:31:22 -07:00
.env Merge remote-tracking branch 'origin/dev' into ai-analytics 2026-05-08 12:09:22 -07:00
.env.development Merge remote-tracking branch 'origin/dev' into ai-analytics 2026-05-08 12:09:22 -07:00
.eslintrc.cjs tsup for stack-shared (#647) 2025-04-28 21:26:52 -07:00
.gitignore private files n sm build shit (#1276) 2026-03-23 12:31:36 -07:00
instrumentation-client.ts Upgrade backend to Next.js 16 2025-12-12 16:59:07 -08:00
LICENSE Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
next.config.mjs private files n sm build shit (#1276) 2026-03-23 12:31:36 -07:00
package.json chore: update package versions 2026-05-23 16:45:36 +00:00
prisma.config.ts [Fix]: Assortment of Bugs with Timefold Table and Payments (#1348) 2026-04-18 14:17:24 -07:00
tsconfig.json Fix lint 2026-02-27 09:59:26 -08:00
vercel.json External db sync (#1036) 2026-02-05 12:04:31 -08:00
vitest.config.ts Fix flaky tests and preexisting CI failures (#1443) 2026-05-20 10:00:11 -07:00
vitest.setup.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00