Repository navigation
fix(ci): harden workflows, fuzz harness, and dev scripts for v1.9.2 - #173
Draft
skupriienko wants to merge 1 commit into
Draft
skupriienko wants to merge 1 commit into
skupriienko wants to merge 1 commit into
Conversation
This was referenced Nov 15, 2026
skupriienko
marked this pull request as draft
November 15, 2026 16:00
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack (v1.9.2 Hardening Rollout)
master<-wave-1-tooling-hygieneCRIT-03,CRIT-04,CRIT-05,HIGH-06wave-1-tooling-hygiene<-wave-2-transport-redactionCRIT-01,CRIT-02,HIGH-01(lock),HIGH-02,HIGH-03,HIGH-04(path),OPT-09wave-2-transport-redaction<-wave-3-boot-slots-poolingOPT-01..OPT-07,OPT-10,OPT-11,HIGH-01(warn_unclosed)wave-3-boot-slots-pooling<-wave-4-builders-semverHIGH-04(bool/stream),HIGH-05,HIGH-07,OPT-08wave-4-builders-semver<-wave-5-typing-stateful-testsMOD-02,MOD-04Merge in order: #173 -> #174 -> #175 -> #176 -> #177.
Summary
Wave 1 of 5 for the
v1.9.2hardening rollout. Hardens GitHub Actions workflows (zizmor-clean, OIDC Trusted Publishing), activates all 8 guardrails fuzz targets (0..7), fixesmanage.shandMakefilehygiene (zero*.txtdeletes, strictpip-auditexit codes,set -Eeuo pipefail), and alignserrors.pyandREADME.mddocstrings with exception-raising HTTP error semantics.Actions
.github/workflows/,CRIT-05):.github/workflows/publish.ymlto enforce PyPI/TestPyPI OIDC Trusted Publishing (id-token: write), restoreIS_STABLEgating, and remove static token bypasses..github/workflows/commit_checks.yaml,codeql.yml,issue-triage.yml, andsecurity.ymlto drop liveMJ_APIKEY_*env injection from the offline CI matrix, addmypy --strict,pyright,slotscheck,tests/test_boot.py, andtests/test_perf.pygates, fixcodeql.ymltarget branch (master) andcodeql-action/initstep, and addissue-triage.ymlnull guards.0..7(tests/fuzz/fuzz_guardrails.py,tests/unit/test_fuzz_targets.py,.clusterfuzzlite/,CRIT-03):ConsumeIntInRangeselector to(0, 7)so targets0..7execute cleanly instead of leaving targets5..7unreachable..clusterfuzzlite/Dockerfileand.clusterfuzzlite/build.shand added offline unit dispatcher reachability tests intests/unit/test_fuzz_targets.py.manage.sh,Makefile,environment-dev.yaml,pyproject.toml,CRIT-04):set -Eeuo pipefail, removed broad*.txtdeletion in clean rules, stopped swallowing exit codes inpip-auditandfuzz_all, and wiredmypy --strict,pyright, andslotscheckintomake analyze.mailjet_rest/errors.py,README.md,samples/*,HIGH-06):4xxresponses returnrequests.Responsewithout raising so docs match the exception-raising client behavior (ValidationError,MailjetAuthError,DoesNotExistError,ApiRateLimitError,MailjetApiError).Verification & Testing
v1.9.2stack:ruff check .,ruff format --check .,mypy --strict mailjet_rest,pyright mailjet_rest,slotscheck -m mailjet_rest,bandit -c pyproject.toml -r mailjet_rest,zizmor .github/workflows/(0findings),pip-audit --skip-editable, andpytest -n auto -W error tests/unit tests/property tests/regression.atherisfuzz execution runs in ClusterFuzzLite CI (atherisC extension is unavailable locally on Python 3.15); target0..7dispatcher coverage is verified offline intests/unit/test_fuzz_targets.py.pytest -m network,samples/smoke_readme_runner.py) were skipped locally due to absentMJ_APIKEY_PUBLIC/MJ_APIKEY_PRIVATEcredentials.