-
Notifications
You must be signed in to change notification settings - Fork 127
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
deps(common/log): drop env_logger's auto-color and regex features #2373
Conversation
mozilla#2291 added additional formatting to our log output via `env_logger`'s `auto-color` feature. The `auto-color` feature adds the `is-terminal` crate dependency. `is-terminal` depends on `hermit-abi` `v0.4`. Pulling latest Neqo `v0.12.0` into mozilla-central adds `is-terminal` and `hermit-abi` `v0.4.0` to the Firefox dependency tree. In order to keep our dependency footprint low, I suggest not enabling the two `env-logger` features.
Failed Interop TestsQUIC Interop Runner, client vs. server, differences relative to 108fb8d. neqo-latest as client
neqo-latest as server
All resultsSucceeded Interop TestsQUIC Interop Runner, client vs. server neqo-latest as client
neqo-latest as server
Unsupported Interop TestsQUIC Interop Runner, client vs. server neqo-latest as client
neqo-latest as server
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2373 +/- ##
==========================================
- Coverage 95.31% 95.29% -0.02%
==========================================
Files 114 114
Lines 36856 36850 -6
Branches 36856 36850 -6
==========================================
- Hits 35128 35116 -12
- Misses 1724 1728 +4
- Partials 4 6 +2 ☔ View full report in Codecov by Sentry. |
Can we condition them on |
@larseggert I don't think hiding these dependencies behind a feature flag will resolve the issue. See same scenario we faced in the past:
|
Ah yes. Too bad. I kinda liked the color, but easy upstreaming is more important. |
🎉 with mozilla/mtu#74 and this patch, we are down to the following changes:
|
#2291 added additional formatting to our log output via
env_logger
'sauto-color
feature. Theauto-color
feature adds theis-terminal
crate dependency.is-terminal
depends onhermit-abi
v0.4
.Pulling latest Neqo
v0.12.0
into mozilla-central addsis-terminal
andhermit-abi
v0.4.0
to the Firefox dependency tree.In order to keep our dependency footprint low, I suggest not enabling the two
env-logger
features.@larseggert thoughts? Alternatively I can also audit the two dependencies and then introduce them into Firefox. That said, is it worth it?