Skip to content

Conversation

@sgammon
Copy link
Member

@sgammon sgammon commented Jul 13, 2025

Ready for review Powered by Pull Request Badge

Summary

Removes the errant elide prefix on console.* output.

@sgammon sgammon added this to the Release R18: Beta milestone Jul 13, 2025
@sgammon sgammon self-assigned this Jul 13, 2025
@sgammon sgammon added bug Something isn't working module:cli CLI module issues and features labels Jul 13, 2025
@sgammon sgammon added this to Elide Jul 13, 2025
@codecov
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.47%. Comparing base (56b56a5) to head (fc791e5).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1533      +/-   ##
==========================================
+ Coverage   40.44%   40.47%   +0.03%     
==========================================
  Files         749      749              
  Lines       35325    35325              
  Branches     4967     4967              
==========================================
+ Hits        14287    14299      +12     
+ Misses      19336    19322      -14     
- Partials     1702     1704       +2     
Flag Coverage Δ
jvm 40.47% <ø> (+0.03%) ⬆️
lib 40.47% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56b56a5...fc791e5. Read the comment docs.

🚀 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.

@sgammon sgammon requested a review from Copilot July 13, 2025 17:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the unintended elide prefix from console outputs in the CLI’s logging configuration.

  • Strips the %magenta(elide) prefix from the console appender pattern
  • Ensures raw console.log output is emitted without additional labels
Comments suppressed due to low confidence (2)

packages/cli/src/main/resources/logback.xml:42

  • Add or update tests or integration tests to verify that console output from console.log is no longer prefixed with elide. This will help catch regressions if the logging configuration changes again.
      <pattern>%msg%n</pattern>

packages/cli/src/main/resources/logback.xml:42

  • [nitpick] Consider updating the project documentation (e.g., README or CLI usage guide) to note that console logs are now emitted without the elide prefix, so users know what to expect.
      <pattern>%msg%n</pattern>

Signed-off-by: Sam Gammon <sam@elide.dev>
@sgammon sgammon force-pushed the fix/logging-prefix branch from 2105f85 to fc791e5 Compare July 13, 2025 18:07
@sgammon sgammon moved this to Done in Elide Jul 13, 2025
@sgammon sgammon merged commit 2259405 into main Jul 13, 2025
27 of 28 checks passed
@elidebot elidebot mentioned this pull request Jul 19, 2025
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working module:cli CLI module issues and features

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants