Skip to content

doctor probed dist/cli.js while distribution ships dist/commitlore.mjs; CI red #40

Description

@MongLong0214

Reproduction

Recorded in commit 0e9930bad03eda97751c49e93b0078aaef51059a:

The health check probed an artifact the supported installation does not have

cli-runtime ran dist/cli.js --version. A git clone — the documented
distribution (ADR-0011) — ships dist/commitlore.mjs and no node_modules, so
dist/cli.js is a file that exists and cannot run. The check therefore reported
fail on the one installation it was written to protect, and doctor exits
non-zero on a fail, so the CI step that clones and runs doctor went red at
f85101a and stayed red for three commits.

I did not notice because I ran the local suite and never looked at CI. The suite
passed at every one of those commits.

The check now probes the bundle first and falls back to the tsc output, so it
follows the artifact the installation actually uses instead of the one a
development checkout happens to have.

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

    epic:review-2026-07-27Retroactive tracking for the 2026-07-27 production re-review

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions