Commit Graph

633 Commits

Author SHA1 Message Date
dal 73a98bf482
feedback field 2025-04-16 15:34:56 -06:00
dal 67f90048da
invite users working again 2025-04-16 15:26:36 -06:00
dal e5192085ef
try evals with o3-mini 2025-04-16 14:51:22 -06:00
dal 139c434c79
tweaks made to sql best practices and the metric yml based on evals 2025-04-16 14:17:53 -06:00
dal cee6191a4d
flashing timer bug 2025-04-16 13:57:42 -06:00
dal 247c9bcb5c
tweaks to the agent 2025-04-16 13:31:35 -06:00
dal 858de8b4fe
fixed the null req message on start chat with asset 2025-04-16 12:35:29 -06:00
dal 1ca83a9927
fixing search data catalog first step 2025-04-16 12:15:56 -06:00
dal ad8ff6f28e
todos looking good, fixed a few things on analysis 2025-04-16 12:07:47 -06:00
dal f69fbb84b0
todo tweak, more descriptive todos 2025-04-16 11:54:02 -06:00
dal 146a878820
fixes for terminating chats 2025-04-16 11:49:33 -06:00
dal ff32bd2887
ok lots of changes, but we've updated agent architecture with modes and such. fixed a few other bugs for review 2025-04-16 11:08:48 -06:00
dal 526c6c3539
split out todos from plan tool 2025-04-16 09:41:40 -06:00
dal 3dacf6ff1f
low reasoning with conditions 2025-04-16 09:29:24 -06:00
dal 9a8b4ace87
review agent 2025-04-16 09:20:46 -06:00
dal ff0001139e
added in review todos, and fixed the search bug 2025-04-16 08:29:25 -06:00
dal c96f33bed7
moved mode prompts, added search logging, and todos to plans 2025-04-16 07:59:42 -06:00
dal bca49aed2a
search pool fix 2025-04-16 07:19:24 -06:00
dal 27a7849f69
dashboard has its own get metric handler 2025-04-15 17:32:28 -06:00
dal db11a56c59
ok a few more small tweaks 2025-04-15 17:14:56 -06:00
dal f64adeba6b
string rules for metric yml 2025-04-15 16:37:43 -06:00
dal c91a078d2b
tweaks for some more speed 2025-04-15 15:30:52 -06:00
dal db220b7fd5
metric fixes 2025-04-15 15:14:46 -06:00
dal 081cabc4c6
improvements for markdown, formatting, schemas, models, etc. 2025-04-15 14:48:25 -06:00
dal 8face6e1b9
metric yml description move, agent medium reasoning 2025-04-15 14:19:50 -06:00
dal 68ebf1bca3
bulk modifications 2025-04-15 14:14:26 -06:00
dal 7b8d451255
from scratch fix. 2025-04-15 13:41:52 -06:00
dal 752dea2ba3
modify is now an overwrite 2025-04-15 13:38:32 -06:00
dal b2e5ae6ce4
buster multi agent changes 2025-04-15 10:51:40 -06:00
dal 9478e233f7
small tweaks to the agent 2025-04-15 10:29:43 -06:00
dal 41baefac6e
search data catalog agent work 2025-04-15 07:40:02 -06:00
dal 6135bf904b
cli update and data catalog search mode 2025-04-15 07:06:42 -06:00
dal 7741a98b3b
o3 mini until further testing 2025-04-14 15:14:35 -06:00
dal a6f7950b6d
o3-mini for a bit more testing before o1 2025-04-14 13:24:09 -06:00
dal a6e5ade68d
4.1 mini see if anyone notices 2025-04-14 13:21:20 -06:00
dal a9504b4bc9
o3-mini for a bit 2025-04-14 12:46:46 -06:00
dal c9ee8674be
latest version number 2025-04-14 12:42:12 -06:00
dal 8a16734fd7
replace data no skip 2025-04-14 08:33:55 -06:00
dal cfc314d9eb
thoughtfulness 2025-04-11 17:04:21 -06:00
dal 2f6efa137d
agent changes 2025-04-11 16:41:17 -06:00
dal 5131886ea7
multi agent, conditions on when planning tools are available 2025-04-11 15:33:05 -06:00
dal c691f904f9
things feeling pretty good. 2025-04-11 13:33:56 -06:00
dal ba8361d0f4
trace fix 2025-04-11 11:12:32 -06:00
dal 004bb2295b
file formats 2025-04-11 11:01:29 -06:00
dal cc1ca5a34f
good so far 2025-04-11 10:52:41 -06:00
dal 34dabe8122
lol this is the actual commit 2025-04-11 09:54:49 -06:00
dal 472184794b
changes to tooling and completion for cli agent 2025-04-11 09:54:42 -06:00
dal 8bf2e7f10f
timing is almost there 2025-04-11 08:47:11 -06:00
dal 859eeabb39
ok working with timing 2025-04-11 08:42:36 -06:00
dal 43defba30d
clie assistant and finished reasoning 2025-04-11 08:18:23 -06:00
dal d9deefb18d
time tracking, docs for cli chat 2025-04-11 07:34:57 -06:00
dal 7f11790c15
prompts dynamic again 2025-04-10 17:31:22 -06:00
dal 6b44e223d0
removed the mesage_notify user and streaming 2025-04-10 17:22:35 -06:00
dal 8611717e2d
terminating tools 2025-04-10 16:37:53 -06:00
dal 57107fafa8
working more 2025-04-10 15:14:58 -06:00
dal f8fa6a4af3
streaming still off, but new tools are in 2025-04-10 15:03:35 -06:00
dal 1f1b177ea2
new tools and structure 2025-04-10 14:44:52 -06:00
dal b0797e6f6f
dynamic prompt switching 2025-04-10 13:40:58 -06:00
dal f46376eac0
conditional prompt switching 2025-04-10 13:28:03 -06:00
dal e147711a23
multi agent and conditional changes 2025-04-10 13:13:34 -06:00
dal a31be9d742
changes 2025-04-10 11:07:31 -06:00
dal 82f526ae46
buster cli agent 2025-04-10 11:01:00 -06:00
dal fc5736a4b3
ok I think I fixed the ghost message 2025-04-09 17:17:05 -06:00
dal 040547ba6e
highlight reordering on search 2025-04-09 15:16:34 -06:00
dal b8ab5bc742
fix title 2025-04-09 14:28:00 -06:00
dal b550fef7d6
ok handling single asset being sent back 2025-04-09 12:57:57 -06:00
dal f8e77ee5b4
now handling edge case with multiple assets 2025-04-09 12:09:41 -06:00
dal fcfb86fa88
sending back filtered files for responses now 2025-04-09 11:41:33 -06:00
dal 494a838260
filtering assets in res messages 2025-04-09 11:32:47 -06:00
dal 6fe50c78de
fixes on issues 2025-04-09 11:04:40 -06:00
dal 6ebb364101
add everything back 2025-04-09 09:22:39 -06:00
dal 861f3d71bd
cost optimizations 2025-04-09 09:09:38 -06:00
dal ebc4815aad
merging bus-1065 2025-04-08 16:53:08 -06:00
dal e782a7cf9a
import assets into chat 2025-04-08 16:52:59 -06:00
dal 85a2b2a8aa
added in the associations well 2025-04-08 16:15:25 -06:00
dal cab1751172
all snake_case 2025-04-08 15:52:44 -06:00
dal 44042cd676
load in assets and mark context 2025-04-08 15:46:37 -06:00
dal d7023b2f87
added the version number to the chat object 2025-04-08 15:42:18 -06:00
dal 09c41be967
formatting and other small things around importing an asset into a chat 2025-04-08 14:30:21 -06:00
dal 4c5d6ca97d
update column settings on sql change 2025-04-08 13:25:19 -06:00
dal b5d8cdc662
prd and metric file change 2025-04-08 10:48:24 -06:00
dal 43e1843d7b
updates 2025-04-08 10:31:11 -06:00
dal 5c99a94a4c
migration and such with some test improvements 2025-04-08 10:07:11 -06:00
dal a9424bae23
show legend headline 2025-04-08 09:20:20 -06:00
dal d2cfe5642b
legend headline bug 2025-04-07 21:29:11 -06:00
dal f5678c4a4d
ok password finally working 2025-04-07 21:18:20 -06:00
dal d346bca850
Enhance API documentation and implement password protection for public assets
- Updated CLAUDE.md with architecture overview, row limit implementation notes, and troubleshooting guide.
- Added additional documentation resources and common test commands.
- Enhanced database test infrastructure guide with quick reference and common patterns.
- Implemented password protection for public dashboards and metrics, including checks for access expiration and required passwords.
- Updated relevant handlers and routes to support password parameters.
- Refactored bulk update metrics handler to remove batch size from request structure.
- Added tests for password protection and access control for metrics and dashboards.
2025-04-07 17:44:41 -06:00
dal dc701e9ea5
testing and claude updates 2025-04-07 16:50:16 -06:00
dal 994975672b
Merge api_permission_field_fix branch and resolve conflicts
Combined test modules from both branches to maintain all test cases including:
- sharing tests from HEAD branch
- permission field tests from api_permission_field_fix branch
- update metric tests from HEAD branch

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:49:24 -06:00
dal eedb717393
api_permission_field_fix 2025-04-07 16:47:00 -06:00
dal a754c45282
Resolve merge conflicts and integrate metrics test module 2025-04-07 16:43:49 -06:00
dal 3b2602adc2
api_metric_status_fix 2025-04-07 16:43:00 -06:00
dal 04d1f0e849
Merge api_public_sharing_fix branch and resolve conflicts 2025-04-07 16:37:49 -06:00
dal 9ae9c2d5cc
api_public_sharing_fix 2025-04-07 16:36:53 -06:00
dal bdd9dd90e2
Use ctor for proper database pool initialization 2025-04-07 16:32:54 -06:00
dal 8c8cca7b62
Implement single database pool initialization 2025-04-07 16:31:24 -06:00
dal 686e336921
Fix async initialization function 2025-04-07 16:28:59 -06:00
dal 9bb0410d03
Fix database pool initialization within async runtime 2025-04-07 16:28:37 -06:00
dal 1a6d712a3f
Add proper database pool initialization 2025-04-07 16:28:17 -06:00
dal bac973e791
Fix test setup for database connectivity 2025-04-07 16:27:51 -06:00
dal 72c376df7e
Update remaining tests to use simplified setup 2025-04-07 16:19:25 -06:00
dal 6ce9f18e41
Simplify test setup with direct pool initialization 2025-04-07 16:18:58 -06:00
dal 32b142b0ce
Implement public sharing parameter fix with UpdateField enum
- Add UpdateField enum for unambiguous sharing parameter updates
- Replace Option<Option<T>> pattern with the more explicit enum
- Update metrics, dashboards, and collections sharing handlers
- Add validation for expiry dates and empty passwords
- Add comprehensive tests for public sharing updates

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:18:13 -06:00
dal d10e58fe71
Update integration tests to use proper test infrastructure 2025-04-07 16:18:11 -06:00
dal a4bfa7c39d
Fix AuthenticatedUser struct in integration tests 2025-04-07 16:16:13 -06:00
dal a44e4b127d
Fix import for AuthenticatedUser in tests 2025-04-07 16:15:38 -06:00
dal e6a198fa43
Fix metric status field propagation in update handler
- Modified update_metric_handler to properly include verification status
- Created reusable MetricFileChangeset struct to simplify updates
- Added unit test for verification field in request
- Implemented comprehensive integration tests for status updates
- Test multiple scenarios: authorized update, unauthorized, null values

Fixes BUS-1069

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:14:55 -06:00
dal ab44aceb76
feat(metrics): implement bulk metric status update endpoint
Add bulk update functionality for metric verification status, allowing multiple
metrics to be updated in a single API call with efficient batch processing. This
implementation includes:

- New handler for processing bulk updates with concurrent execution
- Batch processing with customizable batch size (default 50)
- Comprehensive error handling with client-friendly error codes
- REST endpoint with request validation and rate limiting
- Unit and integration tests for success and error cases
- Performance testing with different batch sizes

Addresses ticket BUS-1070.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:03:38 -06:00
dal ec916767c4
api_test_infrastructure 2025-04-07 15:11:03 -06:00
dal bedc6b3e51
ok updated messages to files to have a version number attached 2025-04-07 13:22:10 -06:00
dal 41f60ec874
sentry setup 2025-04-05 11:17:21 -06:00
dal 141736f5a6
remove unused deps 2025-04-04 16:50:44 -06:00
dal 28d3e3ee14
fix the user org id 2025-04-04 16:15:31 -06:00
dal 319984034a
update sharing with public_expiry_date 2025-04-04 14:16:14 -06:00
dal c22ea17d6a
added a bunch of tests 2025-04-04 14:09:54 -06:00
dal 50d5e02e02
lots of changes for permissioning and sharing assets 2025-04-04 14:01:40 -06:00
dal 597803ab73
modifications finalizations 2025-04-04 13:07:13 -06:00
dal 773dc9edee
things are working good 2025-04-04 12:40:58 -06:00
dal 5b039a1f29
chat context working 2025-04-04 11:20:36 -06:00
dal 4b87ad8224
dashboards available 2025-04-04 11:00:09 -06:00
dal c351866c9f
on emore tweak to yml schema 2025-04-04 10:43:50 -06:00
dal 0119538040
modify the dashboard ymnl 2025-04-04 10:34:18 -06:00
dal b51cbc54e1
concurrent metric validation 2025-04-04 10:25:24 -06:00
dal 38f1c9c54c
modify files going good 2025-04-04 09:44:10 -06:00
dal fddc909f0f
modifications are happening, just need to fix the response object 2025-04-04 09:12:48 -06:00
dal ce11968d54
column label format update on sql change 2025-04-03 15:29:25 -06:00
dal f70338ba1f
remove weird check that was happening 2025-04-03 14:31:30 -06:00
dal 071574fd0e
fixes so far 2025-04-03 12:24:06 -06:00
dal f363caa7a7
middle of working on data metadata stuff 2025-04-03 11:42:30 -06:00
dal 33eab20edb
return records no matter what 2025-04-02 16:43:50 -06:00
dal 8e7885c2ce
update docs 2025-04-02 14:49:00 -06:00
dal 021dbd2fa1
automatic integratino test set up 2025-04-02 14:46:28 -06:00
dal 568705d1be
remove old src that was moved to /server and some testing helpers and such 2025-04-02 12:29:58 -06:00
dal 92adcc6307
ok checking permission on delete message 2025-04-02 09:31:59 -06:00
dal b0699bf5be
dashboard config 2025-04-02 09:07:57 -06:00
dal 95f43217cc
duplicate chat functionaligy 2025-04-02 08:21:21 -06:00
dal 8ccfb0d302
new prd, migration, etc. 2025-04-01 21:41:01 -06:00
dal 8186e29c5f
permission on get chat and metric now includes indexmap to preserve mapping orders 2025-04-01 16:18:53 -06:00
dal 3552a828ab
ok added in some sql best practices 2025-04-01 14:31:07 -06:00
dal 380bbb7969
small tweak to sql best practices prompt 2025-04-01 14:18:40 -06:00
dal 4c30dc3cca
collections fix 2025-04-01 14:05:22 -06:00
dal 5e3f67eb7d
empty chat title and databricks query fix 2025-04-01 13:43:10 -06:00
dal 72fb9089e5
query engine fix 2025-04-01 13:39:27 -06:00
dal a24ba84fd3
enhancement_metric_associations 2025-04-01 13:25:17 -06:00
dal c6a22b12d9
query engine optimization 2025-04-01 13:25:17 -06:00
dal 74a2c4a493
enhancement_dashboard_collections 2025-04-01 13:25:17 -06:00
dal d5bd1d2ab4
list chat improvements 2025-04-01 13:25:17 -06:00
dal 2e01b9fb6f
claude command and post_chat_handler with final reasoning converted to minutes 2025-04-01 13:25:17 -06:00
dal 7d4aff5802
merging limit_query_engine_results 2025-04-01 12:10:24 -06:00
dal bf008d70b1
apply optional limit to all query routes in query engine 2025-04-01 12:10:15 -06:00
dal 6c02bbe958
passing up data source id for run sql to consume 2025-04-01 12:09:11 -06:00
dal 8899fb8549
timeout and file message 2025-04-01 11:26:29 -06:00
dal ec0524f83a
fix on chart config object 2025-03-31 15:23:42 -06:00
dal bbd326ebde
detailed errors on chart configs 2025-03-31 15:09:51 -06:00
dal d7fb0f75ea
merging sql_analyzer_improvements 2025-03-28 15:51:08 -06:00
dal 0937798f6a
semantic work 2025-03-28 14:16:21 -06:00
dal a2273a81b5
bulk on favorite reqs 2025-03-28 13:47:37 -06:00
dal 169c0de789
update permission check on metric sharing 2025-03-26 11:25:46 -06:00
dal fc79ff8d67
search functionality through rest 2025-03-25 15:03:34 -06:00
dal df341a0ac5
Merge branch 'evals' into api_search_rest_endpoint 2025-03-25 14:31:07 -06:00
dal 22322f0711
search functionality 2025-03-25 14:31:02 -06:00
dal 60e54d0257
restore chat assets 2025-03-25 12:55:39 -06:00
dal 2c659955ed
final touches on chat restoration 2025-03-25 12:38:49 -06:00
dal 3c9c014ede
Improve chat restoration message format
- Updated the restoration message format to use response_messages instead of request_message
- Added proper message structure with both file and text messages in a single response
- Updated integration tests to match the new format
- Set empty request_message as required

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-25 12:32:25 -06:00
dal b3dc70bc21
Add chat asset restoration functionality
Implemented the ability to restore previous versions of metrics and dashboards through the chat interface. Key changes include:
- Created restore_chat_handler.rs to handle the restoration logic
- Added a new REST endpoint at PUT /chats/{id}/restore
- Updated module exports for the new functionality
- Added comprehensive integration tests
- Updated PRDs with implementation details

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-25 12:27:46 -06:00
dal 87133bda96
merging put_organization_endpoint 2025-03-25 11:51:02 -06:00
dal ae594af0ad
added the put organization endpoint 2025-03-25 11:50:53 -06:00
dal 49990d847f
merging dashboard_restore 2025-03-25 11:30:58 -06:00
dal 05a8b4b2c9
add in dashboard restore 2025-03-25 11:30:53 -06:00
dal 168972be6d
metric restore to version 2025-03-25 11:28:44 -06:00
dal f42213f715
added in optional prompt and normalized the asset id and filed 2025-03-25 11:04:55 -06:00
dal adcbca66aa
remove some deprecated tests 2025-03-25 09:32:35 -06:00
dal 5c88eda5c6
name bugs on chats and logs 2025-03-24 23:14:54 -06:00
dal 8a79550bfe
ok access controls fully implemented 2025-03-24 23:09:36 -06:00
dal 0bc489c5f7
ok dashboards 2025-03-24 23:09:36 -06:00
dal 0e051bfb13
access control changes so far 2025-03-24 23:09:36 -06:00
dal da62ce2222
fix on merge conflict 2025-03-24 13:57:40 -06:00
dal 13938a8140
merging data_source_endpoints 2025-03-24 13:54:35 -06:00
dal c19c824e47
data source endpoints 2025-03-24 13:54:23 -06:00
dal 89dffd1c6a
data source and supabase create client 2025-03-24 13:46:03 -06:00
dal edb9d2090a
endoints and handlers built moving on to testing 2025-03-24 13:25:35 -06:00
dal 0686febbfb
add in supabase helper 2025-03-24 13:17:37 -06:00
dal 4c052e0c03
type on get data source handler 2025-03-24 12:24:08 -06:00
dal 5be0347a1b
default database, schema, etc. 2025-03-24 12:11:40 -06:00
dal 6adf84b8d3
update version param on updates for dashboard and metric pushed up 2025-03-24 11:15:24 -06:00
dal 7448967a7d
version number on data 2025-03-24 10:54:26 -06:00
dal 1dcf3cee05
move metric title to name across ap 2025-03-24 09:46:46 -06:00
dal 2ef2ad1499
update prds for permissions 2025-03-22 14:58:56 -06:00
dal b569c8750b
fix handoff tool 2025-03-22 14:27:20 -06:00
dal dbe2c3d6b7
handoff agent 2025-03-22 00:05:43 -06:00
dal 5a8e117019
created sql analyzer lib 2025-03-21 23:44:49 -06:00
dal badfac6e55
user permission checks and cache on user with other prds 2025-03-21 23:17:28 -06:00
dal cf73c809f1
remove bad functions out of handlers 2025-03-21 16:38:11 -06:00
dal 40c53041c4
merging asset_permission_admin_check 2025-03-21 15:20:24 -06:00
dal 04780d8f72
asset permission admin check 2025-03-21 15:20:16 -06:00
dal 460a7d0131
make sure we have title on chat objects being update 2025-03-21 15:07:50 -06:00
dal 2a61306c17
prds and starting to filter out the credentials 2025-03-21 14:37:13 -06:00
dal 01f2c76ac3
update dashboard name 2025-03-21 14:09:09 -06:00
dal 326dfaaea1
add more claude context and docs 2025-03-21 13:48:37 -06:00
dal ff004035b1
clean up merge conflict 2025-03-21 13:24:46 -06:00