Skip to content

fix(serviceoffer): require 2xx for UpstreamHealthy probes - #758

Merged
bussyjd merged 1 commit into
integration/v0.14.0-rc0from
fix/upstream-healthy-2xx
Jul 15, 2026
Merged

fix(serviceoffer): require 2xx for UpstreamHealthy probes#758
bussyjd merged 1 commit into
integration/v0.14.0-rc0from
fix/upstream-healthy-2xx

Conversation

@bussyjd

@bussyjd bussyjd commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

UpstreamHealthy treated any HTTP status <500 as healthy, so a wrong healthPath returning 404 still set UpstreamHealthy=True and allowed Ready=True while paid traffic 404'd.

Now only 2xx counts as healthy.

Test plan

  • go test ./internal/serviceoffercontroller/ -run TestUpstreamHealthStatusOK

Part of v0.14.0-rc0 hackathon bugfix train.

Previously any status <500 counted as healthy, so a 404 healthPath left
offers Ready while paid traffic failed. Match real liveness: 2xx only.
@bussyjd
bussyjd merged commit e5eebc9 into integration/v0.14.0-rc0 Jul 15, 2026
@bussyjd bussyjd mentioned this pull request Jul 15, 2026
6 tasks
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.

1 participant