-
Notifications
You must be signed in to change notification settings - Fork 136
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
unit test for tag store #186
Conversation
Possible Issues And Suggestions:
MR Evaluation:This feature is still under test, evaluation are given by AI and might be inaccurate. After evaluation, the code changes in the Merge Request get score: 95-100. TipsCodeReview Commands (invoked as MR or PR comments)
CodeReview Discussion ChatThere are 2 ways to chat with Starship CodeReview:
Note: Be mindful of the bot's finite context window. CodeReview Documentation and Community
About Us:Visit the OpenCSG StarShip website for the Dashboard and detailed information on CodeReview, CodeGen, and other StarShip modules. |
The TipsCodeReview Commands (invoked as MR or PR comments)
CodeReview Discussion ChatThere are 2 ways to chat with Starship CodeReview:
Note: Be mindful of the bot's finite context window. CodeReview Documentation and Community
|
MR Summary:
The summary is added by @codegpt.
This Merge Request introduces unit tests for the tag store functionality in a project's database layer. It removes unused code related to tag upsertion and simplifies the removal of repository tags. Key updates include:
UpsertTags
function and related unused import ("slices"
).RemoveRepoTags
method to directly delete tags without using transactions.tag_test.go
) covering various tag store operations, such as creating, finding, saving, and removing tags, as well as managing tags by scope, category, and repository association.