Repository navigation
Add Ruby/Rails compatibility matrix to README and CI - #1
Merged
Merged
Conversation
- CI runs the unit suite on Ruby 3.0–4.0 (plus ruby-head, allowed to fail) and an end-to-end check on Rails 7.1/7.2/8.0/8.1 × Ruby 3.2–4.0. - script/rails_e2e/run.sh creates a fresh Rails app, scaffolds a resource, converts its views and renders them through the generated Phlex/RubyUI classes in an integration test. - README documents both matrices and the json/minitest pins needed by Rails < 8.1 apps created today. Co-Authored-By: Claude Opus 5.5 <[email protected]>
refract 1.1.0 (phlex 2.4 dependency) references Prism::MissingNode, removed in prism 2.x, so the app crashes on eager load — which the Rails test env enables when CI is set. Pin prism < 2 in the generated app, always run the integration test with eager loading so every generated class is loaded, and document the pin in the README. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.yml):test: unit suite on Ruby 3.0, 3.1, 3.2, 3.3, 3.4, 4.0 (+head, allowed to fail).rails: end-to-end check on Rails 7.1 / 7.2 / 8.0 / 8.1 × Ruby 3.2 / 3.3 / 3.4 / 4.0 (runs aftertest).script/rails_e2e/run.sh:rails new+ scaffold with every common column type →ruby_ui_converter convert→ wires the controller to the generated classes → integration test rendering index/show/new/edit, validation errors and create.json < 3/minitest < 6pins that Rails < 8.1 apps created today need (Rails-side incompatibilities, unrelated to the converter).Verification
Verified locally before opening:
The workflow itself hasn't run on GitHub Actions yet — this PR is its first run.
🤖 Generated with Claude Code