Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: disable colors when the output isn't compatible #9576

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Nov 5, 2024

This should leave colors in a tty but remove them from datadog and such

@eckter eckter requested a review from Erashin November 5, 2024 16:17
@eckter eckter requested a review from a team as a code owner November 5, 2024 16:17
@github-actions github-actions bot added the area:core Work on Core Service label Nov 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.49%. Comparing base (f05eecf) to head (eab53d2).
Report is 2 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #9576      +/-   ##
============================================
- Coverage     42.50%   42.49%   -0.01%     
  Complexity     2272     2272              
============================================
  Files          1312     1312              
  Lines        105588   105588              
  Branches       3304     3304              
============================================
- Hits          44881    44872       -9     
- Misses        58754    58763       +9     
  Partials       1953     1953              
Flag Coverage Δ
core 75.05% <ø> (ø)
editoast 73.69% <ø> (-0.04%) ⬇️
front 18.79% <ø> (ø)
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 86.74% <ø> (ø)

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

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

@eckter eckter force-pushed the ech/core-disable-colors branch from ff7ba26 to dfeb879 Compare November 6, 2024 08:25
@eckter eckter enabled auto-merge November 7, 2024 14:39
@eckter eckter force-pushed the ech/core-disable-colors branch from dfeb879 to eab53d2 Compare November 12, 2024 08:49
@eckter eckter added this pull request to the merge queue Nov 12, 2024
Merged via the queue into dev with commit 13dfc5c Nov 12, 2024
25 checks passed
@eckter eckter deleted the ech/core-disable-colors branch November 12, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants