Skip to content

feat(mergechecker): add GitHub MergeChecker implementation with multi-host routing#72

Merged
behinddwalls merged 2 commits into
mainfrom
preetam/checker-github
Feb 25, 2026
Merged

feat(mergechecker): add GitHub MergeChecker implementation with multi-host routing#72
behinddwalls merged 2 commits into
mainfrom
preetam/checker-github

Conversation

@behinddwalls
Copy link
Copy Markdown
Collaborator

@behinddwalls behinddwalls commented Feb 25, 2026

Summary

Implements a GitHub-specific MergeChecker that uses the GraphQL API to
validate PR mergeability and stack ordering. Adds a MultiChecker router
that dispatches by Change.Source for multi-host support.

  • entity/github: ChangeID parser for {scheme}://{org}/{repo}/pull/{pr}/{sha}
  • extension/mergechecker/github: GraphQL-based checker with stack validation
  • extension/mergechecker: MultiChecker for source-based routing
  • extension/mergechecker/mock: gomock mock for testing
  • orchestrator/controller/request: wire merge check into pipeline
  • example/server: configure GitHub checker via env vars

Test Plan

make build && make test

@behinddwalls behinddwalls force-pushed the preetam/checker-github branch from c9eab50 to 6e4e32c Compare February 25, 2026 17:29
@behinddwalls behinddwalls marked this pull request as ready for review February 25, 2026 17:36
@behinddwalls behinddwalls requested review from a team and sbalabanov as code owners February 25, 2026 17:36
Comment thread entity/github/change_id.go Outdated
Comment thread entity/github/change_id.go Outdated
Comment thread entity/github/change_id.go Outdated
Comment thread extension/mergechecker/github/checker.go
Comment thread extension/mergechecker/github/checker.go Outdated
Comment thread extension/mergechecker/github/validate.go
Comment thread extension/mergechecker/github/validate.go Outdated
Comment thread extension/mergechecker/multi.go Outdated
@behinddwalls behinddwalls force-pushed the preetam/checker-github branch 2 times, most recently from 7f5175f to 72a5550 Compare February 25, 2026 21:54
@behinddwalls behinddwalls force-pushed the preetam/checker-github branch from 72a5550 to ba09dcc Compare February 25, 2026 22:12
@behinddwalls behinddwalls merged commit 47b646f into main Feb 25, 2026
8 checks passed
@behinddwalls behinddwalls deleted the preetam/checker-github branch June 2, 2026 18:40
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.

2 participants