Skip to content

fix(overlay-ci): typecheck host packages with typecheck now that typecheck:fast is retired - #46

Merged
chadyuson2 merged 1 commit into
mainfrom
fix/overlay-ci-typecheck-script
Nov 27, 2026
Merged

chadyuson2 merged 1 commit into
mainfrom
fix/overlay-ci-typecheck-script

Conversation

@chadyuson2

@chadyuson2 chadyuson2 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

Bike4Mind/bike4mind#8767 (merged 2026-11-27 02:42 UTC) made typecheck the tsgo-only check in every host package and deleted typecheck:fast. The "Typecheck overlay-glue consumers" step still runs pnpm --filter @bike4mind/scripts run typecheck:fast, so overlay CI fails on every PR and on main:

ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT  None of the selected packages has a "typecheck:fast" script
::error::@bike4mind/scripts does not typecheck with overlay ... composed in.

The step's "no such script" guard didn't fire either. It grepped for pnpm's old message ("has a script"), and pnpm now exits non-zero with a different one.

What changes

.github/workflows/overlay-ci.yml:

  • Typecheck overlay-glue consumers and Typecheck + test extra packages pick the script per package: typecheck:fast where the package still defines it (for example an overlay's own extra package), otherwise typecheck. Host packages get typecheck, which is now exactly what typecheck:fast was (tsgo --noEmit --types node).
  • The gate still can't switch itself off: a package with neither script, or a filter that matches no package, is an error.
  • The overlay's own Typecheck step is unchanged. Overlays define typecheck:fast in their own package.json.
  • The extra_packages input description says which script runs.

Verification

  • The picker, run in a throwaway pnpm workspace: a package with typecheck only picks typecheck; one with both picks typecheck:fast; one with neither, and a filter that matches no package, both fail.
  • The YAML parses.
  • End-to-end: an overlay repo's PR that points its pin at this branch's commit (Bike4Mind/b4m-bob#2086) runs the real step against the host's main.

After merge

Overlays pin this workflow by commit SHA, so each one has to move its pin to the merge commit.

…pecheck:fast is retired

Bike4Mind/bike4mind#8767 (2026-11-27) made `typecheck` the tsgo-only check
in every host package and deleted typecheck:fast. The glue-consumer gate
still ran `typecheck:fast` on @bike4mind/scripts, so every overlay's CI
failed with ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT.

The glue-consumer and extra-package steps now pick typecheck:fast where the
package still defines it, else typecheck. A package with neither, or a
filter that matches nothing, is still a hard error. The overlay's own
package keeps typecheck:fast, which overlays define themselves.
@chadyuson2 chadyuson2 self-assigned this Nov 27, 2026
@chadyuson2

Copy link
Copy Markdown
Contributor Author

End-to-end check passed on an overlay pinned to this branch's commit (32cc0b0), against the host's current main: https://github.com/Bike4Mind/b4m-bob/actions/runs/45936660577

  • Typecheck overlay-glue consumers: == @bike4mind/scripts == ran typecheck (tsgo --noEmit --types node) and passed. Before this change, the same step failed with ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT.
  • The overlay's own Typecheck: unchanged, typecheck:fast.
  • Data-holder coverage (from 5046378): skipped with its notice, because the host has no apps/client/server/dataSubject/dataHolderCoverage.test.ts.
  • Tests: 486 files passed. The job took 13m16s.

Every overlay pinned before this fails on the glue-consumer step until it re-pins to the merge commit.

@chadyuson2
chadyuson2 requested a review from poysama November 27, 2026 04:08
@chadyuson2
chadyuson2 merged commit f1e8856 into main Nov 27, 2026
7 checks passed
@chadyuson2
chadyuson2 deleted the fix/overlay-ci-typecheck-script branch November 27, 2026 04:50
@chadyuson2

Copy link
Copy Markdown
Contributor Author

Merged on poysama's verbal approval (relayed by the author).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant