Skip to content

refactor(mcms): move chain-specific changeset tests to family packages#105

Merged
graham-chainlink merged 1 commit into
mainfrom
ggoh/refactor/move-changeset-chain-tests
Jun 26, 2026
Merged

refactor(mcms): move chain-specific changeset tests to family packages#105
graham-chainlink merged 1 commit into
mainfrom
ggoh/refactor/move-changeset-chain-tests

Conversation

@graham-chainlink

Copy link
Copy Markdown
Collaborator

Summary

  • Moved EVM deploy integration tests from mcms/changesets/deploy/changeset_evm_test.go to mcms/evm/deploy/changeset_test.go
  • Moved EVM firedrill integration tests from mcms/changesets/firedrill/changeset_evm_test.go to mcms/evm/firedrill/changeset_test.go
  • Moved Solana firedrill integration tests from mcms/changesets/firedrill/changeset_solana_test.go to mcms/solana/firedrill/changeset_test.go

Chain-agnostic precondition tests remain in mcms/changesets. This aligns deploy and firedrill with the transfer-to-timelock pattern, where chain-specific integration tests live alongside their family implementations and blank-import only the relevant mcms/<family>/ packages.

Chain integration tests for deploy and firedrill lived under mcms/changesets;
relocate them to mcms/evm and mcms/solana to match the transfer-to-timelock layout.
@github-actions

Copy link
Copy Markdown

Release impact (release-please)

Current version 0.7.1 (on main)
After merge no version bump (no release)

PR title: refactor(mcms): move chain-specific changeset tests to family packages

This title will not trigger a semver bump when squash-merged to main. Use feat: for a minor release, or fix: / perf: / revert: for a patch release.

Conventional commit → bump

Intent PR title prefix Bump
Bug fix fix: patch
New feature feat: minor
Breaking change feat!: / fix!: or BREAKING CHANGE: / BREAKING-CHANGE: in description major
No release chore:, docs:, ci:, refactor:, etc. none

Update the PR title before merge if you need a different bump (squash commit message = PR title).

Preview is based on this PR title only. The release-please release PR may include other unreleased commits already on main.

@graham-chainlink graham-chainlink marked this pull request as ready for review June 26, 2026 03:56
@graham-chainlink graham-chainlink requested a review from a team as a code owner June 26, 2026 03:56
Copilot AI review requested due to automatic review settings June 26, 2026 03:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors MCMS chain-specific integration tests so they live alongside their respective chain-family implementations (EVM/Solana), while keeping chain-agnostic precondition tests under mcms/changesets.

Changes:

  • Updated test package names to match the family package names (evmdeploy, evmfiredrill, solfiredrill) using external test packages (*_test).
  • Replaced broad “register all families” blank-imports with targeted blank-imports of the specific family package and its readers (EVM/Solana) to drive init-time registration.
  • Minor cleanup of an obsolete comment in the EVM deploy changeset integration test.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
mcms/solana/firedrill/changeset_test.go Uses solfiredrill_test and blank-imports Solana firedrill + readers to ensure Solana registration for the integration test.
mcms/evm/firedrill/changeset_test.go Uses evmfiredrill_test and blank-imports EVM firedrill + readers to ensure EVM registration for the integration test.
mcms/evm/deploy/changeset_test.go Uses evmdeploy_test to align with the EVM deploy package and keeps the targeted blank-import registration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cl-sonarqube-production

Copy link
Copy Markdown

@graham-chainlink graham-chainlink enabled auto-merge (squash) June 26, 2026 04:00
@graham-chainlink graham-chainlink requested a review from ecPablo June 26, 2026 04:04
@graham-chainlink graham-chainlink merged commit 43e8e8e into main Jun 26, 2026
18 checks passed
@graham-chainlink graham-chainlink deleted the ggoh/refactor/move-changeset-chain-tests branch June 26, 2026 04:09
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.

3 participants