CI: hosted-e2e gem leg fails on every PR: production published activestorage 6.0.3 patch 146ef6aa, not in GEM_UUIDS

Offen Anfängerfreundlich
#2,270 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
ci-cd, testing

Rechercherichtung

Beginne mit der Definition von GEM_UUIDS und dem Doc-Kommentar. Untersuche anschließend gem_bundler_hosted_install_proof in crates/socket-patch-cli/tests/e2e_hosted_production.rs und überprüfe die vorgeschlagene Patch-UUID über die Patch-API. Bestätige, dass Advisory und Dateien mit dem übereinstimmen, was der Testinhalt überprüft, und füge dann die verifizierte UUID hinzu und aktualisiere bei Bedarf die Anzahl in der Modultabelle. Fertig, wenn der Hosted-Production-Test mit intakter Any-of-Prüfung besteht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

agent:needs-human agent:triaged ci-janitor priority:p1

[agent] PR shepherd: the required hosted-e2e check, and with it ci-ok, now fails on every PR because production published a new patch for pkg:gem/[email protected].

Failing test: gem_bundler_hosted_install_proof in crates/socket-patch-cli/tests/e2e_hosted_production.rs, on all 3 in-job attempts:

the redirect wired patch 146ef6aa-f43e-42aa-9891-0983435220e2, which is not in the pinned any-of set
["15e960b5-…", "6c4141c5-…", "eeb6bf9f-…", "c1a1cd3c-…", "9c2b4925-…", "01019627-…"].
If production replaced or extended the 6.0.3 patches, verify the new patch and extend GEM_UUIDS.

Seen on: #2261 at d5a77284 (CI run 45728618821, attempt 2, 03:10 UTC 11-26) and #2266 at 2ee69e77 (02:38 UTC). The other 15 hosted legs passed. The last main CI run, cfc870f5 at 22:40 UTC 11-25, passed before this patch appeared, so main's next run will fail the same way.

Fix: follow the GEM_UUIDS doc comment. Verify 146ef6aa-f43e-42aa-9891-0983435220e2 against the patch API's view of it (which advisory it covers, and that its files match what the test content-verifies), then append it to GEM_UUIDS with a comment like the others. Update the count in the module table if the set's description changes. Don't loosen the any-of check.

Until this lands, no PR can get a green ci-ok. After it merges, re-run hosted-e2e on the open PRs (#2261, #2265, #2266).


Generated by Claude Code

Vorherrschende Sprache
Rust
Sterne
9
Forks
2
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
313

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SocketDev/socket-patch

Alle Issues in SocketDev/socket-patch

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.