Skip to content

delete CARRIER_BOX flag: boxing is the unconditional BigInt carrier -… #529

delete CARRIER_BOX flag: boxing is the unconditional BigInt carrier -…

delete CARRIER_BOX flag: boxing is the unconditional BigInt carrier -… #529

Workflow file for this run

name: test262
on:
push:
paths-ignore:
- '**/*.md'
- '**/*.svg'
- '**/*.html'
- '.work/**'
- 'LICENSE'
- 'CONTRIBUTING.md'
pull_request:
paths-ignore:
- '**/*.md'
- '**/*.svg'
- '**/*.html'
- '.work/**'
- 'LICENSE'
- 'CONTRIBUTING.md'
jobs:
test262-language:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
# test262.js's own PINNED_COMMIT const clones (or re-pins an existing
# checkout to) the exact tc39/test262 SHA the baselines below were
# measured against — no separate clone step needed. The cache just saves
# the network round-trip; bump the key's version suffix whenever
# PINNED_COMMIT moves so a stale cached checkout can't shadow the pin.
- name: Cache test262 corpus
id: cache-test262
uses: actions/cache@v4
with:
path: test/test262
key: test262-pinned-v1
# Baseline lives in test/test262-baseline.json (audit-#12 item 3 — one
# committed lock for both the language and built-ins runners, same as
# the built-ins job below). The runner gates on FOUR guards: in-scope
# fail===0 (any fail is a miscompile), xpass===0 (prune stale
# EXPECTED_FAIL entries), the `language` pass-count ratchet, and the
# `negAcceptCeiling` ratchet (downward-only). JZ_TEST262_BASELINE can
# still override the file's `language` floor for a one-off CI
# diagnostic run.
- name: Run test262 language suite
run: npm run test:262
test262-builtins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Cache test262 corpus
id: cache-test262
uses: actions/cache@v4
with:
path: test/test262
key: test262-pinned-v1
# Baseline lives in test/test262-baseline.json (audit-#11 item 7 sub-3) —
# both this job and a local `npm run test:262:builtins` read it, so
# there's one number to bump instead of two. JZ_TEST262_BASELINE can
# still override it for a one-off CI diagnostic run.
- name: Run test262 built-ins suite
run: npm run test:262:builtins