Commit Graph

588 Commits

Author SHA1 Message Date
dal 1084bfd485
add gpt5 to fallback chain on sonnet 4 2025-08-21 09:18:58 -06:00
dal 5e7467aefc
fix: improve Slack messaging reliability and error handling
- Add proper error handling for Slack API failures with typed responses
- Implement message operation types for better type safety
- Add retry logic with exponential backoff for transient failures
- Export webhook types for external consumers
- Update Slack agent task to handle errors gracefully and continue processing
- Add proper validation and error messages for failed operations
- Include structured error tracking for debugging

🤖 Generated with Anthropic

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:36:29 -06:00
dal f8f9f4b0e0
few tweaks from greptile comments 2025-08-14 10:19:40 -06:00
dal 0428552454
lint build test fixes 2025-08-14 09:55:37 -06:00
dal 6c4fbe027f
Refactor chat types and remove unnecessary request schema
- Updated chat types to include AssetPermissionRoleSchema for better clarity.
- Removed the ShareUpdateRequestSchema as it was deemed unnecessary.
2025-08-14 09:15:39 -06:00
dal ddbc47f0f9
revert the unneeded requests 2025-08-14 09:00:57 -06:00
dal e5481bc30a
Refactor chat asset type conversion and enhance error handling
- Changed chatAssetTypeToDatabaseAssetType to a Partial<Record> for better type safety.
- Updated convertChatAssetTypeToDatabaseAssetType to throw an error for unmapped asset types.
- Modified downloadMetricFileHandler tests to use fake timers and improve timeout handling.
- Updated report sharing endpoint to use SharePermissionsUpdateRequest for better clarity.
- Renamed schemas in server-shared for backward compatibility while maintaining clarity.
- Adjusted GetTitleRequestSchema to restrict asset types to those supporting title retrieval.
2025-08-13 14:55:37 -06:00
dal 35623ad987
Integrate access controls with metric file downloads
- Added permission checks to metric file download handler
- Added permission checks to export-metric-data trigger task
- Created comprehensive tests for access control integration
- Updated AssetType enums to include report_file
- Resolved export conflicts in server-shared package
- Fixed AI package imports for new getPermissionedDatasets API
2025-08-13 14:25:41 -06:00
dal ebe496df87
Merge access-controls branch and resolve conflicts
- Combined asset type enums from both branches
- Merged all database query exports
- Integrated access-controls package into server-shared
- Resolved conflicts in AI package instructions
2025-08-13 14:15:20 -06:00
dal 594f08202b
Refactor metric file handling and improve error handling
- Updated type definitions for better clarity and type safety in metric file download and export tasks.
- Enhanced error handling in the metric files API to utilize HTTPException for more consistent error responses.
- Added environment variable validation in export tasks to ensure necessary credentials are present before execution.
- Improved type assertions for content in metric export queries to ensure proper handling of JSONB data.
2025-08-13 14:01:46 -06:00
dal a3c4238da1
lint fix 2025-08-13 13:48:28 -06:00
dal 3eb80ae630
Add metric file export functionality with Cloudflare R2 support
- Introduced new API endpoint for downloading metric files as CSV.
- Implemented export logic to handle large datasets (up to 1 million rows) and generate presigned URLs for secure downloads.
- Added cleanup task to remove exported files from R2 storage after 60 seconds.
- Updated environment configuration to include Cloudflare R2 credentials.
- Enhanced error handling for various export scenarios.
- Refactored related database queries and schemas for better integration.
- Updated documentation for new features and usage instructions.
2025-08-13 13:36:42 -06:00
dal 70193aad4f
fix lint issues 2025-08-11 16:57:49 -06:00
dal 4e7f6b080e
no reports in todos 2025-08-11 16:22:50 -06:00
dal 95c29cf507
Refactor analyst and think-and-prep agent instructions to remove report generation capabilities and streamline workflow. Update the analyst agent to exclude report-related tools and adjust think-and-prep instructions for clarity and focus on analysis preparation. Ensure consistent handling of SQL guidance and improve overall structure for better readability. 2025-08-11 15:58:07 -06:00
dal 317b7cb8c3
bump max tokens 2025-08-11 15:41:34 -06:00
Nate Kelley 48fa337303
can parse dollar signs 2025-08-11 15:10:55 -06:00
Nate Kelley 438bec4ce4
Fix caption parser 2025-08-11 15:01:08 -06:00
Nate Kelley a5b175d418
Update create-todos-step.ts 2025-08-11 14:54:12 -06:00
Nate Kelley ec7d27167f
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-08-11 14:53:43 -06:00
Nate Kelley 9dd37de7cd
Add tests for metric caption parsing 2025-08-11 14:53:41 -06:00
dal 4ace4d337e
Revert 'Testing some new GPT 5 metaprompts' from commit 1f4f31909
This reverts commit 1f4f319098 which made changes to:
- analyst-agent-instructions.ts
- think-and-prep-instructions.ts
- investigation-instructions.ts
- format-analysis-type-router-prompt.ts
- create-todos-step.ts

