Commit Graph

5182 Commits

Author SHA1 Message Date
dal 9abb787641
Merge pull request #740 from buster-so/github-workflow-updates
Sync GitHub workflows from staging & add manual deployment
2025-08-21 16:49:40 -06:00
dal a986258cf1
feat: sync GitHub workflows from staging and add manual deployment trigger
- Cherry-pick all workflow improvements from staging branch
- Add workflow_dispatch trigger to deploy.yml for manual deployments
- Support custom environment and image tag inputs for manual runs
- Update deployment logic to handle both automatic and manual triggers
- Improve deployment summaries to show trigger type and image tag
2025-08-21 16:48:30 -06:00
dal 5956c1e236
Merge pull request #738 from buster-so/github-workflow-updates
Optimize GitHub Actions workflows from staging
2025-08-21 15:50:11 -06:00
dal da9a89d527
feat: optimize GitHub Actions workflows
- Remove pnpm store permission fixes (no longer needed)
- Remove sticky disk Turbo cache mounts (simplified caching)
- Use direct pnpm install without --prefer-offline flag
- Add TURBO_CACHE_DIR and TURBO_TELEMETRY_DISABLED env vars
- Improve deployment workflow with better error handling and summaries
- Add platform specification and Docker cache optimization
- Simplify trigger deployment workflow

These changes improve CI/CD performance and reliability.
2025-08-21 15:49:06 -06:00
dal df5291be15
Merge pull request #730 from buster-so/hotfix-add-gpt5-to-fallback-chain
add gpt5 to fallback chain on sonnet 4
2025-08-21 09:19:16 -06:00
dal 1084bfd485
add gpt5 to fallback chain on sonnet 4 2025-08-21 09:18:58 -06:00
dal f968988368
Merge pull request #724 from buster-so/update-license-bsl
chore: update license to Business Source License 1.1
2025-08-20 09:15:50 -06:00
dal 40b0540e6f
chore: update license to Business Source License 1.1 2025-08-20 09:14:53 -06:00
dal 43077e4ad6
feat: add optimized Dockerfile.prebuilt for production deployments
This Dockerfile is designed for pre-built artifacts from GitHub Actions,
enabling faster and more efficient production deployments with minimal
runtime overhead and optimized layer caching.
2025-08-19 15:38:34 -06:00
dal a1b5b2479c
Merge pull request #720 from buster-so/promote-github-workflows
Promote GitHub workflow improvements from staging to main
2025-08-19 15:33:01 -06:00
dal f2dbbb56f6
feat: promote GitHub workflow improvements from staging to main
- Update CI workflow with parallel jobs and Blacksmith runners
- Improve database migration workflow with concurrency control
- Add docker-build-server workflow
- Update Porter deployment to use Blacksmith runners
- Enhance Trigger.dev deployment with better caching
2025-08-19 15:30:50 -06:00
dal 23f5541855
Add deploy workflow to main branch 2025-08-19 15:21:58 -06:00
dal 0ad5de5246
Merge pull request #717 from buster-so/staging
Slack DM functionality
2025-08-18 21:13:44 -06:00
dal 533e625be6
new trigger deployment version 2025-08-18 21:07:04 -06:00
dal a8d719de1d
upgrade trigger 2025-08-18 20:59:25 -06:00
dal 1fc47799f2
Merge pull request #716 from buster-so/dal-slack-messaging-improvements
Fix: Improve Slack messaging reliability and error handling
2025-08-18 20:45:40 -06:00
dal 247dcb36ef
lockfile? 2025-08-18 20:41:06 -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 f135f930cf
Merge pull request #715 from buster-so/staging
fix: throw error when Slack events API returns success: false
2025-08-18 15:30:00 -06:00
dal 4fe488e1bd
fix: throw error when Slack events API returns success: false
Ensure the Slack events endpoint never returns an HTTP 200 with success: false in the response body. Any failed event processing will now properly throw an error and return an appropriate error status code.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 14:43:03 -06:00
dal 0113abaabf
Merge pull request #714 from buster-so/staging
Slack Marketplace Updates
2025-08-18 13:44:59 -06:00
dal 35193e53ce
- fix lower case slack
- return error response on slack bot verification
- auth scope fix
2025-08-18 13:28:32 -06:00
Nate Kelley c1f9ca3622
Merge pull request #711 from buster-so/devin/BUS-1655-1755204122 2025-08-14 14:43:52 -06:00
Devin AI 4591762163 Fix three-dot dropdown alignment on dashboard metric cards
- Change align prop from 'center' to 'start' in MetricCardThreeMenuContainer
- This aligns the dropdown to the left/start edge instead of center
- Addresses BUS-1655: Top align three dot dropdown menu on dashboard cards

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-14 20:42:02 +00:00
dal e2a6454b33
Merge pull request #710 from buster-so/staging
hotfix on multiple trigger tasks for download
2025-08-14 12:39:05 -06:00
dal 2a7f17660f
hotfix on multiple trigger tasks 2025-08-14 12:11:20 -06:00
dal 40419ae4a6
Merge pull request #709 from buster-so/staging
Staging
2025-08-14 11:12:36 -06:00
dal f29a5b1232
Merge pull request #708 from buster-so/dal/csv-download-functionality
Dal/csv-download-functionality
2025-08-14 10:34:54 -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 55cf4ea98c
rollback another claude update that wasn't necessary 2025-08-14 09:43:12 -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 f7feb4b3d1
rolling back more of claudes mistakes - no need for them 2025-08-14 09:04:08 -06:00
dal ddbc47f0f9
revert the unneeded requests 2025-08-14 09:00:57 -06:00
dal 895e28f8d4
Refactor sharing request types and enhance asset icon mapping
- Updated sharing request types to use SharePermissionsUpdateRequest for clarity across collections, dashboards, and metrics.
- Enhanced asset icon mapping to include additional asset types for better UI representation.
- Improved error handling in the MetricDataTruncatedWarning component to provide user feedback during download failures.
2025-08-14 08:56:30 -06:00
dal a133653ccc
apos 2025-08-13 15:56:44 -06:00
dal c3107e1113
Add download functionality for metric files and enhance UI warning component
- Introduced a new API method to download metric files.
- Updated MetricDataTruncatedWarning component to include a download button for large datasets.
- Passed metricId as a prop to MetricDataTruncatedWarning for download functionality.
- Improved user experience by providing feedback during the download process.
2025-08-13 15:45:18 -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 24765701c7
Merge pull request #707 from buster-so/staging
Bugfix - display 5k limit in app
2025-08-13 12:02:52 -06:00
dal 94a127cb0e
build fix 2025-08-13 12:00:00 -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
Nate Kelley 73746ca41d
fix messy stories 2025-08-12 23:09:40 -06:00
dal c4da2a6af3
Merge pull request #703 from buster-so/staging
Staging
2025-08-11 17:54:19 -06:00
Nate Kelley 9079a768ab
fixed strange issue causing initial token to be undefined 2025-08-11 17:24:39 -06:00
dal 70193aad4f
fix lint issues 2025-08-11 16:57:49 -06:00