Commit Graph

3901 Commits

Author SHA1 Message Date
dal cdf9748cd0
Enhance metric fetching with user context and permission handling
- Updated `get_dashboard_handler` to pass user context when fetching metrics.
- Modified `get_metric_data_handler` to include user information for metric definition retrieval.
- Refactored `get_metric_for_dashboard_handler` to enforce permission checks based on user roles and public access rules.
- Introduced user permission filtering in dashboard and collection fetching functions.
- Improved error handling and logging for permission-related issues.
2025-07-07 11:55:26 -06:00
Nate Kelley fdc3c20ea4
Remove dashboard versions from page 2025-07-07 11:47:52 -06:00
Nate Kelley 1fb5310f76
Add more descriptions and remove logs 2025-07-07 11:44:20 -06:00
dal 1475c52503
Merge pull request #420 from buster-so/dallin/bus-1212-wire-up-slack-alerts-for-flagchat-and-major-assumptions
Dallin/bus-1212-wire-up-slack-alerts-for-flagchat-and-major-assumptions
2025-07-07 10:38:54 -07:00
Nate Kelley 9d5850cc07
update dashboard links 2025-07-07 11:37:25 -06:00
dal 03536b81c0
dupli describe in schema and other build errors 2025-07-07 11:37:07 -06:00
dal 76ac977adc
Refactor logging in environment validation scripts to use console.info for consistency 2025-07-07 11:33:33 -06:00
dal c658ebeeca
change console.log to console.info for linter. 2025-07-07 11:21:07 -06:00
dal 2256920997
Update apps/trigger/src/tasks/message-post-processing/message-post-processing.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-07 10:20:19 -07:00
dal 1f91ba14d5
Update packages/ai/src/steps/post-processing/schemas.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-07 10:19:40 -07:00
dal 4072f1b1f7
Update apps/server/src/api/v2/slack/services/slack-oauth-service.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-07 10:17:41 -07:00
dal 32073d8c03
env vars and oauth scopes 2025-07-07 11:03:40 -06:00
Jacob Anderson d0aad7c6af Fixes for horizontal bar chart and precomputed metric logic 2025-07-07 10:54:11 -06:00
Nate Kelley 48678dd226
Update new package creation script 2025-07-07 10:48:10 -06:00
Nate Kelley 80221a2837
Update access controls dev script 2025-07-07 10:44:43 -06:00
dal 2e4791158b
Enhance analyst agent task by integrating message post-processing functionality. Updated logging configuration in integration tests to use environment variable for project name. 2025-07-07 10:40:11 -06:00
Nate Kelley d8ac36da50
Fix broken unit test 2025-07-07 10:38:27 -06:00
Nate Kelley 24550298c3
Add a global vitest projects 2025-07-07 10:33:11 -06:00
dal 51c85c4384
Refactor message post-processing task to improve error handling and logging. Updated database update logic to include error logging and added type definitions for branch results. Adjusted integration test with a new message ID. 2025-07-07 10:31:51 -06:00
Nate Kelley ba6d1fe043
Fix broken unit tests 2025-07-07 10:28:32 -06:00
Nate Kelley 4203b352a1
Update pnpm-lock.yaml 2025-07-07 10:23:27 -06:00
Nate Kelley 584bbbaefe
Merge branch 'staging' into nate/dashboard-links 2025-07-07 10:22:37 -06:00
Nate Kelley e881f57640
Update server and trigger lints 2025-07-07 10:21:47 -06:00
Nate Kelley c432f7d1f5
Fix access control linting 2025-07-07 10:14:13 -06:00
Nate Kelley 5d532a2957
additional lint fixes 2025-07-07 10:12:31 -06:00
dal 3b01e5727b
added in the postProcessingMessage to the db 2025-07-07 10:10:47 -06:00
dal 0977195995
moved over processing logic 2025-07-07 09:57:48 -06:00
Nate Kelley 7e7aeb3480
lint fixes for ai packages 2025-07-07 09:57:04 -06:00
dal bc4ce29fc6
moving over slack processing work 2025-07-07 09:52:26 -06:00
Nate Kelley cf1b9b60ae
update some biome rules 2025-07-07 09:46:24 -06:00
Nate Kelley 1bf8418ab8
Remove a few any types from database 2025-07-07 09:40:06 -06:00
Nate Kelley 9637fbad86
Fix additional linting errors 2025-07-07 09:18:31 -06:00
Cursor Agent cdeafda0da Add Braintrust metadata retrieval for enhanced logging and tracing
Co-authored-by: dallin <dallin@buster.so>
2025-07-07 15:18:07 +00:00
Nate Kelley 0b5c8cb2e1
Merge pull request #418 from buster-so/cursor/create-unit-tests-for-schema-defaults-b3ac
Add comprehensive test suites for shared server type schemas
2025-07-07 08:30:12 -06:00
Nate Kelley 02a0986393
Update metric.types.test.ts 2025-07-07 08:29:49 -06:00
dal 21e08b9ac9
Merge pull request #416 from buster-so/cursor/optimize-unit-test-timeouts-6e59
Optimize unit test timeouts
2025-07-07 07:23:34 -07:00
dal cad08f9ddb
Merge pull request #419 from buster-so/cursor/create-root-turbo-dev-command-23a6
Global Dev Script Fixes
2025-07-07 07:23:18 -07:00
dal 15cd44eade
small trigger fix 2025-07-07 08:22:02 -06:00
dal 3091686823
package upgrades 2025-07-07 08:19:49 -06:00
dal 17b7eab3f8
Merge branch 'staging' into cursor/create-root-turbo-dev-command-23a6 2025-07-07 08:18:20 -06:00
dal 22dd7bd47c
root dev 2025-07-07 08:18:08 -06:00
Nate Kelley 90461c15b5
Merge branch 'staging' into nate/dashboard-links 2025-07-07 08:17:37 -06:00
dal 482009c01f
trigger upgrade and deployment update 2025-07-07 08:07:46 -06:00
Cursor Agent aa5449a4fa Reduce timeout duration in adapter timeout tests from 60s to 5s
Co-authored-by: dallin <dallin@buster.so>
2025-07-07 14:04:01 +00:00
Cursor Agent 22916b086d Update dev scripts and turbo configuration for multi-app development
Co-authored-by: dallin <dallin@buster.so>
2025-07-07 14:02:45 +00:00
dal 42268375f2
unit tests and integration with turbo, chats bug fix 2025-07-07 07:52:15 -06:00
Nate Kelley bee806b554
metric segments 2025-07-05 10:01:19 -06:00
Nate Kelley 34dfbd11b9
dashboard metric links 2025-07-05 09:35:28 -06:00
dal 683c842542
Merge pull request #415 from buster-so/cursor/update-chat-follow-up-permissions-for-admins-ce59
Update chat follow-up permissions for admins
2025-07-04 15:37:22 -07:00
Cursor Agent 964d107bb9 Refactor chat permission checks and update database helper functions
Co-authored-by: dallin <dallin@buster.so>
2025-07-04 15:21:36 +00:00