Skip to content

test: hard-pinned apache-arrow version in numeric-oracle test breaks every lockfile refresh #367

Open

Description

@bbopen

Evidence

test/architecture_numeric_oracle.test.ts:104 hard-pins the exact apache-arrow version:

expect(lockfile.packages['node_modules/apache-arrow']?.version).toBe('21.1.0');

Dependabot group bump #366 moved apache-arrow 21.1.0 → 21.2.0 in the lockfile and this assertion fails in all 8 test-matrix jobs (expected '21.2.0' to be '21.1.0', run 36407990264). Because the numeric oracle fixture is byte-level (0x10000 words), some version pin is intentional — but pinning to an exact patch version means every routine lockfile refresh turns the entire CI matrix red and blocks unrelated green bumps merged into the same group PR.

Proposal

  • Pin to the minor/range actually validated against the oracle (e.g. assert startsWith('21.') or match a SUPPORTED_ARROW constant defined next to the fixture generation), and regenerate/verify the oracle whenever the supported range changes.
  • Alternatively split the arrow pin into its own manually-bumped dependency so dependabot never touches it.

Either way the assertion should encode "compatible with the oracle fixture" rather than "exactly the version of today".

(Found by the automated daily sweep on 2026-09-29; no code changed.)

Activity

  1. added
    area:ci
    bug
    on Sep 30, 2026
  2. bbopen commented on Nov 24, 2026

    @bbopen
    OwnerAuthor

    Sweep note: this pin is currently the sole red gate on dependabot PR #375 (dev-dependencies group, 15 updates). All 6 matrix test jobs fail identically on the numeric-oracle test:

    AssertionError: expected '21.2.0' to be '21.1.0' — expect(lockfile.packages['node_modules/apache-arrow']?.version).toBe(...) (numeric-oracle test, line ~104)

    The lockfile refresh pulls apache-arrow 21.2.0 and the hard pin rejects it. Same failure signature across all jobs; no other test regressions (74 passed, 1 failed per job). pyodide-browser additionally fails via the known #380 exact-version wall. Fixing this pin (e.g. range-allow + contractRevision check, which already passed) would unblock #375.

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:cibug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions