Skip to content

geo: test-health batch e3855-geo-01 #3920

Closed

Description

@schlessera

Context

Batch e3855-geo-01 of the test-health push in #3855: all 11 packages/geo/tests/*.test.ts files, audited in three clusters through all eight lenses (run th-20261110204710-d4eaf5).

Fixed findings:

  • packages/geo/tests/static-map.test.ts:211 (weak-matcher): a bare rejects.toThrow() passed on any error for an out-of-range background vertex. It now requires the coordinate-range refusal.
  • packages/geo/tests/normalized-track.test.ts:47 (weak-matcher): four malformed inputs asserted only toThrow(), so a TypeError from a missing null check passed. Each now names its structural error.
  • packages/geo/tests/track.test.ts:93 (weak-matcher): three refused GPX inputs asserted bare toThrow(). Each now names its cause.
  • packages/geo/tests/imported-track.test.ts:50,60 (weak-matcher): eight structural-error rows and three mislabeled GeoJSON wrappers asserted bare toThrow(). Each now names its refusal.
  • opaque-failure in io.test.ts (4 lines), geocoding.test.ts (2), poi.test.ts (1), routing.test.ts (1) and static-map.test.ts (1): boolean every/some/includes checks now compare values, so a failure prints them.

Filed, not fixed: #3911 (two 5 s real deadline waits in the POI and routing stalled-primary tests).

Scope

Test code under packages/geo/tests/ only.

Out of scope

Product code, timeouts and deadlines, shard and selection rules.

Acceptance criteria

  • Every strengthened assertion is shown to fail against a mutated guard and pass once it is restored, recorded as a killed mutation receipt.
  • bun scripts/test-health.ts batch verify --base origin/epic/3855-test-health --head HEAD gives ok: true, with no test removed.

Verification

bun run test packages/geo/tests, the batch gate above, and hosted proof on the pull request.

Contract impact

Tests only. No shipped runtime or contract change.

Activity

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

    @schlessera
    OwnerAuthor

    Delivered by #3922, which merged into epic/3855-test-health as d0aeab7f9 (the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck and check:pr passed on the combined branch. The epic's two exhaustive runs on dc2439551, 42996974186 and 42997012467, then passed. 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: corepriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions