Repository navigation
fix(linting): install ruby-dev and build-base so mdl builds - #422
Merged
Merged
Conversation
`gem install mdl` now pulls racc with a native extension; on alpine
without the Ruby headers extconf.rb fails ("can't find header files for
ruby") and every run-pre-commit call errors before a hook runs (seen on
all harvester PRs since 2026-10-15).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016TtmNGbCHXQGtqnrT926ZN
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 15, 2026
## [0.137.4](v0.137.3...v0.137.4) (2026-10-15) ### Bug Fixes * **linting:** install ruby-dev and build-base so mdl builds ([#422](#422)) ([5a94da8](5a94da8))
|
🎉 This PR is included in version 0.137.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
patrick-hermann-sva
added a commit
to stuttgart-things/github-workflow-templates
that referenced
this pull request
Oct 15, 2026
dagger/linting before v0.137.4 cannot install mdl (racc native extension without ruby-dev on alpine), so every call-pre-commit run failed before a hook ran (stuttgart-things/dagger#422). Only this template; Renovate bumps the others together as usual. Claude-Session: https://claude.ai/code/session_016TtmNGbCHXQGtqnrT926ZN Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Problem:
run-pre-commitfails before any hook runs:gem install mdlnow resolves a dependency chain with racc's native extension; the alpine image hasrubybut no headers/compiler. Hits every PR in stuttgart-things/harvester since today (e.g. harvester#443, #445).Fix:
ruby-dev+build-basein the apk install.Tested locally:
dagger -m ./linting call run-pre-commit --src <harvester clone> --skip-hooks hadolint-docker,shellcheck→ container builds, all hooks Passed/Skipped.After release: bump
linting-module-versiondefault in stuttgart-things/github-workflow-templatescall-pre-commit.yaml(currently v0.137.2).🤖 Generated with Claude Code
https://claude.ai/code/session_016TtmNGbCHXQGtqnrT926ZN