Skip to content

Conversation

@drozdziak1
Copy link
Contributor

Previously, we used 307 Internal Redirect to tell k8s that we're still waiting for the healthcheck window to fill up. Unfortunately, k8s assumes 3XX as a success, which wrongly tells it that the service is ready. Changing to 503 causes the expected probe failure to appear when the healthcheck state is not yet determined.

This change is a hotfix for attester client 4.0.0 and bumps the version to 4.1.0

Previously, we used 307 Internal Redirect to tell k8s that we're still
waiting for the healthcheck window to fill up. Unfortunately, k8s
assumes 3XX as a success, which wrongly tells it that the service is
ready. Changing to 503 causes the expected probe failure to appear
when the healthcheck state is not yet determined.
@vercel
Copy link

vercel bot commented Feb 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated
example-oracle-amm ⬜️ Ignored (Inspect) Feb 28, 2023 at 3:37PM (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Feb 28, 2023 at 3:37PM (UTC)

@drozdziak1 drozdziak1 merged commit 3106ade into main Feb 28, 2023
@drozdziak1 drozdziak1 deleted the drozdziak1/pyth-wormhole-attester-client-healthcheck-http-code-fix branch February 28, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants