Skip to content

Refresh v5 Ruby image, remove Pry, and update checkout - #142

Merged
crohr merged 2 commits into
v5from
auto/v5-refresh-ruby
Sep 10, 2026
Merged

crohr merged 2 commits into
v5from
auto/v5-refresh-ruby

Conversation

@crohr

@crohr crohr commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Context

Refresh the v5 action image after the Debian Bullseye repository expiry reported in #140, and update the preview workflows to current checkout.

Root cause

The Dockerfile still pins a 2023 image for an OpenSSH restriction whose documented deadline has passed. The provider already creates Amazon Linux 2023 instances. The old Pry dependency also crashes at startup on Ruby 3.3, although it only supports an unused debug console.

What changed

  • Use ruby:3.3-slim-bookworm and remove expired compatibility comments.
  • Remove Pry, its two dependencies, and the unused console command.
  • Update all three workflow checkout steps to actions/checkout@v7 (latest stable release: v7.0.1).

Validation

  • Built the action image for Linux amd64; apt update and bundle install passed.
  • Ran up --help, github-sync --help, and bundle check in the image.
  • Loaded the Lightsail SDK and completed a stubbed get_instances request; confirmed Pry is absent.
  • git diff --check passed. make test is a no-op on v5; this Ruby branch has no Go dist target.
  • Final adversarial review found no substantive issues, including architectural complexity.
  • Final deployment passed in 1m6s for 40244b606595e2c7f6ec090a1144b1b4bd8d3f20, including checkout v7.
  • Rechecked the live preview: HTTP 200 and WordPress installation page.
  • The pullpreview label remains applied.

@crohr crohr added the pullpreview This label allows to start a PullPreview environment label Sep 10, 2026
@crohr crohr changed the title Refresh the v5 Ruby image and fix Pry startup on Ruby 3.3 Refresh v5 Ruby image, remove Pry, and update checkout Sep 10, 2026
@crohr
crohr merged commit 385b519 into v5 Sep 10, 2026
4 checks passed
@crohr
crohr deleted the auto/v5-refresh-ruby branch September 10, 2026 07:16
@crohr crohr mentioned this pull request Sep 10, 2026
@github-actions github-actions Bot removed the pullpreview This label allows to start a PullPreview environment label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant