← Về thư mục
tests/test_delegation_task_status.py
- _submitted · function · L31-L43 — def _submitted(output=None, *, task_status=None, final_message=None, turns=2)
- _runner_with_store · function · L46-L51 — def _runner_with_store(**kwargs)
- test_submitted_child_defaults_to_completed_with_the_new_envelope_fields · function · L59-L89 — def test_submitted_child_defaults_to_completed_with_the_new_envelope_fields( monkeypatch, )
- test_declared_partial_and_blocked_are_preserved · function · L92-L107 — def test_declared_partial_and_blocked_are_preserved(monkeypatch)
- test_environment_reports_the_configured_spec_when_no_generation_exists · function · L110-L132 — def test_environment_reports_the_configured_spec_when_no_generation_exists( monkeypatch, )
- test_environment_prefers_the_childs_durable_generation · function · L135-L168 — def test_environment_prefers_the_childs_durable_generation(monkeypatch)
- run_and_register · function · L138-L153 — def run_and_register(self, task)
- _save_child_artifact · function · L176-L185 — def _save_child_artifact(agent, filename)
- test_missing_required_artifacts_downgrade_a_completed_claim · function · L188-L201 — def test_missing_required_artifacts_downgrade_a_completed_claim(monkeypatch)
- test_present_required_artifacts_keep_the_declared_status · function · L204-L218 — def test_present_required_artifacts_keep_the_declared_status(monkeypatch)
- run_and_save · function · L205-L207 — def run_and_save(self, task)
- test_trailing_star_globs_match_required_artifacts · function · L221-L234 — def test_trailing_star_globs_match_required_artifacts(monkeypatch)
- run_and_save · function · L222-L224 — def run_and_save(self, task)
- test_a_declared_failure_is_never_upgraded_by_present_artifacts · function · L237-L249 — def test_a_declared_failure_is_never_upgraded_by_present_artifacts(monkeypatch)
- run_and_save · function · L238-L240 — def run_and_save(self, task)
- test_malformed_require_artifacts_is_refused_before_reservation · function · L252-L263 — def test_malformed_require_artifacts_is_refused_before_reservation()
- test_max_turns_with_output_is_partial_and_lifecycle_failed · function · L271-L294 — def test_max_turns_with_output_is_partial_and_lifecycle_failed(monkeypatch)
- test_max_turns_with_no_output_at_all_is_failed · function · L297-L316 — def test_max_turns_with_no_output_at_all_is_failed(monkeypatch)
- test_error_child_is_failed_with_stop_reason_persisted · function · L319-L339 — def test_error_child_is_failed_with_stop_reason_persisted(monkeypatch)
- broken_run · function · L320-L321 — def broken_run(self, task)
- test_output_schema_violation_is_failed · function · L342-L361 — def test_output_schema_violation_is_failed(monkeypatch)
- test_cancelled_child_keeps_the_stopped_shape_without_task_status · function · L364-L394 — def test_cancelled_child_keeps_the_stopped_shape_without_task_status(monkeypatch)
- cancellable_run · function · L367-L378 — def cancellable_run(self, task)
- test_retries_rerun_a_failed_child_with_limitations_appended · function · L402-L430 — def test_retries_rerun_a_failed_child_with_limitations_appended(monkeypatch)
- scripted_run · function · L405-L412 — def scripted_run(self, task)
- test_terminal_attempt_stop_atomically_prevents_retry · function · L434-L491 — def test_terminal_attempt_stop_atomically_prevents_retry(monkeypatch, stop_method)
- paused_retry_spec · function · L444-L448 — def paused_retry_spec(spec, result, attempt)
- always_failed · function · L450-L452 — def always_failed(self, task)
- invoke · function · L458-L462 — def invoke()
- test_retries_are_clamped_to_two · function · L494-L509 — def test_retries_are_clamped_to_two(monkeypatch)
- always_blocked · function · L497-L499 — def always_blocked(self, task)
- test_completed_child_never_retries_and_default_is_zero · function · L512-L534 — def test_completed_child_never_retries_and_default_is_zero(monkeypatch)
- run_once · function · L515-L517 — def run_once(self, task)
- test_async_children_refuse_retries_before_reservation · function · L537-L544 — def test_async_children_refuse_retries_before_reservation()
- test_malformed_retries_is_refused · function · L547-L555 — def test_malformed_retries_is_refused()
- test_collect_carries_task_status · function · L563-L576 — def test_collect_carries_task_status(monkeypatch)