Skip to content

[Feature][history server] Support Endpoint /api/serve/applications/#4487

Draft
400Ping wants to merge 28 commits intoray-project:masterfrom
400Ping:historyserver/serve-applications-endpoint
Draft

[Feature][history server] Support Endpoint /api/serve/applications/#4487
400Ping wants to merge 28 commits intoray-project:masterfrom
400Ping:historyserver/serve-applications-endpoint

Conversation

@400Ping
Copy link
Contributor

@400Ping 400Ping commented Feb 6, 2026

Why are these changes needed?

This PR polishes the history server’s /api/serve/applications/ integration and adds E2E coverage for dead clusters.

Changes

  • Doc: Correct the Doc string for the /api/v0/logs route from "get appliations" to "get logs".
  • E2E path: Use "/api/serve/applications/" (with trailing slash) in HistoryServerEndpoints so it matches the registered route and avoids path mismatches.
  • Dead-cluster E2E: Add testServeApplicationsEndpointDeadCluster, which deletes the Ray cluster, waits for meta upload, then calls /api/serve/applications/ and asserts HTTP 200 and a JSON body that includes the applications field (aligned with the same response shape as the live path).

Related issue number

Closes #4385

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

popojk and others added 28 commits January 23, 2026 13:00
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: fweilun <william20020503@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
…ory_server' into add_metadata_write_logic_in_history_server

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
…ory_server' into add_metadata_write_logic_in_history_server

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Jie-Kai Chang <jiekaichang@apache.org>
Signed-off-by: 400Ping <jiekaichang@apache.org>
Signed-off-by: 400Ping <jiekaichang@apache.org>
Signed-off-by: 400Ping <jiekaichang@apache.org>
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.

[Feature][history server] support endpoint /api/serve/applications/

3 participants