Title: Test and fix issue with stale CI step cleanup · Issue #1292 · usethis-python/usethis-python · GitHub
Open Graph Title: Test and fix issue with stale CI step cleanup · Issue #1292 · usethis-python/usethis-python
X Title: Test and fix issue with stale CI step cleanup · Issue #1292 · usethis-python/usethis-python
Description: Per copilot review of #1286 Tool.update_bitbucket_steps() returns early when pre-commit is used, which prevents cleanup of any previously-added Bitbucket steps for this tool. This can leave stale per-tool CI steps in bitbucket-pipelines....
Open Graph Description: Per copilot review of #1286 Tool.update_bitbucket_steps() returns early when pre-commit is used, which prevents cleanup of any previously-added Bitbucket steps for this tool. This can leave stale p...
X Description: Per copilot review of #1286 Tool.update_bitbucket_steps() returns early when pre-commit is used, which prevents cleanup of any previously-added Bitbucket steps for this tool. This can leave stale p...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1292
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test and fix issue with stale CI step cleanup","articleBody":"Per copilot review of #1286 \n\n`Tool.update_bitbucket_steps()` returns early when pre-commit is used, which prevents cleanup of any previously-added Bitbucket steps for this tool. This can leave stale per-tool CI steps in `bitbucket-pipelines.yml` after a project switches to running QA via pre-commit (or after `use_ci_bitbucket()` is re-run), causing duplicated CI work. Consider removing this tool’s managed Bitbucket steps when `is_pre_commit_used()` is true (or otherwise ensuring stale steps are cleaned up) before returning.\n\nTests should be written for this case, and the bug fixed.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-02-10T07:58:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1292/usethis-python/issues/1292"}
| 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:84c61db3-2389-af7b-5f2f-41706e908f85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9244:29BB0:174CCD3:216FE1B:6A4CD05F |
| html-safe-nonce | 6b02ab6a048ae3f37b1624c89303bf4e1a4f202d3b3de7af82bdf01d61fab9ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ0OjI5QkIwOjE3NENDRDM6MjE2RkUxQjo2QTRDRDA1RiIsInZpc2l0b3JfaWQiOiIxODUzODA4OTQzMDIyNTI2NTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb07d651e46795c00bea442566fe03850f822eb0207e3180765a5f569989dc47 |
| hovercard-subject-tag | issue:3919998621 |
| 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/usethis-python/usethis-python/1292/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3214bc4636f36574c9b344bd87e295cf73b511a1ff71241dc4b587c72dfab967/usethis-python/usethis-python/issues/1292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3214bc4636f36574c9b344bd87e295cf73b511a1ff71241dc4b587c72dfab967/usethis-python/usethis-python/issues/1292 |
| og:image:alt | Per copilot review of #1286 Tool.update_bitbucket_steps() returns early when pre-commit is used, which prevents cleanup of any previously-added Bitbucket steps for this tool. This can leave stale p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | f84814acc6f036583fd43463f5847a846243d2a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width