Uh oh!
There was an error while loading. Please reload this page.
gh-145000: Run check-html-ids.py in CI - #145632
Conversation
Annoyingly, no exclude file exists on main yet, and trying to add one here won't work, since the PR base won't have it. So, I am forced to leave a TODO. And we have the same issue with adding |
webknjaz
commented
Mar 8, 2026
I don't like that |
StanFromIreland
commented
Mar 9, 2026
In this instance, I think it is better to group them, creating a new module will just introduce more issues with passing inputs IMO. |
hugovk
commented
Mar 9, 2026
So we're building docs in the PR, then checking out the base branch, building the docs again, and comparing? It only takes a couple of minutes for that base branch build, but it feels like we could avoid this extra CI work somehow? Of course, we don't build docs for every PR, so that reduces it. And we also don't build docs for regular pushes to |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
encukou
commented
Mar 10, 2026
Yeah, that's wasteful. |
StanFromIreland
commented
Mar 10, 2026
Then we'd have to host it for every commit, or accept that much more frequent branch updates are necessary (which is also wasteful). For example, commits: When the CI runs on C, it will pull the base IDs. But, the IDs added by B will be missing at C, so the CI will falsely report it as removed. |
StanFromIreland
commented
Mar 19, 2026
For the record, we discussed this during Petr's docs meeting yesterday.
|
StanFromIreland
commented
Mar 19, 2026
After some more thought, it does not actually complicate anything, and as such, I have decided to do this. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vstinner
commented
Apr 1, 2026
This change introduced errors in the GHA Lint CI: https://github.com/python/cpython/actions/runs/23850561184/job/69529219964?pr=147962 (from PR gh-147962) Example: Since this PR was created (1 month ago), zizmor was made more strict (see commit a504c0a of issue gh-146488). |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This doesn’t introduce any slowdown in the CI as the doctest job is slower. To avoid building the docs twice, I use the build from the
build-docstep to run the script and upload the results.🟢 Pass example
🔴 Fail example (When merged, it will properly fail, currently the script doesn’t
sys.exit(1))📚 Documentation preview 📚: https://cpython-previews--145632.org.readthedocs.build/