Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seemingly simple checks take minutes to complete or even completely hang #740

Open
adamshortev opened this issue Mar 13, 2024 · 1 comment

Comments

@adamshortev
Copy link

We're using the following configuration:

version: 2
mergeable:
  - when: pull_request.*
    name: PR Label Check
    validate:
      - do: label
        must_exclude:
          regex: 'wip|status\: do not merge'
    pass:
      - do: checks
        status: 'success'
        payload:
          title: 'PR Label Check - Pass'
          summary: 'PR labels pass'
    fail:
      - do: checks
        status: 'failure'
        payload:
          title: 'PR Label Check - Fail'
          summary: 'Cannot merge with current labels'

  - when: pull_request.*
    name: PR Title Check
    validate:
      - do: title
        or:
          - must_include:
              regex: '^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(\S+\))?: .+'
              message: 'PR title does not follow Conventional Commits (e.g., "feat(scope): add new feature").'
          - must_include:
              regex: '^RELEASE \d{4}\.\d{1,2}\.\d{1,2}$'
              message: 'PR title is not a release title (e.g. RELEASE 2024.1.1).'
    pass:
      - do: checks
        status: 'success'
        payload:
          title: 'PR Title Check - Pass'
          summary: 'Your PR title follows the Conventional Commits specification.'
    fail:
      - do: checks
        status: 'failure'
        payload:
          title: 'PR Title Check - Fail'
          summary: 'Please ensure your PR title follows the Conventional Commits specification.'

We're seeing the individual mergeable actions take an age to finish, sometimes as much as 7 minutes, sometimes they appear to hang indefinitely. It's gotten to the point we've made the mergeable checks non-required now as it was blocking us too much.

Is there a misconfiguration here somewhere?

@shine2lay
Copy link
Member

@adamshortev your safest bet is to deploy your own instance using the deployment guide

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

No branches or pull requests

2 participants