Commit Graph

4029 Commits

Author SHA1 Message Date
Devin AI 0176de6faf Fix unit tests across packages - move tests alongside source files and ensure proper mocking
- Fixed unit test failures in database, rerank, data-source, stored-values, and test-utils packages
- Moved unit tests from tests/ folders to be alongside source files (e.g., slack.ts -> slack.test.ts)
- Ensured all unit tests use mocks instead of real dependencies
- Added DATABASE_URL environment variable to test:unit scripts where needed
- Fixed mock implementations and test assertions
- All 52 unit tests now pass successfully

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:22:02 +00:00
Devin AI 96d0d219ee Fix remaining unit test issues in AI and data-source packages
- Fixed AI package unit tests that were previously failing
- Updated database package.json with environment variables for tests
- Fixed snowflake adapter test issues in data-source package

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:57 +00:00
Devin AI 135dd40410 Remove old test files after moving to source directories
- Removed empty test files from packages/rerank/tests/ and packages/stored-values/tests/
- All unit tests are now co-located with their source files

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:13 +00:00
Devin AI 281ef4a1a7 Add remaining unit test files alongside source files in test-utils package
- Added unit tests for database helper functions
- Added unit tests for mock helpers and environment helpers
- All test files now follow the convention of being alongside their source files

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:57 +00:00
Devin AI ce91c4e997 Move unit tests to be alongside source files
- Moved unit tests from tests/ folders to src/ directories in stored-values, rerank, and test-utils packages
- Updated import paths in moved test files
- Removed old test files from tests/ directories
- Tests now follow convention: if there's a file.ts, the test is file.test.ts in the same directory

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:40 +00:00
dal 69da316f6c
Merge remote-tracking branch 'origin/staging' into dallin/bus-1380-fix-unit-tests 2025-07-14 12:37:15 -06:00
dal a518f93f76
rest of them 2025-07-14 12:34:00 -06:00
dal 75cfb9d733
data source tests 2025-07-14 12:33:54 -06:00
Nate Kelley b43b0c92b8
Merge pull request #501 from buster-so/big-nate/bus-1352-todo-list-code-block-is-in-infinite-loading-state-with
Update styling for todo and reasoning file types
2025-07-14 12:09:02 -06:00
Nate Kelley c83d433510
Update styling for todo and reasoning file types 2025-07-14 12:07:29 -06:00
Nate Kelley 3592ed51ac
Merge pull request #500 from buster-so/cursor/replace-select-with-dropdown-component-39ce
update package versions
2025-07-14 11:56:36 -06:00
Nate Kelley a25ca23585
update package versions 2025-07-14 11:56:17 -06:00
Nate Kelley 01e895e8a5
Merge pull request #499 from buster-so/cursor/replace-select-with-dropdown-component-39ce
replace select with dropdown component 39ce
2025-07-14 11:51:49 -06:00
Nate Kelley a73502b047
Change styling for select button 2025-07-14 11:50:49 -06:00
Nate Kelley 90801c89c4
Merge branch 'staging' into cursor/replace-select-with-dropdown-component-39ce 2025-07-14 11:40:57 -06:00
Nate Kelley b72e8fa6c2
Merge pull request #498 from buster-so/cursor/add-alert-for-truncated-data-warning-2003
add alert for truncated data warning 2003
2025-07-14 11:39:28 -06:00
Nate Kelley faea66c14a
metric data truncate warning 2025-07-14 11:36:03 -06:00
Nate Kelley 3a2f66b7f2
Merge branch 'staging' into cursor/add-alert-for-truncated-data-warning-2003 2025-07-14 11:20:38 -06:00
Nate Kelley d6d7039829
Merge pull request #497 from buster-so/nate/currency-response
Nate/currency response
2025-07-14 11:15:29 -06:00
Nate Kelley 4ddd433a73
Delete tsconfig.workspace.json 2025-07-14 11:13:43 -06:00
dal 5a971dd8a1
fix on access-control tests 2025-07-14 11:01:53 -06:00
Nate Kelley ac073f00ee
Update settings.json 2025-07-14 11:00:06 -06:00
Nate Kelley 0b4228605c
update setting.json 2025-07-14 10:46:42 -06:00
Nate Kelley c30a5fa6d2
Update settings.json 2025-07-14 10:11:18 -06:00
Nate Kelley 8616aa75c8
Create global tsconfig 2025-07-14 09:44:10 -06:00
Nate Kelley 5352ae8f10
currency response 2025-07-14 09:41:25 -06:00
dal 2be9784516
Add unit and integration test scripts to package.json files across multiple packages 2025-07-14 09:11:20 -06:00
dal 58542c204d
Merge pull request #496 from buster-so/dallin/bus-1283-make-internal-slack-message-for-our-team-for-assumptions
slack and env for buster prod alerts
2025-07-14 07:51:42 -07:00
Nate Kelley b7c40e2ea8
Merge pull request #495 from buster-so/dallin/bus-1328-ability-to-kill-a-chat-while-running-stop-button
Dallin/bus 1328 ability to kill a chat while running stop button
2025-07-14 08:48:33 -06:00
Nate Kelley 70936e64a1
Merge pull request #494 from buster-so/big-nate/bus-1373-optimistically-grab-new-chats
Big nate/bus 1373 optimistically grab new chats
2025-07-14 08:47:38 -06:00
Nate Kelley 54b592fa37
Update apps/web/src/api/buster-electric/messages/hooks.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-14 08:47:19 -06:00
Nate Kelley cfa91882c9
Merge pull request #493 from buster-so/big-nate/bus-1369-auto-select-chat
Big nate/bus 1369 auto select chat
2025-07-14 08:47:01 -06:00
dal 2fbe815c27
claude fix for unit testing 2025-07-14 08:34:39 -06:00
dal 3821c0211a
slack and env for buster prod alerts 2025-07-14 08:19:57 -06:00
Cursor Agent 58f50f488d Add data truncation warning for metrics with over 5,000 records
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-07-13 14:44:48 +00:00
Cursor Agent 282584cb71 Replace Select with Dropdown for Slack channel selection
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-07-13 14:37:53 +00:00
Nate Kelley f84bf8e3d1
disable check 2025-07-13 08:28:11 -06:00
Nate Kelley 12acbc4264
Update buster.code-workspace 2025-07-13 08:25:21 -06:00
Nate Kelley bc623cdd30
stop chat 2025-07-13 08:21:53 -06:00
Nate Kelley d7142b838c
optimistically grab new chats 2025-07-13 08:17:16 -06:00
Nate Kelley fa42592b95
Focus input after chat comes in 2025-07-13 08:10:15 -06:00
Nate Kelley c0745bc0c2
Merge pull request #492 from buster-so/big-nate/bus-1379-make-ide-use-references-and-include-dist-folder
Big nate/bus 1379 make ide use references and include dist folder
2025-07-12 23:46:28 -06:00
Nate Kelley 906986b51e
Update inlcude 2025-07-12 23:46:09 -06:00
Nate Kelley e46d2cbc43
update settings 2025-07-12 23:40:41 -06:00
Nate Kelley 1718dccf2c
create workspace 2025-07-12 23:34:08 -06:00
Nate Kelley 963bf6b2f2
fix all of the bugs 2025-07-12 22:14:08 -06:00
Nate Kelley 4a1c4f73f0
Merge pull request #491 from buster-so/big-nate/bus-1355-make-it-so-regular-users-can-invite-others
Big nate/bus 1355 make it so regular users can invite others
2025-07-12 16:36:13 -06:00
Nate Kelley 4810daef9f
Update packages/server-shared/src/type-utilities/index.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-12 16:33:53 -06:00
Nate Kelley 4197cf799e
Update packages/database/src/connection.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-12 16:33:33 -06:00
Nate Kelley 708c649ded
Merge branch 'big-nate/bus-1355-make-it-so-regular-users-can-invite-others' of https://github.com/buster-so/buster into big-nate/bus-1355-make-it-so-regular-users-can-invite-others 2025-07-12 16:32:50 -06:00