Skip to content
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

feat: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT #4769

Merged
merged 1 commit into from
Dec 1, 2022
Merged

feat: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT #4769

merged 1 commit into from
Dec 1, 2022

Conversation

friday
Copy link
Contributor

@friday friday commented Nov 29, 2022

This enables #4189 for two more error types. As mentioned in #4728 404 status results in BAD_HTTP_STATUS rather than HTTP_ERROR. I also think TIMEOUT should be included, and another issue was just created for this (#4764), so I included that as well.

If we don't want this, then an alternative is to make which errors to handle here configurable, but I thought I'd start with this suggestion.

Closes #4728
Closes #4764

@avelad avelad changed the title Enable variant failover for BAD_HTTP_STATUS and TIMEOUT fix: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT Nov 29, 2022
@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Nov 29, 2022
@avelad avelad added this to the v4.4 milestone Nov 29, 2022
@friday friday changed the title fix: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT feat: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT Nov 29, 2022
@friday friday changed the title feat: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT fix: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT Nov 29, 2022
@friday
Copy link
Contributor Author

friday commented Nov 29, 2022

Sorry @avelad. You beat me to it with the title change :D I'll let you determine if this is a fix or feat. I think it's possibly a behavior change (feat)?

@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

@avelad avelad changed the title fix: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT feat: Enable variant failover for BAD_HTTP_STATUS and TIMEOUT Dec 1, 2022
@avelad avelad added type: enhancement New feature or request and removed type: bug Something isn't working correctly labels Dec 1, 2022
@avelad avelad merged commit b46012d into shaka-project:main Dec 1, 2022
@friday friday deleted the variant-failover-condition branch December 2, 2022 07:38
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
2 participants