tractor/tests/msg
Gud Boi bffeba952a Use `aid.uid` over manual `(name, uuid)` tuples
The `.uid`->`.aid` migration (prior commits) re-assembled the
legacy uid pair by hand as `(x.aid.name, x.aid.uuid)`.
`Aid.uid` (`msg/types.py`) is the non-deprecated canonical
property returning exactly that pair, so swap to `x.aid.uid`
everywhere — byte-identical, just DRY + consistent.

Covers the 5 review-flagged source sites (`msg._ops`,
`devx.debug._sync`, `experimental._pubsub`, `_exceptions`)
plus the ~22 unflagged identical sites (`_streaming` f-string
logs + 6 test modules); also tightens the `_exceptions`
`our_uid` annotation to `tuple[str, str]`.

Review: PR #469 (copilot-pull-request-reviewer)
https://github.com/goodboy/tractor/pull/469#pullrequestreview-4575979601

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-06-27 21:38:30 -04:00
..
__init__.py Add `tests/msg/` sub-pkg, audit `pformat()` filtering 2026-03-12 18:32:31 -04:00
conftest.py Add `tests/msg/` sub-pkg, audit `pformat()` filtering 2026-03-12 18:32:31 -04:00
test_ext_types_msgspec.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
test_pldrx_limiting.py Add `set_fork_aware_capture`, timeout to msg tests 2026-06-17 17:39:44 -04:00
test_pretty_struct.py Drop unused import noticed by `copilot` 2026-03-13 11:52:18 -04:00