Skip to content

Conversation

@400Ping
Copy link
Contributor

@400Ping 400Ping commented Jan 20, 2026

Why are these changes needed?

There are some hardcode path in historyserver collector. We can use filepath to provide cross-platform capabilities for those filename paths.
For example, r.prevLogsDir = "/tmp/ray/prev-logs" -> r.prevLogsDir = filepath.Join("tmp", "ray", "prev-logs")

Related issue number

Closes #4393

Checks

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

Signed-off-by: 400Ping <jiekai.chang326@gmail.com>
return s3Client
}

func startMinioPortForward(test Test, g *WithT) string {
Copy link
Contributor

@JiangJiaWei1103 JiangJiaWei1103 Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems out of scope for this PR. I think it would be better to open another issue to track the flaky part of the collector tests. Thanks.

Btw, I'm thinking whether to switch to another issue to resolve the path issue at once here. If you're interested, you can take a look.

@400Ping 400Ping marked this pull request as ready for review January 20, 2026 17:08
@400Ping 400Ping force-pushed the historyserver/filepath-func branch from fc48fc8 to d8c6b82 Compare January 20, 2026 17:28
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.

[historyserver][collector] use filepath functions to handle file path.

2 participants