Replace sass-rails with dartsass-sprockets for multi-arch support#192
Open
mkowalski wants to merge 1 commit intosclorg:masterfrom
Open
Replace sass-rails with dartsass-sprockets for multi-arch support#192mkowalski wants to merge 1 commit intosclorg:masterfrom
mkowalski wants to merge 1 commit intosclorg:masterfrom
Conversation
6ef5f01 to
64ebe91
Compare
sass-rails depends on sassc, which bundles a native libsass.so compiled for x86_64 only. On aarch64 nodes this causes a LoadError during rake db:migrate, breaking multi-arch CI runs. dartsass-sprockets is a drop-in replacement that uses Dart Sass via sass-embedded, which ships native binaries for both x86_64 and aarch64. Lockfile regenerated with both platforms. Fixes: https://issues.redhat.com/browse/OCPBUGS-84740 Signed-off-by: Mateusz Kowalski <mko@redhat.com> Generated-by: OpenClaw OpenClaw 2026.4.15 (041266a) AI-model: claude-opus-4.6
64ebe91 to
356300b
Compare
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
sass-railsdepends onsassc, which bundles a nativelibsass.socompiled for x86_64 only. On aarch64 nodes in multi-arch CI runs, this causes aLoadErrorduringrake db:migrate:This breaks three OCP Component Readiness tests (all at 0% pass rate on 4.20+).
Fix
Replace
sass-railswithdartsass-sprockets— a drop-in replacement that uses Dart Sass viasass-embedded, which ships native binaries for both x86_64 and aarch64. Lockfile regenerated with both platforms.Jira
Fixes: OCPBUGS-84740
🤖 This PR was created by OpenClaw on behalf of @mkowalski.