Reverting Jacob's experimental prompt changes.
2025-08-11 14:33:07 -06:00
dal 2540f6e195
Revert "Improved Report Prompt"
This reverts commit ed056878e1.
2025-08-11 14:31:35 -06:00
dal 1c0a6b4f0f
move back to anthropic models 2025-08-11 14:27:16 -06:00
dal c6f4ac3902
verbosity low 2025-08-11 14:07:16 -06:00
dal 47f2e38557
priority tier 2025-08-11 13:55:43 -06:00
Nate Kelley 23411f25c6
report editor updates 2025-08-11 13:40:01 -06:00
Nate Kelley 78374e7ddf
Update server editor 2025-08-11 13:13:33 -06:00
dal b96cb39b78
turbo fast web build 2025-08-11 11:33:18 -06:00
dal 5d21fd4782
Merge pull request #698 from buster-so/GPT-5-MetaPrompting
Improved Report Prompt
2025-08-11 10:16:04 -06:00
jacob-buster ed056878e1 Improved Report Prompt 2025-08-11 10:13:22 -06:00
Nate Kelley 95d081766e
update imports 2025-08-08 20:39:15 -06:00
Nate Kelley 9a88c67b9b
Merge pull request #689 from buster-so/GPT-5-MetaPrompting
Testing some new GPT 5 metaprompts
2025-08-08 17:01:08 -06:00
jacob-buster 1f4f319098 Testing some new GPT 5 metaprompts 2025-08-08 16:10:46 -06:00
dal 51b7d4e691
Remove serviceTier option from OpenAI configuration in analyst and think-and-prep agents 2025-08-08 15:25:52 -06:00
dal b00b5c6858
Add serviceTier option to OpenAI configuration in analyst and think-and-prep agents 2025-08-08 14:32:21 -06:00
dal e21ac9d1e1
low verbosity on anlysis router 2025-08-08 14:31:14 -06:00
dal 63450d31d7
low verbosity 2025-08-08 14:30:04 -06:00
dal 663bafdb41
dumb down and make smarter 2025-08-08 14:21:51 -06:00
dal 14092b08be
move everything over to gpt5 2025-08-08 13:29:59 -06:00
Nate Kelley 5456561734
add a better markdown converter 2025-08-08 09:57:05 -06:00
Nate Kelley e9fb9f0199
Merge pull request #681 from buster-so/big-nate-bus-1647-make-report-top-level-button
Big nate bus 1647 make report top level button
2025-08-07 23:46:16 -06:00
Nate Kelley 51f896d19e
Add title skeletons 2025-08-07 23:24:28 -06:00
Nate Kelley 064bc3e9c9
use client updates 2025-08-07 22:04:50 -06:00
Nate Kelley b6df224590
Merge pull request #677 from buster-so/big-nate-bus-1647-make-report-top-level-button
Big nate bus 1647 make report top level button
2025-08-07 17:32:31 -06:00
dal 8987ca17a1
parallelToolCalls 2025-08-07 17:26:47 -06:00
Nate Kelley 0969a1cbd3
Merge branch 'staging' into cursor/add-report-menu-options-and-stub-functions-e636 2025-08-07 17:22:18 -06:00
Nate Kelley 216e610aa8
Added some additional safe parse element stuff 2025-08-07 17:21:38 -06:00
Nate Kelley 75950ae108
super nested list items 2025-08-07 17:01:45 -06:00
Nate Kelley 7a45e20903
Add more error handling for get report 2025-08-07 16:42:04 -06:00