Skip to content

Conversation

@tagliala
Copy link
Contributor

When the DEBUG environment variable is set (even if empty), bundler may output additional messages to stdout, such as "Found no changes, using resolution from the lockfile". This can interfere with asset compilation, as scripts expecting a single path may instead receive multiple output lines, causing path corruption.

This commit adjusts the logic to always use the last line of the output from bundle show activeadmin, preventing such issues even if extraneous lines are present due to DEBUG or other future messaging changes.

Ref: #8891

iangreenleaf and others added 3 commits December 23, 2025 10:58
When the DEBUG environment variable is set (even if empty), bundler may output
additional messages to stdout, such as "Found no changes, using resolution from
the lockfile". This can interfere with asset compilation, as scripts expecting
a single path may instead receive multiple output lines, causing path
corruption.

This commit adjusts the logic to always use the last line of the output from
`bundle show activeadmin`, preventing such issues even if extraneous lines are
present due to DEBUG or other future messaging changes.

Ref: #8891
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (c5c0682) to head (9e6a4cf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8895   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files         139      139           
  Lines        4046     4046           
=======================================
  Hits         4009     4009           
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants