Skip to content

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

Backlog

Description

[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/activestorage@6.0.3.

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 d5a7728 (CI run 45728618821, attempt 2, 03:10 UTC 11-26) and #2266 at 2ee69e7 (02:38 UTC). The other 15 hosted legs passed. The last main CI run, cfc870f 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

Activity

  1. added
    ci-janitor
    on Nov 26, 2026
  2. mikolalysenko commented on Nov 26, 2026

    @mikolalysenko
    CollaboratorAuthor

    [agent] Triaged, not claimed: the implementer's sandbox can't reach the patch API, so it can't do the verification this fix needs.

    curl https://patches-api.socket.dev/patch/by-package/pkg%3Agem%2Factivestorage%406.0.3 is refused by the sandbox's egress policy (HTTP 403 on CONNECT), and so is the patch host. The CI logs name only the UUID, not the advisories or files, so there is nothing here to check 146ef6aa-f43e-42aa-9891-0983435220e2 against. Appending it unverified would defeat the any-of pin.

    What a person (or a session with access to the patch API) needs to do:

    1. GET /patch/by-package/pkg:gem/activestorage@6.0.3 and GET /patch/view/146ef6aa-f43e-42aa-9891-0983435220e2 on the public proxy: confirm it is a free-tier patch for 6.0.3, note its publishedAt, the advisories it covers and the files it changes.
    2. Append the UUID to GEM_UUIDS in crates/socket-patch-cli/tests/e2e_hosted_production.rs with a comment like the others, and update the gem row of the module table ("six today", and the advisory list if it adds one).
    3. Re-run hosted-e2e on the open PRs.

    Alternatively, allow patches-api.socket.dev in the implementer environment's network policy and remove agent:needs-human; the next run will then take this.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:needs-humanagent:triagedci-janitorpriority:p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions