Feature: Support CLA checks in merge queues

Open
#234 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github, python
Domain
backend, devops

Research direction

Start in the openedx-webhooks code that handles GitHub webhook events, tracing the existing pull-request CLA check flow and the newly mentioned Merge groups event. Compare how queued merge-group pull requests are represented with ordinary pull requests. Done means a PR added to a merge queue triggers the CLA check and reports its status correctly; verify this with the project's available tests or webhook checks.

Written by the indexing model from the issue text.

Description

GitHub has added a feature called "merge queues" (docs) that feel like a very good solution to some of the race condition issues with automatic PRs I've encountered on https://github.com/openedx/openedx-translations/

When adding a PR to a merge queue, it will try to get the CLA status, but the hook will never return anything
image

I have added "Merge groups" to the events that trigger openedx-webhooks, but I have not started looking into what changes need to happen in code here to allow running the CLA check for PRs in a queue.

Acceptance Criteria:

  • When a PR is added to a merge queue, the CLA check runs and correctly reports the status.
Dominant language
Python
Stars
13
Forks
22
Avg merge
1d 6h
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/openedx-webhooks

All issues in openedx/openedx-webhooks

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.