Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-143572: Run 'python3-libraries' fuzzer in CI using CIFuzz#143749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-143572: Run 'python3-libraries' fuzzer in CI using CIFuzz #143749
Uh oh!
There was an error while loading. Please reload this page.
Conversation
sethmlarson commented Jan 12, 2026 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Misc/NEWS.d/next/Tools-Demos/2026-01-12-13-37-14.gh-issue-143572.WKV_Jk.rst Outdated Show resolvedHide resolved
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hugovk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could also rename most of the "library"/"libraries"/"LIBRARY" to "stdlib"/"STDLIB" and it'd be clearer this is running on the standard library and not any third-party library code.
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.
sethmlarson commented Jan 12, 2026
I agree with this, we can change most of our uses to "stdlib" within this PR except for |
sethmlarson commented Jan 12, 2026
Thanks @StanFromIreland and @hugovk for the reviews! I've moved to a reusable workflows approach. I'll try pushing a commit modifying one of the libraries to check that the workflow fires correctly. |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.
hugovk commented Jan 13, 2026
(I resolved the conflict) |
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <578543+webknjaz@users.noreply.github.com>
sethmlarson commented Jan 13, 2026
@webknjaz I'm not sure why actionlint is refusing the |
sethmlarson commented Jan 13, 2026
With the latest commit we got a run, but the values of |
webknjaz commented Jan 14, 2026
Not sure. Might be a bug in actionlint. Or maybe I misunderstood that this'd work from the docs 🤷♂️ |
webknjaz commented Jan 14, 2026
Sounds like maybe I messed up the suggested conditionals or something. I'll double-check the current diff. |
Uh oh!
There was an error while loading. Please reload this page.
webknjaz commented Jan 15, 2026
One more thing — in general, it's a good idea to keep the CI infra the same (at least structurally) across branches since this will reduce conflicts when backporting more important changes. So this will need to be backported if possible. Either partially or, if there's no problems — in full. The backwards compat considerations would almost never apply to the CI infra the same way it'd apply to the user-facing changes. |
hugovk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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.
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.
Uh oh!
There was an error while loading. Please reload this page.
hugovk commented Jan 16, 2026 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
A brief note on CI time. These three jobs take about 22 minutes, which is fine:
https://github.com/python/cpython/actions/runs/21006197138/usage We have a few other jobs taking around this long, like Android and iOS and some Windows ones, with one free-threaded Windows being the bottleneck at 32 mins. ![]() Just something to keep an eye on. |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks all!
edeebe2 into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @sethmlarson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @sethmlarson and @hugovk, I could not cleanly backport this to |
Sorry, @sethmlarson and @hugovk, I could not cleanly backport this to |
sethmlarson commented Jan 16, 2026
@hugovk I can work on creating backports. Thanks for the reviews, everyone! |
GH-143912 is a backport of this pull request to the 3.14 branch. |
…Fuzz (pythonGH-143749) (cherry picked from commit edeebe2) Co-authored-by: Seth Michael Larson <seth@python.org> Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <578543+webknjaz@users.noreply.github.com> Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-143915 is a backport of this pull request to the 3.13 branch. |
| runs-on: ubuntu-latest | ||
| timeout-minutes: 60 | ||
| # ${{''} is a hack to nest jobs under the same sidebar category. | ||
| name: CIFuzz${{''}} # zizmor: ignore[obfuscation] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reflecting on this a bit, I think we could've interpolated one of the factors to produce separate categories.
- name: CIFuzz${{'' }} # zizmor: ignore[obfuscation]+ name: CIFuzz (${{matrix.oss-fuzz-project-name }})We can still do this in follow-ups if you @sethmlarson think it's a good idea.

Created a list of files and directories that should trigger a re-run of the
python3-librariesfuzzers. Now that the Python repository is the home for this fuzzer it should be easier for Python core developers to fix issues with the fuzzer in case there are issues.