[Bug]: Platform API on SQL Server intermittently returns 500 on deployments in the integration suite
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start in tests/framework and run the SQL Server integration leg with the command in Steps to Reproduce; repeat until a failure occurs. Use its tracking ID to find the Platform API log line in the block's container-logs-* artifact, then trace the reported error to its cause. Done when the intermittent 500s are resolved or concurrent conflicts return a documented non-500 response, with the SQL Server integration leg passing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Please select the area the issue is related to
Platform API
Please select the aspect the issue is related to
Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)
Description
In the integration suite, mostly in its platform-api-core block, Platform API calls intermittently fail with 500 INTERNAL_ERROR ("An unexpected error occurred."). In the 30 days from 2026-10-20 to 2026-11-19 this failed at least 34 integration suite jobs on 24 different branches (counted from each failed run's latest attempt, so a failure whose re-run passed is not included), and in every one of them Platform API was running on SQL Server (the block's api-sqlserver_* legs). One of those jobs (2026-10-29) also had the same failure on a leg where Platform API ran on Postgres; no other job did.
Most of the failing calls create a deployment:
| Call | Failures |
|---|---|
POST /llm-providers/{id}/deployments |
17 |
POST /subscriptions |
4 |
POST /mcp-proxies/{id}/deployments |
3 |
POST /agent-proxies/{id}/deployments |
3 |
POST /graphql-apis/{id}/deployments |
2 |
GET /me/api-keys?type=AgentProxy |
2 |
PUT /agent-proxies/{id}, POST /rest-apis/{id}/deployments, POST /llm-proxies/{id}/deployments |
1 each |
An example response:
POST /api/v0.9/llm-providers/{id}/deployments -> 500
{"status":"error","code":"INTERNAL_ERROR","message":"An unexpected error occurred.","trackingId":"…"}
Cause: not known yet. The response carries a tracking id, but the Platform API log for these runs was not kept: the integration framework's block log capture stopped at the end of boot (fixed in #4375). One possibility is SQL Server lock contention or a deadlock between concurrent writes (the block runs two runners in parallel), but nothing confirms it yet. The next failure after #4375 will have the Platform API's log line for the tracking id in the run's container-logs-* artifact.
Expected
A deployment (and the other calls above) succeeds on SQL Server as it does on SQLite and Postgres. If a concurrent write genuinely conflicts, the Platform API retries it or returns a documented, non-500 error.
Failed jobs (34)
Steps to Reproduce
- From
tests/framework, run the block's SQL Server legs:go test ./suites/it -run TestIntegrationSuite -count=1 -v -args -blocks=platform-api-core/api-sqlserver_gateway-sqlite -logs. - Repeat until a scenario fails with
-> 500on a Platform API call, then look up the response'strackingIdin the Platform API lines of the block log underIT_LOG_OUT.
Severity Level of the Issue
Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)
Environment Details (with versions)
GitHub Actions, Integration Tests and Platform Tests workflows, integration suite jobs on pull request branches based on main, 2026-10-29 to 2026-11-18. Platform API built from source, on SQL Server.
- Lingua principale
- Go
- Stelle
- 85
- Fork
- 142
- Merge medio
- 1g 7h
- PR unite (30g)
- 255
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
wso2/api-platform#4468 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/api-platform#4465 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsForse già presa @Maheesh09 l’ha presa 1 giorno fa. ApertaArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wso2/api-platform#4437 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
wso2/api-platform#4369 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsApertaArea/Policies Aspect/Other Severity/Trivial Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
wso2/api-platform#4355 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di wso2/api-platform
Issue simili
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentForse già presa @cvas22 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
influxdata/telegraf#20264 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameApertaaccepted bug wg/enterprise-environment
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/semantic-router#7483 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
stacklok/toolhive-catalog#2076 ·
I maintainer di solito rispondono entro 1 giorno
-
vulncheck or vulndb
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
golang/go#83428 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gke-labs/kube-agents#7441 ·
I maintainer di solito rispondono entro 1 giorno