Repository navigation
Recover ListenBrainz lookups when now-playing stalls - #188
Merged
Merged
Conversation
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.
Cause
A stalled optional now-playing request consumed the entire lookup deadline, preventing the independent recent-listens endpoint from answering. This was reproduced outside GoBot while the recent-listens endpoint remained responsive.
Fix
Passed validation
Deployment and remaining upstream limitation
Merged and deployed revision
ce49ce1, rebuilt with Go 1.26.11, and restarted successfully. Running executable metadata matches the unmodified revision; both networks and all four configured channel memberships are healthy. Production configuration, environment and certificate checksums are unchanged; stored data was not manually modified.Live provider verification remains blocked by upstream failures. Repeated deployment-host checks returned HTTP 502 or timed out, including independent HTTP/1.1 and HTTP/2 requests and other public users. The code fix cannot recover fresh data when both upstream endpoints are unavailable. These live checks failed and are not represented as passing tests. During those failures, the command retains its deadline, reports the API failure honestly and provides a profile link rather than treating missing data as empty history.