Repository navigation
Bring the pinned activestorage 6.0.3 patches up to date in the production suites - #2280
Mikola Lysenko (mikolalysenko) wants to merge 2 commits into
Conversation
…ed proof `gem_bundler_hosted_install_proof` pins the set of patches that a hosted scan may wire for activestorage 6.0.3, so that a change in production is looked at before the test accepts it. Production published a new free patch for that release on 2026-11-26 (146ef6aa-f43e-42aa-9891-0983435220e2: GHSA-w749-p3v6-hccq / CVE-2022-21831, three files), the redirect now wires it, and the `hosted-e2e` job fails on main and on every pull request with "which is not in the pinned any-of set". The patch was checked against the patch catalog: it is published, built, free, for the ruby-platform gem of that release, and changes image_processing_transformer.rb, engine.rb and active_storage.rb, the same files as the earlier patches for that advisory. It joins the set. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first commit added the newly wired patch to the hosted suite only. Looking at what production did on 2026-11-26T01:43Z shows more than a new patch: - the patch for GHSA-w749-p3v6-hccq (6c4141c5-…) was republished as 146ef6aa-… and the old one withdrawn as superseded; - the merged patch that contained it (01019627-…, three advisories in one artifact, the hosted pick since 2026-09-04) was withdrawn with it, so the pick for this release now covers one advisory. Both withdrawn patches leave the two pin sets: neither can be wired or downloaded any more, and the comment that the merge rung selects 01019627-… was no longer true. The vendored suite's twin set gets the new patch too; it had been left out, so its gem leg would still have failed. The next patch in the ranking, c29ea174-… (GHSA-f3w6-w445-fwh9, published 2026-11-06, four files), was in neither set and joins both, so the next withdrawal does not fail the job again. The table in the hosted suite's module doc is brought up to date. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview Hosted ( Vendored ( No production or CLI logic changes—only test catalog constants and comments. Reviewed by Cursor Bugbot for commit 814d2ef. Configure here. |
|
[agent] PR shepherd: review brief What it does Risk Look here
Verified
Changes I made Open questions
Generated by Claude Code |
Brings the pinned patch sets of the two production suites up to date for activestorage 6.0.3, so the
hosted-e2ejob passes again. It fails onmainand on every open pull request today.Why
gem_bundler_hosted_install_proofpins the patches a hosted scan may wire for activestorage 6.0.3, so that a change in production is looked at before it is accepted. The job now stops with:What production did
On 2026-11-26T01:43Z, checked against the patch catalog:
146ef6aa-f43e-42aa-9891-0983435220e2(free, built, three files:image_processing_transformer.rb,engine.rb,active_storage.rb), and the earlier patch for that advisory,6c4141c5-…, was withdrawn as superseded.01019627-…, was withdrawn with it. That patch fixed three advisories in one artifact and had been the hosted pick since 2026-09-04. So the pick for this release now covers one advisory, where it covered three, until production publishes a merged patch again.What changes
146ef6aa-…joins both sets:GEM_UUIDSin the hosted suite andGEM_PATCHESin the vendored suite (the first commit had only the hosted one, which would have left the vendored gem leg failing).6c4141c5-…and01019627-…leave both sets. Neither can be wired or downloaded any more, and the comment that the merge rung selects01019627-…was no longer true.c29ea174-efc2-443b-ab66-b6ba73c9d6aejoins both sets: GHSA-f3w6-w445-fwh9, free, published 2026-11-06, four files. It is the next patch in the ranking and was in neither set, so the next withdrawal would have failed the job again.Not done here
/code-review highalso pointed out that a required check that hard-codes a list of production patch UUIDs fails onmainand every pull request at each publish or withdrawal for this release (this is at least the third time), and that the two suites keep two hand-maintained copies of the list. Both are worth fixing, the first by checking the wired patch against the live free set and moving "a patch nobody has looked at" to a non-blocking canary; neither belongs in a change whose purpose is to get the job green.Testing
Changes to two test constants and their comments;
cargo fmt --all -- --checkis clean, nothing else was built locally. Thehosted-e2ejob on this pull request is the test for the hosted suite. The vendored suite's gem leg does not run in CI.🤖 Generated with Claude Code
Generated by Claude Code