57 lines
2.2 KiB
Markdown
57 lines
2.2 KiB
Markdown
|
|
---
|
||
|
|
model: claude-fable-5[1m]
|
||
|
|
service: claude
|
||
|
|
timestamp: 2026-06-10T17:10:22Z
|
||
|
|
git_ref: datad_service
|
||
|
|
diff_cmd: git log -1 -p --follow -- ai/prompt-io/claude/20260610T171022Z_4485f2b9_prompt_io.md
|
||
|
|
---
|
||
|
|
|
||
|
|
NOTE: diff-ref mode entry (code committed in the same
|
||
|
|
commit as this log); backfilled from the live dev
|
||
|
|
session transcript per the `/prompt-io` skill rules.
|
||
|
|
|
||
|
|
> `git log -1 -p --follow -- piker/service/_actor_runtime.py`
|
||
|
|
|
||
|
|
Generated: normalize each registry addr via
|
||
|
|
`tractor.discovery._addr.wrap_address()` before
|
||
|
|
`.unwrap()`-ing for the `accept_addrs` bind check —
|
||
|
|
entries may be raw `tuple`s when passed in from (test)
|
||
|
|
client code. Import-path precedent taken from
|
||
|
|
`piker/cli/__init__.py:336`.
|
||
|
|
|
||
|
|
> `git log -1 -p --follow -- piker/service/_registry.py`
|
||
|
|
|
||
|
|
Generated: `check_for_service()` ported to
|
||
|
|
`tractor.query_actor(name, regaddr=...)` (kwarg was
|
||
|
|
`arbiter_sockaddr=`), unpacking the new
|
||
|
|
`(sockaddr, portal)` yield, and passing the
|
||
|
|
now-required `open_registry(addrs=Registry.addrs)`.
|
||
|
|
|
||
|
|
> `git log -1 -p --follow -- tests/test_services.py`
|
||
|
|
> `git log -1 -p --follow -- tests/test_ems.py`
|
||
|
|
> `git log -1 -p --follow -- piker/brokers/deribit/api.py`
|
||
|
|
|
||
|
|
Key diagnostic reasoning (verbatim from session):
|
||
|
|
|
||
|
|
- the "DID NOT RAISE ContextCancelled" failure: in this
|
||
|
|
test the client actor IS pikerd (in-proc), and
|
||
|
|
current `tractor` main absorbs a `ContextCancelled`
|
||
|
|
whose canceller is your own actor — self-requested
|
||
|
|
cancels now exit cleanly instead of raising; the
|
||
|
|
'sigint' variant propagates a bare collapsed
|
||
|
|
`KeyboardInterrupt` rather than a
|
||
|
|
`BaseExceptionGroup`.
|
||
|
|
- the hard-coded `trio.fail_after(9)` startup budget is
|
||
|
|
marginal — full stack boot (pikerd -> emsd ->
|
||
|
|
brokerd.kraken -> paperboi + live kraken symbology
|
||
|
|
fetch) occasionally exceeds 9s -> bumped to 19s.
|
||
|
|
- `RemoteActorError.type` -> `.boxed_type`;
|
||
|
|
`Position.size` -> `.cumsize` (the paper engine
|
||
|
|
populates `BrokerdPosition.size` from `pp.cumsize`).
|
||
|
|
- overlap survey (user-requested): all of the
|
||
|
|
`repair_tests` branch commits are already in this
|
||
|
|
stack's ancestry; this commit finishes that branch's
|
||
|
|
port mission (its f4c4f1e2 fixed `conftest.py`'s
|
||
|
|
`arbiter_sockaddr` usage; this fixes the remaining
|
||
|
|
`test_services.py` + `check_for_service()` sites).
|