Skip to content

test(handoff): synchronize SIGINT stdin fixture with protected read #344

Closed

Description

@abruption

Failure

Post-merge main CI 40611313475, macOS Python 3.13, fails test_sigint_is_metadata_only_130_without_fabricated_context: expected exit 130, observed native signal exit -2. Source: dac1c30b1553136b9379be0c6d94eef34ccbad51.

The fixture child prints READY before entering the try/read context. The parent immediately sends SIGINT. That marker does not establish that the protected handoff-stdin operation has started, so the test can signal before the path it intends to verify. This is an observed test failure and a concrete synchronization gap; the exact scheduling of the historical CI event has not been independently reconstructed.

Acceptance

  • Synchronize the fixture with the actual protected read/select point using a bounded first-party pipe/marker.
  • Preserve a real SIGINT, exit 130, exact metadata-only JSON, empty stderr and no fabricated context/effect assertions.
  • Add a deterministic delayed-entry control and verify on Python 3.9 and 3.13. Do not accept -2, suppress the test, weaken production behavior or merely increase a fixed sleep.
  • Keep the correction separate from runtime implementation and dependency refresh. If investigation instead finds a product defect, report it before broadening the patch.

Priority P2; v1.3.2 release-test maintenance. No live agent input, model invocation or operational change is part of this fixture correction.

Activity

  1. added this to the v1.3.2 milestone on Oct 28, 2026
  2. added
    bug
    priority:P2
    on Oct 28, 2026
  3. abruption commented on Oct 28, 2026

    @abruption
    OwnerAuthor

    Integrated verification

    PR #345 merged normally as a68c6cf16c234cd3fe72926e519e4178c093081a after all 28 checks and automatic code/security reviews completed without findings. Fresh main CI 40613421898 and CodeQL 40613422124 succeeded on that exact commit, including the previously failing Node audit and macOS Python 3.13 fixture.

    The fixture keeps real SIGINT, exact exit 130/metadata, empty stderr and an open stdin producer; only synchronization changed. Deterministic old-marker and mutation controls support the structural race correction, not a reconstruction of the original CI schedule. The Control dependency cohort is pinned at 1.7.7; no audit bypass was introduced. Source-config prerequisites and deployment limitations remain as documented.

    This completes the scoped source/test gate corrections. v1.3.2 version preparation and publication are still separate steps; no running service was deployed, restarted, revoked or migrated.

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

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions