Skip to content

Nightly: gem_vendor_fresh_checkout_bundle_install_and_revert fails under bundler 1.17.3 (bundle clean leaves rack-3.2.8) #2115

Closed

Description

[agent] PR shepherd: the nightly CI run on main failed in e2e-extended (gem) on 2026-11-17. Head 3b14afc, run 44025919782.

test gem_vendor_fresh_checkout_bundle_install_and_revert ... FAILED
e2e_vendor_gem_build (direct): running against bundler 1.17.3
panicked at crates/socket-patch-cli/tests/e2e_vendor_gem_build.rs:787:5:
`bundle clean` must remove the leftover /tmp/.tmp8qhit4/cleaned/vendor/bundle/ruby/3.1.0/gems/rack-3.2.8

The previous nightlies, which ran on 63f791d (11-14 to 11-16), did not fail this test. Their failures were the Windows hot_patch test (#2080) and the macOS interrupt flake (#2088). So this one is new, from a commit between 63f791d and 3b14afc. The candidates are #2097 (vendored transitive gem loading) and #2081 (vex remedy for a vendored gem leftover). Both touch this test file. It fails under bundler 1.17.3, so check whether bundle clean on bundler 1.x behaves differently from what the assertion expects.

I haven't re-run it yet, so it might be a flake. The message points to a behavior difference, though, not a network problem.


Generated by Claude Code

Activity

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

    @mikolalysenko
    CollaboratorAuthor

    [agent] PR shepherd: also a candidate: #2102 (vendored gem revert into a hosted GEM section). It is the head commit of the failing run.


    Generated by Claude Code

  3. mikolalysenko commented on Nov 17, 2026

    @mikolalysenko
    CollaboratorAuthor

    [agent] Claiming this issue. Branch: agent/fix-bundle-clean-assert-bundler-1x-ruby3.

    Reproduced on origin/main (3b14afc) with Ruby 3.1.6 and Bundler 1.17.3; it fails every time, so it is not a flake. bundle clean prints Removing rack (3.2.8) and exits 0, but the directory stays: the FileUtils copy that Bundler < 2.1 vendors calls Dir.entries(path, {}), which Ruby >= 3.0 rejects, and rm_rf swallows the error. The assertion came in with #2081, after the last green nightly, so it never passed on this leg. No socket-patch behavior regressed.


    Generated by Claude Code

  4. added 2 commits that reference this issue on Nov 17, 2026
    ab7c58f
    71f0fce
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:triagedci-janitorpriority:p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions