Skip to content

[core] Ray status doesn't work for all ostream-printable objects #51695

@dentiny

Description

@dentiny

What happened + What you expected to happen

ray::Status supports appending new content into the internal message string, but it doesn't supports all types.

ray/src/ray/common/status.h

Lines 330 to 334 in c796717

template <typename... T>
Status &operator<<(T &&...msg) {
absl::StrAppend(&state_->msg, std::forward<T>(msg)...);
return *this;
}

One concrete example might be directory dentry: https://en.cppreference.com/w/cpp/filesystem/directory_entry

Versions / Dependencies

N/A

Reproduction script

N/A

Issue Severity

None

Metadata

Metadata

Assignees

Labels

P2Important issue, but not time-criticalbugSomething that is supposed to be working; but isn'tcommunity-backlogcoreIssues that should be addressed in Ray CoreenhancementRequest for new feature and/or capabilitygood-first-issueGreat starter issue for someone just starting to contribute to Rayhelp-wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions