You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: GET /v1/health/queue/failed/:name rejects the v1-executions and v1-jobs queues #14632
On a self-hosted instance (main @ ad2e97e), call GET /v1/health/queue/failed/v1-executions with an API key that has health.read.
Do the same for GET /v1/health/queue/failed/v1-jobs.
👍 Expected behavior
Both return the failed-job count, as they do for the other 14 worker queues. Both queues have dedicated workers (app/config/workers.php:47 jobs, :62 executions) and publishers (app/init/resources.php:213, :291).
👎 Actual Behavior
Both return 400. The name param's WhiteList in src/Appwrite/Platform/Modules/Health/Http/Health/Queue/Failed/Get.php:44-58 doesn't list Event::EXECUTIONS_QUEUE_NAME or Event::JOBS_QUEUE_NAME, and the publisher map at lines 101-114 has no entry for them. As a result, operators can't monitor failed function executions or failed manual-upload build jobs.
The two queues were added after the whitelist (executions in b432918, jobs in d1b1ab9). The notifications queue was added to the whitelist when it shipped (62b0314).
Proposed fix: add both queue names (with their _APP_EXECUTIONS_QUEUE_NAME / _APP_JOBS_QUEUE_NAME env overrides) to the whitelist and the publisher map. Add an e2e case in tests/e2e/Services/Health. This adds two values to the HealthQueueName SDK enum.
Thanks @ChiragAgg5k! As you mentioned on Discord, the Health service is planned for removal and isn't actively used anymore, so I'm closing this as not planned. Happy to pick up something else instead.
Activity
555aaditya commentedon Oct 18, 2026
I'd like to fix this: add both queues to the whitelist and the publisher map, with an e2e case in
tests/e2e/Services/Health. Could I be assigned?555aaditya commentedon Oct 18, 2026
Thanks @ChiragAgg5k! As you mentioned on Discord, the Health service is planned for removal and isn't actively used anymore, so I'm closing this as not planned. Happy to pick up something else instead.