You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[core] Add structured logging to experimental mutable object components (#52484)
## Why are these changes needed?
To improve log parsing and filtering capabilities by adding structured
context to log messages using `WithField()`.
This PR addresses the following files in #52468:
- src/ray/core_worker/experimental_mutable_object_manager.cc
- src/ray/core_worker/experimental_mutable_object_provider.cc (No need
to improve after checking)
Before:
<img width="1047" alt="截圖 2025-04-23 下午4 49 21"
src="https://github.com/user-attachments/assets/fb7288a2-d657-482b-a05d-a7d0fe894596"
/>
After (using `.WithField()`):
<img width="1052" alt="截圖 2025-04-23 下午4 38 25"
src="https://github.com/user-attachments/assets/17dfa107-8384-4ba0-ae45-3b43b5937eca"
/>
## Related issue number
Close#52474
## Checks
- [x] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [x] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference. For example, if I
added a
method in Tune, I've added it in `doc/source/tune/api/` under the
corresponding `.rst` file.
- [ ] I've made sure the tests are passing. Note that there might be a
few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
- [ ] Unit tests
- [ ] Release tests
- [ ] This PR is not tested :(
---------
Signed-off-by: chuang0221 <chuangellow@gmail.com>
0 commit comments