Repository navigation
refactor: add dbgen chat generators and migrate test boilerplate #24497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d419338
feat(coderd/database/dbgen): add Chat, ChatMessage, ChatModelConfig, …
johnstcn b9066bd
refactor: migrate 18 test files from raw InsertChat* to dbgen helpers
johnstcn 7167d6a
fix(coderd/x/chatd): use raw insert for disabled model configs
johnstcn 2125bf8
fix: address Copilot review comments
johnstcn b7dfcd3
fix: update callers for rebased function signatures
johnstcn 8c67005
fix: correct indentation in exp_chats_test.go
johnstcn 337465f
fix: apply gofmt indentation
johnstcn 41a0f10
fix: restore mock OpenAI server in seedChatDependencies
johnstcn 8cb05d1
fix: apply gofmt
johnstcn e67c437
fix: update new callers from main for rebased function signatures
johnstcn 8a03222
fix: address review comments (unused ctx, dropped message, duplicate …
johnstcn 0252e8a
Merge branch 'main' into cj/dbgen-chat-generators
johnstcn 7734d5d
remove new test
johnstcn d7c7e17
Merge branch 'main' into cj/dbgen-chat-generators
johnstcn 16aa1e8
fix: address dbgen chat review
johnstcn 13c0cc1
Merge remote-tracking branch 'origin/main' into pr-24497-dbgen-chat-h…
johnstcn 0f6550b
test: use dbgen chat helpers
johnstcn b83762c
fix: address chat review follow-up
johnstcn 33b08bd
Merge remote-tracking branch 'origin/main' into pr-24497-dbgen-chat-h…
johnstcn 952e92d
fix: update chat test helper call
johnstcn c59a60a
fix: stabilize chat promotion test
johnstcn 65208ae
fix: stabilize responses tests
johnstcn abb8b84
Merge branch 'main' into cj/dbgen-chat-generators
johnstcn f714757
test(coderd/x/chatd): use dbgen.Chat for direct inserts
johnstcn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.