Skip to content

fix: Require patched Active Support 8.0 - #840

Open
damacus wants to merge 1 commit into
inspec:mainfrom
damacus:codex/fix-activesupport
Open

damacus wants to merge 1 commit into
inspec:mainfrom
damacus:codex/fix-activesupport

Conversation

@damacus

@damacus damacus commented Nov 26, 2026

Copy link
Copy Markdown

The Active Support 7.2 constraint in Train prevents downstream users from installing a version patched for GHSA-8474-xrp6-wh69. Require Active Support 8.0.5.2 or newer in the 8.0 series and retain the XML conversion dependency used by the InSpec Azure resource pack.

Active Support 8.0 requires Ruby 3.2 or newer. Update the Ruby requirement for the full train gem and the Buildkite jobs. The Windows job uses the published Ruby 3.3 image.

Raise the full Train gem minimum to Ruby 3.2 so it can use a version of
Active Support patched for GHSA-8474-xrp6-wh69. Update the Buildkite
Ruby matrix to match the new requirement.

Signed-off-by: Dan Webb <dan.webb@damacus.io>
@damacus
damacus requested a review from a team as a code owner November 26, 2026 16:58
@damacus
damacus requested review from chandra-progress and clintoncwolfe and a balanced review from Copilot November 26, 2026 16:58
@chef-expeditor

Copy link
Copy Markdown
Contributor

Hello damacus! Thanks for the pull request!

Here is what will happen next:

  1. Your PR will be reviewed by the maintainers.
  2. Possible Outcomes
    a. If everything looks good, one of them will approve it, and your PR will be merged.
    b. The maintainer may request follow-on work (e.g. code fix, linting, etc). We would encourage you to address this work in 2-3 business days to keep the conversation going and to get your contribution in sooner.
    c. Cases exist where a PR is neither aligned to Chef InSpec's product roadmap, or something the team can own or maintain long-term. In these cases, the maintainer will provide justification and close out the PR.

Thank you for contributing!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the Active Support dependency and Ruby-version updates.

No open issues 🎉

What changed in this PR

Updates the full train gem to require Active Support 8.0 releases patched for GHSA-8474-xrp6-wh69 and aligns Buildkite jobs with the higher Ruby requirement.

Changes:

  • Requires Active Support ≥ 8.0.5.2 within the 8.0 series.
  • Raises the full train gem’s minimum Ruby version to 3.2.
  • Moves baseline Linux jobs to Ruby 3.2 and the baseline Windows test job to Ruby 3.3.
File Description
train.gemspec Updates Active Support constraints and the minimum Ruby version.
.expeditor/​verify.pipeline.yml Updates baseline lint and test job labels and Ruby images.
.expeditor/​coverage.pipeline.yml Moves coverage execution to Ruby 3.2.

Review effort: Balanced

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