Repository navigation
Conversation
6 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Closes no issue automatically. Tracks #266.
Base:
devat1660a83372f1cba1fb34003a1af9d9847a7609bfHead:
chatgpt/n27-z0int-freefanoutChanged files
tests/test_free_fanout_units.py(10 hermetic pytest tests).Tests / acceptance map
test_plan_for_shape— Exact single-candidate plan metadatatest_fanout_plan_inserts_root_once_and_calls_build_fanout— Fake Kerdoios import, root insertion without duplication, 3/default-5 workerstest_one_passes_free_only_task_to_execute_plan— Free-only task arguments, policy/provider identity, plan and receipt sinktest_one_projects_attempts— Attempt-field projection, absent extras, missing/None attempts and refusal passthroughtest_one_maps_execute_plan_exception_to_class_name— RuntimeError class-only mapping without leaking message/modeltest_one_refuses_when_no_free_route_without_executing— No validated route refuses before dispatchtest_run_report_fields— Full report schema, requested worker count, ordered rows, plan identity, working counttest_run_with_no_slots— Zero-slot pool clamp and empty reporttest_main_parses_workers_flag_and_exit_codes— Explicit/default/sys.argv workers, JSON stdout and both exit codestest_main_bad_workers_value— ValueError/IndexError for bad/missing flag without runAll 10 named tests authored, using stdlib + pytest +
z0int.free_fanout.Error/edge-path coverage: missing attempt metadata, execution exceptions, no validated route, empty slots, invalid CLI worker values.
External calls replaced by fakes:
blocked_provider,configuration,free_route,execute_plan, and plan builder (orfanout_planwhere relevant);Z0INT_HOMEisolated;sys.modules/sys.pathpatched for import handling. No network or real receipts.Diff verified through connector: only
tests/test_free_fanout_units.pychanged.Runtime test results require execution by maintainer/CI.
Verification
tests NOT RUN - ChatGPT cannot execute code
tests NOT RUN (written via connector)
Run from repository root:
Optional existing regression suite:
No pass counts, CI status or runtime evidence are claimed.