test(merge-queue): regression tests for non-main base skip (#2615) #2627
Reference in New Issue
Block a user
Delete Branch "fix/merge-queue-non-main-base-skip-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds regression tests for molecule-core#2548.
_early_skip_reasonso the early-skip decision is pure and unit-testable while preserving the observable-vs-silent distinction.Refs molecule-core#2615.
Test plan
🤖 Generated with Claude Code
Approved on head
3ca7ea4228.5-axis review:
_early_skip_reasonpreserves the existing early-skip decisions and makes non-main-base skips observable via workflow notice without reintroducing PR-comment flood. Main-targeted PRs continue into_evaluate_candidate._evaluate_candidatenon-main-base case that asserts no comment is posted.Verification note: I attempted the focused pytest target, but this runtime lacks pytest (
+ 'No module named pytest' +). Static review found no blocker.