Skip to content

[Bug]: Child question-answer regression times out without canonical execution diagnostics #1070

Open

Description

@XuPeng-SH

Observed behavior

The automatic regression suite for PR #1064, exact head cfd65fcd73063c5492b0bccd5fe057ed3a262d14, ran all 18 cases. Seventeen passed; flash_child_question_parent_answer / deepseek-v4.1-flash took 90.94 seconds and exited 124 (EfficiencyBoundsExceeded). A parent/child question-answer task did not complete within its existing 90-second bound.

Automatic run and job. The public final analysis reports run_tree_unavailable, unavailable/incomplete canonical execution evidence, and the expected final marker missing. It explicitly says zero reported provider counters do not prove zero usage or no tool execution.

Expected behavior

The child sends a typed parent question, waits for its correlated answer, then returns the requested marker. The parent answers and adopts the actual child result. A blocked or timed-out run should leave an explainable, authoritative result and useful bounded failure evidence.

Investigation boundary

The current public evidence confirms timeout and missing canonical diagnostics; it does not yet identify whether execution stalled at provider inference, question routing, correlated-answer delivery, adoption, cancellation, or evidence collection. Do not attribute this failure to SIGINT changes without a controlled reproduction. Do not increase the timeout, weaken assertions, retry paid inference, or claim a fix from a successful rerun.

Existing owning code and offline tests: crates/runtime/src/messaging/e2e_loop_tests.rs (asking_leaf_waits_for_parent_answer_before_it_can_complete, parent_can_answer_a_detached_child_using_its_exact_run_id); typed parent communication contract in crates/runtime/src/orchestration/spawner.rs; the public regression case in crates/astra-test-harness/cases/subagent_model_selection/flash_child_question_parent_answer.yaml.

Searches for the case name and child-question timeout found no existing issue. Root-cause diagnosis and deterministic old-fails/new-passes coverage are still required before proposing a product fix. No manual CI rerun was requested.

Source diagnosis: diagnostic ambiguity confirmed

Read-only tracing of the current verifier distinguishes missing capture from a captured tree rejected for successful-result certification. criteria.rs only emits this child-specific run_tree_unavailable after a verified stream identity and captured execution object reach verify_children. In execution_capture.rs, validated_runs requires the root to be Completed; a captured non-completed root is collapsed into the same run_tree_unavailable reason. Thus the published message does not establish that HTTP tree capture failed. It also does not expose which canonical non-completed state prevented validation.

The strict completed-root requirement is correct for certifying child adoption and must remain. A diagnostic fix should preserve that requirement while reporting a bounded, typed failure reason from the existing canonical execution state. It must not expose private prompts/tool payloads or introduce a second execution authority. This explains an observability defect; the underlying 90-second execution stall remains unproven and separately requires investigation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions