You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fail a Pillow Bump That Changes the Redaction Output #365
Dependabot now tracks the Pillow pin in scripts/requirements.txt, and per the fleet merge-bot standard its pull requests auto-merge once the required checks pass, since the required checks are the gate. No required check can see a Pillow bump change the redaction output.
checks/check-media-redactions.py compares the carried files against their committed hashes, so it never runs Pillow.
scripts/tests/test_redact_media.py records its expected hashes within the same run, so a different Pillow moves both sides together.
The pin check passes, because the pin and the installed Pillow move together.
So a bump that changes the output merges green, and the drift surfaces only when an entry is next re-run from its original.
Done looks like a required check that fails a pull request whose Pillow renders a fixed redaction to different bytes than a committed expectation, for example a small synthetic image and manifest entry under scripts/tests with its expected output hash committed.
Related gap found while documenting the bump in #364: after a Pillow bump, redact-media.py --record re-records only entries whose fills or crop changed, so an entry whose declaration is unchanged has no re-record path other than hand-editing its recorded result in the manifest. A fix here should cover re-recording under a new pin too, or say why it is not needed.
This is no longer hypothetical: within minutes of #366 reaching main, Dependabot moved Pillow from 11.3.0 to 12.3.0, a major version, and the merge bot auto-merged it into develop (#369) and main (#368, with #370 an overlapping group that changed nothing further). CI passed, which per the analysis above says nothing about the redaction output, so every carried redaction was produced under 11.3.0 and a re-run from an original now runs under 12.3.0. The check this issue asks for should establish whether 12.3.0 reproduces the recorded results.
Activity
ptr727 commentedon Oct 1, 2026
Related gap found while documenting the bump in #364: after a Pillow bump,
redact-media.py --recordre-records only entries whose fills or crop changed, so an entry whose declaration is unchanged has no re-record path other than hand-editing its recorded result in the manifest. A fix here should cover re-recording under a new pin too, or say why it is not needed.ptr727 commentedon Oct 1, 2026
This is no longer hypothetical: within minutes of #366 reaching
main, Dependabot moved Pillow from 11.3.0 to 12.3.0, a major version, and the merge bot auto-merged it intodevelop(#369) andmain(#368, with #370 an overlapping group that changed nothing further). CI passed, which per the analysis above says nothing about the redaction output, so every carried redaction was produced under 11.3.0 and a re-run from an original now runs under 12.3.0. The check this issue asks for should establish whether 12.3.0 reproduces the recorded results.