#427·archify

[Bug]: Browser regressions are skipped or omitted from CI and release gates

Author: tt-a1iCreated Sep 16, 2026Updated Sep 28, 2026
Labelsbug

Problem

The repository-evidence browser regression is skipped by normal CI, and the tag release workflow does not run the same dedicated Viewer browser suite as PR CI. The test files exist, so adding more tests alone does not close this gap.

Verified against current main at d673e8300df60a5c8166abe78787fdc78f6b8000 (Git clone; macOS, Node 22.23.2). This reports a workflow coverage defect, not an observed bad release.

Evidence and reproduction

From the repository root, with no browser override:

bash
env -u ARCHIFY_CHROME node --test \
  --test-name-pattern='browser renders local-only sources' \
  archify/test/repository-evidence.test.mjs

Actual result:

browser renders local-only sources as searchable text and web sources as links
# SKIP Set ARCHIFY_CHROME to run evidence browser checks.
# tests 1
# pass 0
# fail 0
# skipped 1

The skip is explicitly conditional on ARCHIFY_CHROME, so a preinstalled Chrome does not enable it.

  • repository-evidence.test.mjs contains the conditional browser case.
  • ci.yml runs ordinary npm test without the variable, then lists browser files individually in the Chrome job. That list omits repository-evidence.test.mjs.
  • release.yml runs npm test before provisioning Chrome, then runs only test:webm with the override. The dedicated reader, offline-font, export-cleanup and other Viewer interaction browser regressions from PR CI are therefore absent from the tag workflow.

Expected: the intended browser gate executes the source-link/local-only regression, and the release gate uses the same maintained browser suite as PR CI. Ordinary local tests may still report an explicit skip when Chrome is unavailable.

Bounded fix and acceptance

  • Provide one shared browser-test command or test-file manifest, reused by CI and release.
  • Include the repository-evidence browser case and the existing dedicated Viewer browser cases.
  • Fail clearly if Chrome is unavailable when that explicit browser gate is requested; retain optional local skips outside the gate.
  • Verify the named repository-evidence case executes rather than skips, and both workflows invoke the same browser entrypoint.
  • Preserve existing WebM decoding, Node matrix and package checks. No product/schema change or new browser framework is needed.

Related work

#343 / #381 added Viewer modularization and browser regressions; this is the remaining workflow wiring gap in current main. Open and closed issues and related PRs were searched before filing.