Fetch server-info endpoints sequentially with per-endpoint degradation - #8
Merged
Conversation
A live smoke test against apibugzilla.suse.com showed the deployment dropping one of four connections opened concurrently by one client, which failed the whole bugzilla_server_info tool. Fetch the four endpoints one at a time instead, degrade a failing endpoint to null fields with the sanitized reason under "unavailable", and error only when every endpoint fails. Drops the now-unused hand-rolled Join2 combinator. Also add a README note about instances whose interactive host sits behind an anti-bot challenge and expose a dedicated API host.
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.
Found by a read-only smoke test against a real Bugzilla (apibugzilla.suse.com): the deployment drops one of four concurrent connections from a single client, which made bugzilla_server_info fail wholesale. Sequential fetch + graceful per-endpoint degradation (sanitized reasons under
unavailable, hard error only if all four fail). Removes the now-dead Join2 combinator; adds a README note about bot-walled interactive hosts vs dedicated API hosts. Verified live: full server_info payload from Bugzilla 5.0.6 after the fix.