Skip to content

test(meta): load Mooncake before checking the extensions - #668

Merged
ocots merged 1 commit into
mainfrom
fix/meta-mooncake-trigger
Nov 24, 2026
Merged

ocots merged 1 commit into
mainfrom
fix/meta-mooncake-trigger

Conversation

@ocots

@ocots ocots commented Nov 24, 2026

Copy link
Copy Markdown
Member

Found while working on #667.

Conventions: ct-conventions v0.15.0, ct-agents v0.5.0.

Problem

suite/meta run alone fails one test:

CTBaseMooncake: Test Failed at ext/CTBaseAqua.jl:133
  Expression: ext isa Module
   Evaluated: nothing isa Module
  • Where. test_code_quality.jl loads every package that triggers an extension (EXTENSION_TRIGGERS), then DevTools.test_extensions_quality checks that every extension is loaded.
  • Cause. :Mooncake was not in that list when the CTBaseMooncake extension was added (0.30.13, f0ccb68).
  • Why CI did not catch it. In the full suite, suite/extensions/test_mooncake_extension.jl runs before suite/meta and loads Mooncake. The check passed only because of the order of the test files, which the comment in test_code_quality.jl says it must not depend on.

Fix

Checks

  • suite/meta alone: 78/78, against 73/74 on main.
  • release.jl lint-changelog passes (CTActions dc60661).

🤖 Generated with Claude Code

EXTENSION_TRIGGERS did not list Mooncake, added with the CTBaseMooncake
extension in 0.30.13. test_extensions_quality then found no CTBaseMooncake
module when suite/meta ran alone; the full suite passed only because
suite/extensions loads Mooncake first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ocots ocots added the ci on main: changes only Before merging: on main, rerun only the jobs the merged files can affect (never on a release PR) label Nov 24, 2026
@ocots
ocots merged commit 13db6e0 into main Nov 24, 2026
10 checks passed
@ocots
ocots deleted the fix/meta-mooncake-trigger branch November 24, 2026 17:09
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci on main: changes only Before merging: on main, rerun only the jobs the merged files can affect (never on a release PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant