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

Update welcome message from OSPR bot with info and checklist for authors #287

Closed
3 tasks done
itsjeyd opened this issue Apr 11, 2024 · 9 comments
Closed
3 tasks done
Assignees

Comments

@itsjeyd
Copy link

itsjeyd commented Apr 11, 2024

Story

"As an author of an OSPR (open source pull request), I want to get a useful welcome message after posting my PR so that:

  • I know where to look for relevant information about the OSPR process if/when I need it.
  • I know which steps I need to complete to get my PR ready for engineering review.
  • (maintained repos only) I know who to ping for engineering review."

Full description

One important aspect of reducing time-to-merge for OSPRs is to empower PR authors to manage more parts of the OSPR process themselves.

For that, they'll need:

  • Easy access to information about the OSPR process as a whole that they can reference as necessary.
  • A clear list of expectations that maintainers have of them, i.e., a checklist of steps/requirements that they must complete before their PRs can be considered ready for engineering review (including creating product proposals and feature tickets retroactively if their PRs include user-facing changes).

For maintained repositories, they should also get information about who to ping when they're done completing prerequisites for engineering review (e.g. @2u-aurora).

  • Note: As determined by the maintenance working group, the OSPR bot should not ping maintainers of a repository directly in the welcome message. Instead, it should enclose mentions of maintainers in backticks: `@2u-aurora`.

Information about the maintainers of a repository can be extracted from its catalog-info.yml (example).

Completion criteria

  • Draft new welcome message.
  • Have the bot post the new welcome message instead of the existing one.
  • Implement support for retrieving maintainer info and adding it to the welcome message (if available).

Behavioral specifications

N/A (doesn't change current behavior of OSPR bot, just its messaging)

Documentation updates & improvements criteria

Left to the assignee’s appreciation

Relevant repositories

Review timeline

Flexible.

Notes

According to Feanil:

openedx-webhooks code is gnarly, feel free to ping #openedx-webhooks for help

@itsjeyd
Copy link
Author

itsjeyd commented Apr 11, 2024

@feanil @mphilbrick211 @sarina @jmakowski1123 FYI, this is a copy of the OpenCraft ticket that I scheduled for next sprint (starting Tue Apr 16).

@feanil feanil moved this to Todo in Maintenance Apr 11, 2024
@itsjeyd itsjeyd moved this from Todo to In Progress in Maintenance Apr 18, 2024
@itsjeyd
Copy link
Author

itsjeyd commented Apr 18, 2024

Draft of new welcome message is available here.

Check the raw version of the text to see which parts the bot would include conditionally / unconditionally.

@sarina
Copy link
Contributor

sarina commented May 3, 2024

Hi @itsjeyd - I'm concerned about this line:

This repository is currently maintained by @{{ maintainers }}. Tag them in a comment and let them know that your changes are ready for review.

I don't think we'll know who the maintainers are in a standard pattern. Could you reword this to explain how to find the maintainers (either by using Backstage or viewing catalog-info.yaml within the repo? (I think it would be better to direct to Backstage, personally)

@feanil
Copy link
Contributor

feanil commented May 3, 2024

@sarina FYI, the code is looking at the catalog-info.yaml files on the repo to determine the maintainer so it should be up-to-date. It might get cached for a bit so could be out of date temporarily but not on any large time scale.

@sarina
Copy link
Contributor

sarina commented May 3, 2024

Oh sick I had no idea! I guess I don't know anything about the bot these days. Are you going to be able to add in the new message?

@itsjeyd
Copy link
Author

itsjeyd commented May 23, 2024

@sarina Sorry for the delay in getting back, I was out sick for two weeks and working through my e-mail backlog has been taking some time.

Are you going to be able to add in the new message?

The PR for that is here: #288

@sarina
Copy link
Contributor

sarina commented May 23, 2024

@itsjeyd great. Seems like you have a good set of reviewers over there, so I'll let that team finish it up.

@itsjeyd
Copy link
Author

itsjeyd commented May 23, 2024

Sounds good, thanks @sarina.

@itsjeyd
Copy link
Author

itsjeyd commented Jul 18, 2024

#288 has been merged so we're done here 🎉

@itsjeyd itsjeyd closed this as completed Jul 18, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Maintenance Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants