Repository navigation
fix: do not panic on duplicate height and priority - #70
Open
Tyagiquamar wants to merge 1 commit into
Open
Tyagiquamar wants to merge 1 commit into
Tyagiquamar wants to merge 1 commit into
Conversation
Identical-tag entries from different providers are collapsed. Conflicting tags return an error instead of crashing the daemon. Co-authored-by: Cursor <cursoragent@cursor.com>
Author
|
Hi, just following up on this when you get a chance. The branch is up to date and checks are green. If it looks good from your side, it should be ready to merge. Happy to make any changes if needed. Thanks! |
Contributor
|
Hi @Tyagiquamar We appreciate the contribution. It will take some time to review the patch. Also, please let us know what % of the code has been generated by the LLM. Thanks! |
Author
|
100% of the code in this PR was generated by an LLM. Thank you for reviewing it when you have time. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
resolvePrioritieswhen two upgrade or version entries share the same height and priority. That panic currently kills the Blazar process from the upgrade proposals watcher.Fixes #56
Test plan
TestSimultaneousProvidersstill asserts the panic on main.go test -mod=readonly -count=1 ./internal/pkg/upgrades_registryingolang:1.24-bookworm(PASS, 0.106s)go test -mod=readonly -race -count=1 ./internal/pkg/upgrades_registryingolang:1.24-bookworm(PASS, 1.314s)