Skip to content

[feature] Common replies to OpenWISP contributors #524

@nemesifier

Description

@nemesifier

I find myself wasting a lot of time with recurring issues when issue comments or PRs, here's the most recurring problems and potential remediation actions.

The CI builds fails

  • The bot could communicate this to the contributor by replying and mentioning the contributor in the comment
  • The bot can provide a summary of the issues and potential remediations, eg:
    • If QA checks are failing due to code quality issues, it can explain how to run openwisp-qa-format and link to the contributing guidelines for reference
    • If QA checks are failing due to the commit message, it can propose a compliant commit message based on the commit message / PR title / issue title and description
    • If tests fail, it can copy the test failures in the comment description and link the CI build details.

A contributor comments "please assign this issue to me"

  • The bot could quote the contributing guidelines where we say that they do not need to wait to be assigned to an issue to start working
  • If the contributor opens a related PR, the bot could automatically assign the issue to them
  • if the PR stalls and reviews are not addressed within 7 days, the bot could comment on the PR politely requesting to follow up with the review, after 14 days without review follow up it can declare the PR as stalled and unassign the issue automatically from the contributor

I am not sure what kind of solutions exist for these automations, but I have seen other orgs doing it and I think we should do more research.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Backlog

    Status

    To do (Python & Django)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions