ER: Counting Activities in a PR as Activity Credit in Its Linked Issue
- Dominant language
- JavaScript
- Stars
- 363
- Forks
- 872
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 18
Description
**Note:** This issue came from the [Task List Dev Leads](https://docs.google.com/spreadsheets/d/1qEiDFUKPCVH3JNzGQSKl_HMl9vqNv8Z9gGrvw9MyYvU/edit#gid=0).
### Emergent Requirement - Problem
Currently, issues with a linked open pull request (PR) will not get an automated comment requesting the assignee of the issue for an update nor a `To Update !` label if it has been a week. The same thing happens for the `2 weeks inactive` comment and label, where the comment and label are not added if there is an open linked PR to the issue.
**Problem:** If the PR's author (aka assignee of the associated issue) of an open PR doesn't make requested changes promptly and there is no `2 weeks inactive` label on the PR's associated issue, this may cause the following problems:
- The PR may get old and stale.
- There may be no updates/ETA from the developer on when the changes will be made, so we won't know if and when changes will be made.
- With no updates, we may not be able to tell if the developer ghosted us or is inactive for some reason.
- Also, this may cause issues to sit in the "In progress (actively working)" column indefinitely, since they may not be checked by leads, Merge Team members, or PMs if they don't have a `2 weeks inactive` label.
### Who was involved
- @JessicaLucindaCheng
- `@SAUMILDHANKAR`
### What happens if this is not addressed
- All issues with a linked open PR have to be manually checked to see their status/activity and if they have gone stale, which can take up a lot of time.
### Resources
- https://github.com/hackforla/website/tree/gh-pages/github-actions/trigger-schedule/add-update-label-weekly
### Recommended Action Items
- [x] Discuss with the team first if this still needs to be addressed or if the problem is no longer an issue because other processes in place address the problem. **Ans:** This is still a problem that should be addressed.
- [x] If it is still a problem, decide upon what the solution will be.
- [ ] Write an epic
### Potential Solutions [Draft]
- [ ] Write an epic containing the following:
#### Counting Activities in a PR as Activity Credit in Its Linked Issue
Each of the following issues will count the described activity in the PR as activity credit in its linked issue.
- [ ] A `Complexity: Large` issue to implement counting the activity of creating a PR by the issue's assignee (a.k.a. the PR's author). This currently is automatically noted on the issue.
- [ ] A `Complexity: Large` issue to implement counting the activity when reviewers are assigned to a PR.
- [ ] A `Complexity: Large` issue to implement counting the activity when a PR's author makes a new commit in the PR.
- [ ] A `Complexity: Large` issue to implement counting the activity when a PR's author makes a new comment in the PR.
- [ ] A `Complexity: Large` issue to implement counting the activity when a PR is merged.
#### Turn on `To Update !` and `2 weeks inactive` Automations
- [ ] A `Complexity: Large` issue to implement turning on the automation for `To Update !` and `2 weeks inactive` labels for issues with a linked open PR and the issues are in the "In progress (actively working)" column.
- [ ] This issue will have a "Dependency" section with a link to each of the issues written for the "Counting Activities in a PR as Activity Credit in Its Linked Issue" section
Contributor guide
Assessment
This issue has not been assessed yet.