Commit Graph

88 Commits

Author SHA1 Message Date
dal af83488ee0
fix rust asset type enum issues 2025-09-26 09:30:27 -06:00
Nate Kelley 299ed5d697
move supabase start to its own commands 2025-09-24 16:38:15 -06:00
Nate Kelley 6748819e39
error handling for auth login 2025-09-23 21:06:40 -06:00
Nate Kelley 4a98da74fa
build does not rely on start command 2025-09-23 11:15:45 -06:00
Nate Kelley 87a515a95f
add supabase app to workspace 2025-09-23 11:06:12 -06:00
Nate Kelley 5c55d6e6eb
update start commands 2025-09-23 10:03:11 -06:00
Nate Kelley 658109ae4b
api and supabase build and start 2025-09-23 10:01:28 -06:00
Nate Kelley 57711b146b
move supabase to be an app 2025-09-23 09:52:33 -06:00
Wells Bunker 4c9d035130
fix metric_file/id v2 endpoint 2025-09-22 12:19:39 -06:00
dal c9f5a64999
small change to datasets to kick off the build 2025-09-22 07:27:10 -06:00
dal 9c01bcb37c
seed script and db clean up 2025-09-20 15:15:26 -06:00
Wells Bunker c47f28a4bc
remove test file 2025-09-17 14:59:09 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
dal 666b0f463a
Credential Fix on Bigquery 2025-09-16 09:31:48 -06:00
dal 7055e091ad
bigquery credential mismatch 2025-09-16 09:05:02 -06:00
dal 3712a9b54b
credentials fix for bigquery. 2025-09-15 22:24:34 -06:00
dal eb657d558e
CLAUDE.md and README.md updates... 2025-09-15 15:06:41 -06:00
dal e5c8512c76
ok sync jobs to turbopuffer 2025-09-04 14:36:08 -06:00
Nate Kelley 9a76f633af
Update cursor rules for query requests 2025-08-29 09:34:49 -06:00
dal 8411a3907b
changes for workspace and individual permissions 2025-08-26 15:59:41 -06:00
dal 49e072979c
fix: add ReportContent variant to VersionContent enum
- Add ReportContent(String) variant to handle report version history
- Reports store content as plain strings unlike metrics/dashboards which use YAML
- Fixes deserialization error when fetching reports with version history
2025-08-22 10:20:33 -06:00
dal 7229faea25
fix: add report type support to collection REST endpoints
- Add 'report' case to add_assets_to_collection endpoint
- Add 'report' case to remove_assets_from_collection endpoint
- Update error response mappings to include ReportFile type
2025-08-22 10:15:12 -06:00
dal 41ca18ea98
feat: add report files support to collections functionality
- Create report_files.rs helper module with permission checking
- Add ReportFile asset type handling in add_assets_to_collection_handler
- Add Report variant to AssetToRemove enum for removal operations
- Include report files in collection queries and responses
- Follow existing patterns for MetricFile and DashboardFile
2025-08-22 09:59:24 -06:00
dal 4277181a71
Add ReportFile enum variant and implement related database schema and handlers 2025-08-22 08:44:48 -06:00
dal f9eece00d6
merge staging in 2025-08-18 14:39:59 -06:00
dal e0d03c6aab
Refactor data metadata handling and improve report creation logic. Updated SimpleType enum for better serialization, removed unused createDataMetadata function, and integrated createMetadataFromResults for data processing. Enhanced report creation with version history management and improved error handling in report updates. 2025-08-18 11:59:56 -06:00
dal c8d2c0ff0f
Refactor metric data handler and snowflake query to improve limit handling. Adjusted query limit logic to use display limit and added optional limit parameter to snowflake query function for better flexibility. 2025-08-13 11:38:44 -06:00
dal b96cb39b78
turbo fast web build 2025-08-11 11:33:18 -06:00
dal 9be23fac0e
Enhance SQL query safety checks with dialect-aware filtering and improve data source type retrieval in query engine 2025-08-05 11:00:34 -06:00
Nate Kelley ffeee17365
move enum types 2025-08-04 18:04:32 -06:00
dal 2cd36e47e1
feat: add Google Vertex AI and improve model handling
- Added support for Google Vertex AI model version 2.2.27 in pnpm-lock.yaml and package.json.
- Introduced new model wrappers for Sonnet4 and Haiku35 with fallback logic.
- Updated various agents to utilize the new Sonnet4 model instead of the previous anthropicCachedModel.
- Enhanced error handling and retry logic in the fallback model implementation.
- Increased processing row limit in Snowflake query to 5000 for better performance.
- Added tests for new AI fallback models and their streaming capabilities.
2025-07-23 07:22:52 -06:00
Nate Kelley 3199b38413
Merge branch 'staging' into devin/BUS-1477-1753139868 2025-07-22 09:02:36 -06:00
dal 43f88dd3a4
Merge pull request #580 from buster-so/devin/BUS-1468-1753084167
feat: implement idle tool for agent system (BUS-1468)
2025-07-22 08:44:59 -06:00
dal 6e626c2d2b
added in the itertools 2025-07-22 08:20:45 -06:00
Devin AI 64af03809c Remove custom connect_timeout parameter from Redshift connection
- Remove custom .options([("connect_timeout", "120")]) parameter
- Keep existing .acquire_timeout(Duration::from_secs(120)) which uses proper SDK methods
- This allows the SDK to handle connection timeouts using its default mechanisms

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-22 13:34:33 +00:00
Devin AI 1820dd6842 Implement consistent email sorting for individual_permissions arrays
- Backend: Add itertools imports and case-insensitive email sorting to collections, dashboards, and metrics handlers
- Frontend: Add email sorting to React Query mutation onMutate callbacks for share/unshare operations
- Ensures consistent alphabetical ordering by email across API responses and UI state
- Addresses BUS-1477 requirements for predictable individual_permissions ordering

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-22 12:41:40 +00:00
Devin AI 5082831630 Add consistent ordering to individual_permissions queries
- Add .order_by(users::email) to individual_permissions_query in dashboard handler
- Add .order_by(users::email) to individual_permissions_query in metrics handler
- Add .order_by(users::email) to individual_permissions_query in collections handler
- Ensures consistent alphabetical ordering by email across all endpoints

Fixes BUS-1477

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-21 23:17:59 +00:00
dal d1ab09999f
update so rust build works 2025-07-21 15:46:43 -06:00
dal 64992930a4
increase timeouts and a few lint fixes 2025-07-21 15:39:27 -06:00
Devin AI 5ca93b6de5 revert: remove Rust implementation, keep TypeScript-only idle tool
- Remove idle.rs file completely
- Revert all agent mode files to remove Idle tool integration
- Revert mod.rs to remove idle module
- Keep TypeScript implementation in packages/ai:
  - idle-tool.ts
  - index.ts export
  - analyst-agent.ts integration

Addresses user feedback to implement idle tool only in TypeScript packages/ai

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-21 18:09:19 +00:00
Devin AI 6f6e3ffbc9 feat: implement idle tool for agent system
- Add Rust implementation in idle.rs by copying from done.rs
- Add TypeScript implementation in idle-tool.ts by copying from done-tool.ts
- Update all agent modes (review, analysis, follow_up_initialization, planning) to include idle tool
- Update analyst-agent.ts to include idleTool
- Add idle tool to terminating_tools lists
- Export idle module and tool from respective index files

Addresses BUS-1468: idle tool indicates agent finished current work but available for future tasks

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-21 07:54:43 +00:00
Devin AI 9896b5cc90 Replace 'Unknown' user name fallback with email address
- Update Rust handlers to use user_email instead of 'Unknown' fallback
- Add user_email field to MessageWithUser and ChatWithUser structs
- Update database queries to select user email field
- Update TypeScript chat-helpers to use email fallback
- Maintain final fallback to 'Unknown'/'Unknown User' if email is null

Fixes BUS-1457

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 04:12:13 +00:00
dal 8ba6ee20a4
Merge branch 'devin/BUS-1453-1752871654' of https://github.com/buster-so/buster into devin/BUS-1453-1752871654 2025-07-18 15:11:27 -06:00
dal 227168bb62
BUS-1454: Add multiple color themes and refactor organization color palette retrieval logic 2025-07-18 15:10:38 -06:00
Devin AI c4da72173c BUS-1453: Address PR comments - fix duplicate color and improve org palette query
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-18 21:00:36 +00:00
Devin AI d5beb5edeb BUS-1453: Implement color fallback logic for metric handlers
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-18 20:50:33 +00:00
dal d7d4ab6401
ok filtering the chats and hiding shareWithChannel for now 2025-07-18 11:32:33 -06:00
Nate Kelley 9f86f337ff
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 22:13:53 -06:00
Nate Kelley 0a34db8989
revise front end to use shared components 2025-07-17 22:12:12 -06:00
Nate Kelley 10e37f07de
update all types to work better together 2025-07-17 18:51:45 -06:00