Description
Description
The new /status/ready endpoints only return 200 after configuration is fully loaded into all worker processes.
apisix/apisix/core/config_etcd.lua
Line 611 in e430a2b
But in CI script test_status_api.sh
, these endpoints are called immediately after make run. This occasionally causes CI failures because the workers haven’t finished loading configuration yet, and the endpoints respond with 503.
apisix/t/cli/test_status_api.sh
Lines 48 to 56 in e430a2b
see
https://github.com/apache/apisix/actions/runs/15176488267/job/42763756417#step:7:7552
As a workaround, we can retry the /status and /status/ready requests a few times in the CI script after make run, with a small delay, to wait for the config to be loaded.
failed ci tests:
https://github.com/apache/apisix/actions/runs/15155952361/job/42610819707
https://github.com/apache/apisix/actions/runs/15155952361/job/42610820574
https://github.com/apache/apisix/actions/runs/15176488267/job/42763756417
Metadata
Metadata
Assignees
Type
Projects
Status