Skip to content

[1/N][History server] History server to hold on to list of ClusterInfo#4856

Draft
chiayi wants to merge 1 commit into
ray-project:masterfrom
chiayi:history-server-cookie
Draft

[1/N][History server] History server to hold on to list of ClusterInfo#4856
chiayi wants to merge 1 commit into
ray-project:masterfrom
chiayi:history-server-cookie

Conversation

@chiayi
Copy link
Copy Markdown
Contributor

@chiayi chiayi commented May 20, 2026

Why are these changes needed?

This is part of updating log directory to:

cluster-history/
  raycluster/
    <namespace>/
      <cluster-name>/
          <session-name>/
             <node-name>/
                job_events/
                node_events/
                logs/

Since OwnerKind and OwnerName will be required, history server will have to hold on to the clusterInfo in order to know what cookies to add.

History server will hold on to a map of clusterInfo when clusters/ is called. enter_cluster/ will check if the user input exists in the map.

Related issue number

Part of #4708

Next PR will be the updating the log directory structure (different PR since I think it will be too big).

Checks

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

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