test: reproduce mergify-engine architecture with chain file#17
Merged
mergify[bot] merged 1 commit intomainfrom Mar 3, 2026
Conversation
Member
Author
|
This pull request is part of a stack:
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
There was a problem hiding this comment.
Pull request overview
Adds a new regression test that mirrors the “static chain + dynamic chain + hybrid” Alembic migration architecture (as seen in mergify-engine) to validate generate_chain_file output and ensure the complete revision history forms a single linear chain from root to head.
Changes:
- Add
test_mergify_engine_architectureto construct a miniature three-tier migration layout (static + dynamic + hybrid). - Verify the generated
revision_chain.jsoncontains only dynamic migrations and correctly chains a post-hybrid dynamic migration after the hybrid. - Reconstruct the full chain (static + hybrid from files, dynamic from JSON) and assert the exact root→head walk order.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bcaf42e to
cdc0629
Compare
sileht
previously approved these changes
Mar 3, 2026
Base automatically changed from
devs/jd/worktree-no-break-on-changes/I628e316231cf513864b3565bcc347b2debecd2ea
to
main
March 3, 2026 17:31
|
@jd this pull request is now in conflict 😩 |
Add test_mergify_engine_architecture that recreates the three-tier migration layout (static chain + dynamic chain + hybrid) at a smaller scale, generates the chain file via generate_chain_file, and verifies both the JSON contents and the full linear walk from root to head. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Change-Id: I826764c9f2c8aeb5feaf247682c8ba9469d9b0f8 Claude-Session-Id: f2902019-6258-4c62-9887-f23b8128665f
cdc0629 to
995279d
Compare
sileht
approved these changes
Mar 3, 2026
Merge Queue StatusRule:
This pull request spent 7 seconds in the queue, with no time running CI. Required conditions to merge
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add test_mergify_engine_architecture that recreates the three-tier
migration layout (static chain + dynamic chain + hybrid) at a smaller
scale, generates the chain file via generate_chain_file, and verifies
both the JSON contents and the full linear walk from root to head.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com