26 lines
808 B
Markdown
26 lines
808 B
Markdown
|
|
---
|
||
|
|
model: openai/gpt-5.6-sol
|
||
|
|
service: opencode
|
||
|
|
timestamp: 2026-08-20T15:02:50Z
|
||
|
|
git_ref: pformat_caller_frame_render_guard
|
||
|
|
diff_cmd: git diff HEAD~1..HEAD
|
||
|
|
---
|
||
|
|
|
||
|
|
## Prompt
|
||
|
|
|
||
|
|
After reviewing additional `tractor.devx.pformat` work suitable for
|
||
|
|
PR #503, the user approved fixing both send-side `MsgTypeError`
|
||
|
|
formatting failures and adding an end-to-end regression.
|
||
|
|
|
||
|
|
## Response
|
||
|
|
|
||
|
|
The generated code corrects the `MsgCodec.msg_spec_str` formatter
|
||
|
|
input, keeps `_mk_send_mte()`'s assembled default message a string,
|
||
|
|
and tests that the resulting `MsgTypeError` can be rendered:
|
||
|
|
|
||
|
|
> `git diff HEAD~1..HEAD -- tractor/msg/_codec.py tractor/_exceptions.py tests/devx/test_pformat.py`
|
||
|
|
|
||
|
|
These failures were hidden behind the original
|
||
|
|
`pformat_caller_frame()` keyword error addressed by the first two
|
||
|
|
commits on the branch.
|