Skip to content

ui-sdk: test-health batch e3855-ui-sdk-01 #3872

Closed

Description

@schlessera

Context

Test-health push #3855, shard e3855-ui-sdk-01: every packages/ui-sdk/tests file (125), audited in 61 clusters through all eight lenses (run th-20261110163657-5bcc9a). The batch branch is test-health/e3855-ui-sdk-01, landing into epic/3855-test-health.

Scope

The batch's fixed findings, all in test code:

  • cannot-fail (13 fixed, each with a killed mutation).
    • Seven files gated every assertion behind if (ok && message.type === X), so a parse returning another frame type passed silently. They now assert the discriminant first: activity-schemas, server-schemas, message-source, client-environment, turn-failure, scope-contract, retry-protocol.
    • Bare toThrow() now names the refusal in turn-temp-tool (100-path bound), maintenance-temp-budget (byte validation, which an oversized allowance had let the budget check mask), worker-state-mount (state/scratch overlap) and native-brain-manager (delta completion refusals).
    • share-target "honors a custom path" counted one answer without checking which path answered.
    • coastline long-line not.toThrow() now asserts the two endpoints kept.
  • nondeterminism (2 fixed).
    • maintenance-temp-budget admitted on the host-wide default ledger under /tmp, shared by every process of the user. It flaked 2 of 10 baseline runs and now uses a private ledger per test and per child.
    • egress-proxy slept 1 ms before reading a record the proxy writes on response close. It now polls for the record.
  • cost (1 fixed). share-target's hanging-store case spent the real 5 s store deadline. It now reaches the deadline on a fake clock and also checks nothing answers at 4 999 ms: 5.35 s to 0.35 s.
  • failure-issues (1 fixed). ui-sdk: clean owned-prune fixture roots when source transformation refuses #2466, the owned-prune tick fixture allocating its root before the transform that may refuse.
  • hygiene (22 fixed). Boolean some/every/includes/startsWith checks now compare values. One misleading test name was renamed.

Out of scope

Product code, timeouts, shard rules and workflows. These were filed instead: #3857 (turn-temp walk limit and setup deadline seams), #3858 (the delegated-cgroup proof never runs in CI), #3871 (lint for the type-guard form).

Acceptance criteria

  • bun scripts/test-health.ts batch verify --base origin/epic/3855-test-health is ok.
  • The pull request's hosted proof passes on its head.

Verification

The batch pull request's check:pr receipt and hosted run.

Contract impact

None.

Activity

  1. added this to the 0.45.0 milestone on Nov 10, 2026
  2. added
    type: test
    area: ui-sdk
    on Nov 10, 2026
  3. added
    priority: p1
    on Nov 10, 2026
  4. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    Delivered by #3873, which passed its proof on its own head and merged into epic/3855-test-health as ccb189320 (the push in #3855). GitHub does not apply Closes for a pull request into a non-default branch, so I'm closing this by hand. The change reaches main with the epic's single landing pull request.

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

    area: ui-sdkpriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions