Skip to content

qa:live-journey fails on environment traps before reaching the host journey #477

Description

@kevintseng

Two traps hit while producing the 4.10.6 release receipts:

  1. The packed-upgrade core journey writes an extensionless CommonJS npm shim under TMPDIR. If any ancestor of TMPDIR has a package.json with "type": "module" (here a stray /private/tmp/package.json), Node runs the shim as ESM and the run fails with require is not defined in ES module scope. The help text recommends TMPDIR=/private/tmp.
  2. dist_stale is computed from file mtimes. After git switch/fast-forward, src/ files are newer than unchanged dist/ artifacts, so a clean, mirror-checked build reports dist_stale: true and release:finish rejects the receipt. CONTRIBUTING's release steps do not say to run npm run build first.

Workarounds used: TMPDIR=$HOME/.mlq, and npm run build before the journeys.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions