[Task]: test tools/finish_release.py as part of CI
Maintainers usually reply within 1 day
@bmw is already working on this.
Since Dec 18, 2025.
Assessment
This issue has not been assessed yet.
Description
Task description
in the last planned release, tools/finish_release.py broke. see https://github.com/certbot/certbot/pull/10503. to help prevent this in the future, we planned to start running this script as part of our nightly CI so we can catch potential problems before release time. this is the issue i said i'd write about this tracking that work
i'm open to other options, but i was imagining we'd do this by:
- give the credential described here access to the candidate, beta, and edge channels
- update finish_release.py to do more than just move release snaps between the beta and stable channels. my first thought on how to do this is to use optional CLI flags which we'd set in CI but not require during the release for convenience. there's at least a few pieces to this which i see right now:
- we'd need to be able to find the snap we want to move which i'd recommend we accomplish by setting a
--target-versionflag to a value that'd be something like 5.3.0.dev0. this would cause the script to look for that version in the snap store rather than querying azure pipelines. if this flag isn't set, it'd query azure pipelines which i think is the behavior we want when running the script locally for a release. alternatively, since testing the azure pipelines querying code in CI is difficult, we could remove this functionality and make--target-versiona required argument to finish_release which would also remove finish_release.py's only non-stdlib dependency. if this alternate approach is taken, we also need to update the release instructions - we'd also need to specify which channel we want to move snaps from through a flag named something like
--source-channel. i'd recommend this defaults to "candidate", but in CI we'd set it to "edge". - snaps are moved up one channel. that is, edge goes to beta, beta goes to candidate, and candidate goes to stable. i don't foresee us using the beta to candidate functionality, so that could be skipped if it's more convenient
- we'd need to be able to find the snap we want to move which i'd recommend we accomplish by setting a
- as part of the nightly deploy stage (but not the release deploy stage), we set up and run finish_release.py to move recently release edge snaps to the beta channel. this will require installing finish_release.py's dependencies and blocking this job on the current snap deploy jobs
- we update the release deploy stage to move snaps to the candidate channel
- profit?
this may not be a complete plan and i may be missing things here, but i believe an approach like this would allow us to run and test the script in CI nightly
- Dominant language
- Python
- Stars
- 33.4k
- Forks
- 3.5k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from certbot/certbot
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
dns-google: add_txt_record appends unquoted value onto quoted existing rrdatasPossibly taken @BeigeBox claimed this 229 days ago. Openhas pr
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
[Task]: Update apache configs to use ML-KEM handshakesPossibly taken @bmw claimed this 2 days ago. Open
certbot/certbot#10840 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[Task]: Make 384 the default ECDSA curve sizePossibly taken @wgreenberg claimed this 2 days ago. Open
certbot/certbot#10838 · 1 comment · 4 reactions · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day