Skip to content

ci: run check-orphans and bench on moc 2.0.0 too - #564

Merged
Kamirus merged 1 commit into
mainfrom
matchers-2.1.1
Oct 26, 2026
Merged

Kamirus merged 1 commit into
mainfrom
matchers-2.1.1

Conversation

@Kamirus

@Kamirus Kamirus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Every Motoko job in CI now also runs on moc 2.0.0: check-orphans and bench join test and validate-docs. Follow-up to #557.

They couldn't before because mops check passes --all-libs, which type-checks every file of every dependency. matchers 2.1.0 has an = async { ... } body in Canister.mo that moc 2 rejects (M0277), so check:orphans and check:bench failed even though nothing here imports that file. matchers now lives in caffeinelabs/mops-packages, and 2.1.1 drops the redundant async.

Locally, check:orphans, check:bench, test:mops (675 tests), and bench (8 benchmarks) pass on both the pinned moc 1.16.0 and 2.0.0.

What is unchanged

  • The pinned moc is still 1.16.0.
  • The required test check keeps its name. Only check-orphans and bench change to check-orphans (moc …) and bench (moc …), and neither is required by the ruleset.

🤖 Generated with Claude Code

matchers 2.1.1 compiles on moc 2, so `mops check`, which also type-checks
every dependency, no longer fails on it. Bump the dev-dependency and give
check-orphans and bench the same moc matrix axis as test and validate-docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Kamirus
Kamirus requested a review from a team as a code owner October 23, 2026 11:03
@Kamirus
Kamirus merged commit 0600eb4 into main Oct 26, 2026
26 checks passed
@Kamirus
Kamirus deleted the matchers-2.1.1 branch October 26, 2026 07:48
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