Skip to content

Add audition Ractor-readiness checks to CI#2671

Merged
joelhawksley merged 1 commit into
mainfrom
audition
Jul 24, 2026
Merged

Add audition Ractor-readiness checks to CI#2671
joelhawksley merged 1 commit into
mainfrom
audition

Conversation

@joelhawksley

Copy link
Copy Markdown
Member

Adds audition, a Ractor-readiness auditor, to CI.

What

  • Add the audition gem to the Gemfile (require: false).
  • Apply audition's safe --fix auto-corrections: freeze unfrozen string constants in ViewComponent::Errors (22 fixes).
  • Record existing findings in .audition-baseline.json so CI fails only on new Ractor-isolation violations (incremental adoption).
  • Add .audition.yml project config (fail_on: error).
  • Add an audition job to the Lint workflow running audition . --static-only --plain on Ruby 4.0.

Notes

  • audition requires Ruby 4.0+. The CI job installs it standalone (gem install audition) because its dependency rubydex is a precompiled native gem.
  • --static-only scopes the gate to ViewComponent's own code; the dynamic in-Ractor probe fails on dependency issues (ActiveSupport, i18n, etc.) that we can't fix here.
  • Regenerate the baseline with audition . --write-baseline.

- Add audition gem (Ractor-readiness auditor) to the Gemfile
- Apply safe --fix auto-corrections: freeze string constants in
  ViewComponent::Errors
- Record existing findings in .audition-baseline.json so CI fails only
  on new Ractor-isolation violations
- Add .audition.yml project config (fail_on: error)
- Add an audition job to the Lint workflow running
  'audition . --static-only' on Ruby 4.0
@joelhawksley
joelhawksley merged commit 09418fb into main Jul 24, 2026
22 checks passed
@joelhawksley
joelhawksley deleted the audition branch July 24, 2026 18:29
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