Skip to content

[changelog skip] Updated CI to run with currently supported ruby versions & other hatchet improvements#149

Merged
Nekaze merged 4 commits intomainfrom
nekaze/update-ci
Feb 18, 2026
Merged

[changelog skip] Updated CI to run with currently supported ruby versions & other hatchet improvements#149
Nekaze merged 4 commits intomainfrom
nekaze/update-ci

Conversation

@Nekaze
Copy link
Contributor

@Nekaze Nekaze commented Feb 17, 2026

Summary

This PR updates the ruby versions used in the CI to the currently supported Ruby versions https://www.ruby-lang.org/en/downloads/branches/

This PR also:

  • Updates the hatchet app created in the tests to have config var FOO=bar set on creation
  • Adds a teardown! method in the test file to ensure hatchet apps are deleted after testing

@Nekaze Nekaze changed the title Updated CI to run with currently supported ruby versions [changelog skip] Updated CI to run with currently supported ruby versions Feb 17, 2026
config = { "FOO" => "bar" }
@hatchet_app ||= begin
app = Hatchet::Runner.new("default_ruby", buildpacks: ["heroku/ruby"])
app = Hatchet::Runner.new("default_ruby", buildpacks: ["heroku/ruby"], config: config)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to add this to fix the test where config vars are checked. The config vars were returning empty and causing the test to fail.

By adding this, we force the hatchet app to have some config vars that can be checked in the test.

I am not sure how this worked before, but my guess is that it used DATABASE_URL or other configs that may take some time to appear on the app, depending on the provisioning time.

- name: "Set bundler path"
run: bundle config set path 'vendor/bundle'
- name: "Install dependencies"
run: bundle install --jobs=4 --retry=3 --path vendor/bundle
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer supported in Ruby 4.0. The fix is to set the path with bundle config set path 'vendor/bundle'

@Nekaze Nekaze self-assigned this Feb 17, 2026
@Nekaze Nekaze requested a review from a team February 17, 2026 21:56
@Nekaze Nekaze changed the title [changelog skip] Updated CI to run with currently supported ruby versions [changelog skip] Updated CI to run with currently supported ruby versions & other hatchet improvements Feb 17, 2026
Copy link

@pafuent pafuent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@Nekaze Nekaze merged commit a119201 into main Feb 18, 2026
7 checks passed
@Nekaze Nekaze deleted the nekaze/update-ci branch February 18, 2026 17:39
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.

2 participants