Commit Graph

359 Commits

Author SHA1 Message Date
dal f0686fa54e
Merge pull request #1169 from buster-so/dallin-bus-1938-report-needs-to-cascade-up-if-metric-modified
sql dialect and tool deltas
2025-09-26 10:41:42 -06:00
dal 07befc89a6
index eexport 2025-09-26 10:33:07 -06:00
dal 6fafd732be
expot 2025-09-26 10:32:06 -06:00
dal c427f5ae78
get asset latest version 2025-09-26 10:31:42 -06:00
dal 6d6c531d5c
fix most recent version on the chat 2025-09-26 10:15:52 -06:00
dal d7eab3023c
lint fixes 2025-09-26 10:06:14 -06:00
dal de01a39c5c
feat: add memory optimization for AI tools and LRU cache
- Add cleanupState helper to clear tool state after execution
- Update all tool execute functions to clean up state after completion
- Reduce LRU cache from 500 to 10 entries (90% memory reduction)
- Extend cache TTL to 20 minutes for long-running streams
- Prevent memory leaks during 15-minute streaming sessions

This significantly reduces memory usage during long AI streaming sessions
by ensuring tool states are cleared after execution and limiting cache size.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 10:02:49 -06:00
dal c0ca22ad8c
Merge remote-tracking branch 'origin/staging' into dallin-bus-1937-the-createmetrics-and-createreports-tool-calls-are-in-an 2025-09-25 18:38:52 -06:00
dal 8f314268e3
fixed the streaming loading infinite state 2025-09-25 18:38:46 -06:00
wellsbunk5 dadfd87dbf
Merge pull request #1148 from buster-so/wells-bus-1906-report-should-send-metrics
adding metrics to reports/[id] endpoint
2025-09-25 12:54:22 -06:00
Wells Bunker 2d2a0f1476
adding metrics to reports/[id] endpoint 2025-09-25 12:46:39 -06:00
Nate Kelley dae01a103c
remove throw pages 2025-09-25 11:54:52 -06:00
Wells Bunker 7bcae1e5d5
migrate /chats to use the v2 endpoint from the frontend 2025-09-25 11:44:35 -06:00
Nate Kelley 113da029fe
Merge branch 'wells-bus-1945-search-endpoint-should-include-updated-at' into big-nate-bus-1935-copying-project-ids-from-buster-reports-results-in-empty 2025-09-25 10:28:56 -06:00
Nate Kelley 9b35106a71
switch search endpoint 2025-09-25 10:28:10 -06:00
Wells Bunker 2960aa58bb
adding updatedAt to the search endpoint 2025-09-25 10:26:26 -06:00
dal d0df2ab3db
Merge pull request #1129 from buster-so/dallin-bus-1930-modifying-metrics-from-an-existing-report
version on report file cache
2025-09-24 21:41:02 -06:00
Nate Kelley 299ed5d697
move supabase start to its own commands 2025-09-24 16:38:15 -06:00
dal 2a8923374a
version on report file cache 2025-09-24 16:09:06 -06:00
Wells Bunker 5c9d47a082
Get correct permission for report_file 2025-09-24 14:32:50 -06:00
wellsbunk5 e816fad04b
Merge pull request #1117 from buster-so/wells-bus-1921-make-permission-look-for-public
check for public permissions on any check
2025-09-24 13:50:37 -06:00
Wells Bunker 68043841b3
tests 2025-09-24 13:42:45 -06:00
jacob-buster a94cb541a1 Attempted fix for seed script 2025-09-24 13:20:25 -06:00
Wells Bunker 9927808704
check for public permissions on any check 2025-09-24 13:17:08 -06:00
Wells Bunker b4fb66bc62
fix migration 2025-09-23 16:06:53 -06:00
dal 77f6b41331
Merge pull request #1085 from buster-so/dallin-bus-1898-metric-download-endpoint-should-accept-report-id
dallin bus 1898 metric download endpoint should accept report id
2025-09-23 15:27:36 -06:00
dal edd1de9f34
metric download query params for report_file_id and metric_version_number 2025-09-23 15:13:38 -06:00
wellsbunk5 55c68720bb
Merge pull request #1082 from buster-so/fixSlackUrlBuilder
Fix the url builder for slack messages to have correct route
2025-09-23 14:38:39 -06:00
Wells Bunker 2b6cdbe476
Fix the url builder for slack messages to have correct route 2025-09-23 14:29:57 -06:00
Nate Kelley 87a515a95f
add supabase app to workspace 2025-09-23 11:06:12 -06:00
Wells Bunker 9d01603aca
Searchs messages and report content now 2025-09-22 17:21:04 -06:00
Wells Bunker 1646e37540
Fix metric_file permissions not cascading from report_files 2025-09-22 13:40:46 -06:00
dal 0cc6fb04b0
merge staging 2025-09-22 09:02:46 -06:00
dal 1adad1b6e9
ssl through url 2025-09-22 09:01:09 -06:00
dal e68032ab8d
lint errors 2025-09-22 08:59:25 -06:00
dal e63fd79df5
database ssl connection fix 2025-09-22 08:32:06 -06:00
dal 408cc1853c
migration fix 2025-09-20 16:47:54 -06:00
dal 1acecff3a4
try one more time without custom ssl 2025-09-20 16:41:34 -06:00
dal cf7725fd53
add cert step 2025-09-20 16:34:28 -06:00
dal 0e2ac5c9d1
change ssl one more time 2025-09-20 16:28:31 -06:00
dal f81a524279
make test more stable and add ssl requirement on migration 2025-09-20 16:24:39 -06:00
dal 52189a6fa0
migration job fix 2025-09-20 16:10:25 -06:00
dal 0e89b502ea
fix lint build and tests 2025-09-20 15:22:28 -06:00
dal 189dedd32e
Merge remote-tracking branch 'origin/staging' into dallin-bus-1836-move-seed-script-to-ts 2025-09-20 15:15:45 -06:00
dal 9c01bcb37c
seed script and db clean up 2025-09-20 15:15:26 -06:00
Nate Kelley e5dbf41db5
Update check-collections-containing-asset.ts 2025-09-20 14:39:02 -06:00
Nate Kelley 3bff20c8e0
must be org member 2025-09-20 14:05:48 -06:00
Nate Kelley 9efdf2c67b
pass through asset check 2025-09-20 13:22:52 -06:00
Nate Kelley 3b2bc471ab
permission helper 2025-09-20 11:05:10 -06:00
Nate Kelley b8d5624304
create a versioned report 2025-09-20 10:37:50 -06:00