Skip to content

test(spine): characterize evaluate_args resolved-dict shape - #69

Merged
larsrollik merged 2 commits into
mainfrom
test/evaluate-args-characterization
Aug 10, 2026
Merged

test(spine): characterize evaluate_args resolved-dict shape#69
larsrollik merged 2 commits into
mainfrom
test/evaluate-args-characterization

Conversation

@larsrollik

Copy link
Copy Markdown
Member

Snapshots the exact key set evaluate_args produces and the RunContext it derives, driven in --simulate --debug mode (_test_subject, no on-disk config) with the five I/O side effects mocked (logging, preflight, host session, host name/ip) so the pipeline is pure and deterministic.

This is the Phase-0 net for the planned evaluateRunContext migration: any change to the resolved-dict shape must update the snapshot deliberately. Together with the run_task boundary test (#66) and the RunContext/to_task_kwargs tests, the chain evaluate → RunContext → boundary is now pinned.

Also documents a boundary subtlety it surfaced: to_task_kwargs's only additions over the resolved dict are the serial_port_* keys — evaluate omits them for a no-setup run (TaskProcess defaults them to None), to_task_kwargs emits ""; all falsy, so equivalent at the boundary. Test-only.

Snapshot the key set evaluate_args produces and the RunContext it derives,
in --simulate --debug mode with the five I/O side effects mocked. The Phase-0
net for the planned evaluate to RunContext migration: any change to the resolved
shape updates the snapshot deliberately. Also pins that to_task_kwargs's only
additions over the resolved dict are the serial_port_* keys. Test-only.
@larsrollik
larsrollik requested a review from a team as a code owner August 10, 2026 20:52
Snapshot the key set evaluate_args produces and the RunContext it derives,
in --simulate --debug mode with the five I/O side effects mocked. The Phase-0
net for the planned evaluate to RunContext migration. Skips when no msw.tasks
entry points are registered (msw-core CI is isolated), so it runs in the full
workspace locally where the migration work happens. Test-only.
@larsrollik
larsrollik merged commit 14687f6 into main Aug 10, 2026
7 checks passed
@larsrollik
larsrollik deleted the test/evaluate-args-characterization branch August 10, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant