Title: Automating revert commits · Issue #559 · python/core-workflow · GitHub
Open Graph Title: Automating revert commits · Issue #559 · python/core-workflow
X Title: Automating revert commits · Issue #559 · python/core-workflow
Description: @pablogsal recently opened a PR for automating revert commits. I agree with the issue but respectfully disagree with that particular proposal. Copying the reasoning from Pablo's comment: [There should be automation that will] open (but d...
Open Graph Description: @pablogsal recently opened a PR for automating revert commits. I agree with the issue but respectfully disagree with that particular proposal. Copying the reasoning from Pablo's comment: [There sho...
X Description: @pablogsal recently opened a PR for automating revert commits. I agree with the issue but respectfully disagree with that particular proposal. Copying the reasoning from Pablo's comment: [There...
Opengraph URL: https://github.com/python/core-workflow/issues/559
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automating revert commits","articleBody":"@pablogsal recently opened a PR for automating revert commits.\r\nI agree with the issue but respectfully disagree with that particular proposal.\r\n\r\nCopying the reasoning from [Pablo's comment](https://github.com/python/buildmaster-config/pull/535#issuecomment-2407221523): \r\n\r\n\u003e [There should be automation that will] open (but doesn't merge) revert PRs when a builtbot builder has failed [...].\r\n\u003e\r\n\u003e The idea is not to force the revert on people because a human still needs to merge the PR and the discussion needs to happen as well but to start the process in a way that's not someone opening a revert PR to someone else (it's a bot opening the revert PR).\r\n\u003e\r\n\u003e This won't caught everything but it will caught as many things we can be sure that are caused by a single commit and the PRs will be open by a bot and not a human, highlighting that this is an automated process to not have the CI broken.\r\n\u003e\r\n\u003e The problem that this solves is not having the CI red for a long time making fixes or reverts more challenging as time passes and the reverts are not clean anymore. We have discussed many times (not only in this last core dev sprint) that having the buildbot failing for a long time makes things much more difficult, specially when issues start to pile up and people are slow to act..\r\n\r\nMy own plan of action would be to allow humans to initiate the process:\r\n\r\n- [ ] Teach `cherry-picker` to `--revert` commits. (Note that in Git, cherry-picks and reverts are very similar once started, see the `--continue` option [for `cherry_pick`](https://git-scm.com/docs/git-cherry-pick#Documentation/git-cherry-pick.txt---continue) and [`revert`](https://git-scm.com/docs/git-revert#Documentation/git-revert.txt---continue).)\r\n- [ ] Teach @miss-islington to open a revert PR, and re-open the issue, when a new `needs-revert` label is added. The GitHub comment should explain that we revert because failing CI can hide other issues.\r\n- [ ] *Then*, have Buildbot automation apply the label, so that a human isn't initiating the action.\r\n\r\nDoes that sound reasonable?\r\n\r\n(FWIW, my current priority is putting breaking PRs, and individual test failures, on the [dashboard](https://buildbot.python.org/#/release_status) -- the first step for a revert or fix is for the failure to show up there.)","author":{"url":"https://github.com/encukou","@type":"Person","name":"encukou"},"datePublished":"2024-10-22T14:40:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/559/core-workflow/issues/559"}
| 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:5cc7115e-e023-1997-7d53-5f33be6c0d86 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB6E:10C5CB:13D901A:1A535B3:696ECC16 |
| html-safe-nonce | de830172a99e691d399cb3ba66ecc7111f16621f49792a20497d6e5858c7fb47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjZFOjEwQzVDQjoxM0Q5MDFBOjFBNTM1QjM6Njk2RUNDMTYiLCJ2aXNpdG9yX2lkIjoiMjU3NDkxNTc4NDI5NDcxNDM5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 467cab312bee6c52024c0474c848e192e4e53b4620c99b44c48363c13486631a |
| hovercard-subject-tag | issue:2605663584 |
| 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/559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/114c8e8fd81fa82c7c5a380fb85d235a9fc80d78a0e338af4b0675ae273ca2e5/python/core-workflow/issues/559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/114c8e8fd81fa82c7c5a380fb85d235a9fc80d78a0e338af4b0675ae273ca2e5/python/core-workflow/issues/559 |
| og:image:alt | @pablogsal recently opened a PR for automating revert commits. I agree with the issue but respectfully disagree with that particular proposal. Copying the reasoning from Pablo's comment: [There sho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | encukou |
| 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