Title: Improve finding issues without a pull request to work on · Issue #581 · python/core-workflow · GitHub
Open Graph Title: Improve finding issues without a pull request to work on · Issue #581 · python/core-workflow
X Title: Improve finding issues without a pull request to work on · Issue #581 · python/core-workflow
Description: As a newbie to the CPython repository, it can be quite frustrating to find issues that have not an associated pull request. The linked:pr has a small coverage and requires manual intervention (ie. a "closes" or "fixes" magic keyword in t...
Open Graph Description: As a newbie to the CPython repository, it can be quite frustrating to find issues that have not an associated pull request. The linked:pr has a small coverage and requires manual intervention (ie. ...
X Description: As a newbie to the CPython repository, it can be quite frustrating to find issues that have not an associated pull request. The linked:pr has a small coverage and requires manual intervention (ie. ...
Opengraph URL: https://github.com/python/core-workflow/issues/581
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve finding issues without a pull request to work on","articleBody":"As a newbie to the CPython repository, it can be quite frustrating to find issues that have not an associated pull request.\n\nThe `linked:pr` has a small coverage and requires manual intervention (ie. a \"closes\" or \"fixes\" magic keyword in the description). Moreover, the linked:pr will close the associated issue on merge, and sometimes the issue should be kept open (because of retrocompatibility PRs, and others that I can not yet grasp).\n\nThe GitHub API exposes another concept (cross references) and these appear in the history of an issue. This is why I first implemented a script to list all the issues and the associated PRs. The output looks [like this](https://docs.google.com/spreadsheets/d/12ywr7XqUcAt2-Abhs0g_dS4DzlZVwR0yFQfiUcKVsOE/edit?gid=2062761302#gid=2062761302). But this is not a scalable solution: the GitHub API could suffer if all the newbies were to use it, and the script needs to be executed often to keep the picture up to date with reality.\n\nGiven that the cross-references are essentially events, why don't we add a github workflow that\n- adds a `has-pr` label when a PR is created, referencing an issue in its title or in its description\n- adds a `has-pr` label when a comment is added to the PR mentioning an issue\n- removes the `has-pr` label when the PR is closed without being merged\n\nI have a sample GitHub Actions workflow available on the [nilleb/cpython-stub](https://github.com/nilleb/cpython-stub) repository\n\nA [discussion has been opened on Discourse](https://discuss.python.org/t/finding-issues-without-a-pull-request-to-work-on/103554/10).","author":{"url":"https://github.com/nilleb","@type":"Person","name":"nilleb"},"datePublished":"2025-09-05T09:46:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/581/core-workflow/issues/581"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d208a4f-469c-6be3-62f9-85cc75b91668 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5A0:360CD8:1FB7E80:2AB24D3:696EC6AC |
| html-safe-nonce | 24e211582e07b1d12c54f6159d8f0e7ff2b52b9d3ba561d9cb082113f407a66d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUEwOjM2MENEODoxRkI3RTgwOjJBQjI0RDM6Njk2RUM2QUMiLCJ2aXNpdG9yX2lkIjoiODg5MDQzNzcwODg1OTgxODY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9e9afee777bce222de45488bd20991a9738dcdebeb031d0b2063917690f0a4f8 |
| hovercard-subject-tag | issue:3386956321 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/core-workflow/581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ccdc8bc4e8ee258e2075c4286abc07f46fe59a5f5f100c1dda39ae03ba4f4db/python/core-workflow/issues/581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ccdc8bc4e8ee258e2075c4286abc07f46fe59a5f5f100c1dda39ae03ba4f4db/python/core-workflow/issues/581 |
| og:image:alt | As a newbie to the CPython repository, it can be quite frustrating to find issues that have not an associated pull request. The linked:pr has a small coverage and requires manual intervention (ie. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nilleb |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/python/core-workflow git https://github.com/python/core-workflow.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 76080865 |
| octolytics-dimension-repository_nwo | python/core-workflow |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76080865 |
| octolytics-dimension-repository_network_root_nwo | python/core-workflow |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width