feat: supercharge config — elapsed_seconds, exit_code in all JSON paths
- Add import time + t0 = time.monotonic() to run_read, run_get, run_set - Expand _GetJson and _SetJson TypedDicts with elapsed_seconds, exit_code - run_read --json: injects elapsed_seconds + exit_code into config dict - run_get --json: adds elapsed_seconds + exit_code to output object - run_set --json: adds elapsed_seconds + exit_code to output object - Update module docstring JSON schemas - Fix test_json_is_pretty_printed -> test_json_is_compact (indent=2 removed) - Fix 2 timing-comparison tests that naively diffed full dicts - Fix test_json_empty_config_is_empty_object (now has timing keys) - 30 new tests: TestElapsedSeconds(9), TestExitCode(6), TestJsonSchemaComplete(5)
sha256:765230c8c70024aa6c3cb41533640cf665d767cc952607ac7f89468f1e8db6ad
sha
sha256:4d661b7f5e4914beb2e18f4b1e69d637cebd5a8434984177f46697f4fb555436
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:765230c8c70024aa6c3cb41533640cf665d767cc952607ac7f89468f1e8db6ad --body "your comment"
No comments yet. Be the first to start the discussion.