Skip to content

docs(moonbeam-engineering): add compile-with-tests step to cherry-pick verification#52

Merged
manuelmauro merged 2 commits into
mainfrom
manuel/qa-cherry-picks-verify-tests
May 18, 2026
Merged

docs(moonbeam-engineering): add compile-with-tests step to cherry-pick verification#52
manuelmauro merged 2 commits into
mainfrom
manuel/qa-cherry-picks-verify-tests

Conversation

@manuelmauro
Copy link
Copy Markdown
Contributor

What

Adds a "Verify the branch compiles" step to the qa-cherry-picks skill's verify-cherry-picks.md, requiring cargo check --workspace --tests during fork-branch QA.

Why

The verification flow confirmed cherry-picks via git but never checked that the fork branch still built. Plain cargo check --workspace skips #[cfg(test)] modules and integration tests, so a cherry-pick — or an upstream refactor it lands on top of — can leave a test module that no longer compiles while the check still reports success.

This was hit during the stable2603 cycle: evm's evm-core delegation.rs test module had been broken since an OptionResult API refactor, and a --tests-less check let it ride along undetected from one stable branch to the next. (Since fixed upstream: rust-ethereum/evm#405.)

…k verification

The qa-cherry-picks verification flow confirmed cherry-picks via git but
never checked the fork branch still built. Add a step requiring
`cargo check --workspace --tests`, and document why `--tests` is
mandatory: plain `cargo check --workspace` skips `#[cfg(test)]` modules
and integration tests, so a broken test module can ride along undetected
(as evm's `delegation.rs` did across stable branches).
Comment thread moonbeam-engineering/skills/qa-cherry-picks/verify-cherry-picks.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a missing QA verification step to ensure fork branches created for cherry-pick validation actually compile including test targets, preventing regressions that only appear when #[cfg(test)] and integration tests are compiled.

Changes:

  • Document a new “Verify the branch compiles” step in the qa-cherry-picks verification flow.
  • Require running cargo check --workspace --tests (and explain why --tests matters).

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

…s.md

Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com>
@manuelmauro manuelmauro merged commit 21c3ff5 into main May 18, 2026
3 checks passed
@manuelmauro manuelmauro deleted the manuel/qa-cherry-picks-verify-tests branch May 18, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants