feat(runway): wire merge-conflict-check controller to Merger extension#280
Open
kevinlnew wants to merge 1 commit into
Open
feat(runway): wire merge-conflict-check controller to Merger extension#280kevinlnew wants to merge 1 commit into
kevinlnew wants to merge 1 commit into
Conversation
sbalabanov
requested changes
Jun 26, 2026
4 tasks
kevinlnew
added a commit
that referenced
this pull request
Jun 29, 2026
- Reverse if/else on ErrConflict to early-return on non-conflict errors - Remove errs.NewRetryableError from publish — let the consumer's classifier handle retryability, not the controller - Apply both fixes to merge-conflict-check and merge controllers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d46d3cc to
86384e6
Compare
The merge-conflict-check controller was a parse-and-log stub. Wire it to the Merger extension so it performs the dry-run check and publishes the MergeResult to the merge-conflict-check-signal topic. A merge conflict is an expected outcome (ack + publish FAILED), not an infrastructure error.
86384e6 to
6cd393d
Compare
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.
Summary
merger.Factoryextension so it performs the actual dry-run merge check instead of just loggingMergeResultto themerge-conflict-check-signaltopic —SUCCEEDEDon clean merge,FAILEDonmerger.ErrConflict(ack, not a controller error)errs.NewRetryableError); deserialize/factory/check errors are non-retryable (DLQ)Test plan
bazel test //runway/controller/mergeconflictcheck:mergeconflictcheck_testpassesbazel build //example/runway/server:runwaybuilds cleanlymake gazelle— BUILD files in syncmake fmt— no formatting changes🤖 Generated with Claude Code