Skip to content

native-proof: native qualification fails on main and the integration base for five harness and environment causes #4419

Open

Description

@schlessera

Part of #4278. Found by the epic's native measurement run on boat.dev VMs (4 vCPU, 8 GB, Ubuntu 24.04, bubblewrap 0.9.0). Every group below fails on main or on the integration base before any of the epic's feature PRs, so bun scripts/prove-native-host.ts --observation-timing gives no regression signal on these runners today.

Context

  • G1 (20 of 20 Pi UID 0 runs, environmental). NATIVE_RELEASE_CONTROL_OBSERVATION_NOT_TRUNCATED and …ACTUAL_PINNED_CWD (scripts/native-proof/hosted-app.test.ts:647-649) fail. The release diagnostic caps at limits.processes=256, but the VM runs about 415 processes (processesTruncated=true). The co-failing NATIVE_INDEX_DESCENDANT_WITNESS_NOT_TRUNCATED already reports truncated:true on main.
  • G2 (13 runs, intermittent, also on main). OBSERVATION_TIMING_ONE_CLOCK (:485) fails on an unpaired observe_checkpoint in journal begin (once in finish). The same SHA passes and fails on reruns, and the unpaired count grows on slower runners (1 against 5-8).
  • G3 (6 runs, intermittent, Pi only, also on main). OBSERVATION_TIMING_EVERY_OBSERVED_WRITER_TRACED fails with expected 59, got 60 (:477).
  • G4 (10 runs, large tree, Claude, from the integration base). BACKEND_TIMING_BOUNDARY_MISSING (scripts/native-proof/lifecycle-timing.ts:66, called from hosted-app.test.ts:415) fails because a Claude sample.endedAt is null. Main lacks this check. It never fails on heads containing CONTRACT: feat(ui-server): record host turn clocks and large-tree timing #4322, but it is unknown whether CONTRACT: feat(ui-server): record host turn clocks and large-tree timing #4322 fixed it or only made it rarer.
  • G4b (3 runs). schedule Git publication inherits active native peer folder admission exceeds its fixed 30 s limit on the large tree on slower runners. It passes in 24-28 s or 4.5 s elsewhere.

Scope

The native proof harness and its fixtures. No product behaviour changes unless a group turns out to be a product defect, in which case file it separately.

Acceptance criteria

  • G1: the release diagnostic's process cap is derived from the host, or the assertion distinguishes host processes from the worker tree. Pi UID 0 passes on a host with about 415 processes.
  • G2: the cause of the unpaired observe_checkpoint is identified. The trace pairing is fixed, or the product defect is filed.
  • G3: the extra traced writer is identified, and the expected count is derived rather than fixed, or the product defect is filed.
  • G4: on the epic tip, large-tree Claude runs record endedAt for every sample across three repeats, or the cause is fixed.
  • G4b: the publication test's limit scales with tree size, as a watchdog (see docs/process/testing.md#watchdogs-and-product-timings).
  • Three consecutive native runs of each backend and UID pass on one boat.dev-class VM.

Activity

  1. added
    type: test
    area: ci
    priority: p2
    agent-ready
    on Nov 21, 2026
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

    agent-readyarea: cipriority: p2type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions