rylev opened PR #1529 from debug-not-info
to master
:
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The
info!
log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use thedebug!
logging macro.I'm not sure who should look at this, but perhaps @peterhuene can take a look.
sunfishcode submitted PR Review.
sunfishcode submitted PR Review.
sunfishcode created PR Review Comment:
This error seems is about more than just "here's some stuff you may want if you're debugging". It's more "something unexpected happened which isn't immediately fatal but which may mean the module cache isn't actually caching things".
sunfishcode created PR Review Comment:
This also seems higher priority than debug. This is "this should be super rare, and even though we have code to handle it, be aware that this super rare thing is happening!"
rylev submitted PR Review.
rylev created PR Review Comment:
This sounds like
warn
might be more appropriate then.
rylev submitted PR Review.
rylev created PR Review Comment:
this sounds like
warn
again
sunfishcode submitted PR Review.
sunfishcode created PR Review Comment:
Makes sense. Would you mind changing this one to
warn
?
sunfishcode submitted PR Review.
sunfishcode created PR Review Comment:
This message in itself doesn't indicate that something went wrong, just that something we expect to be rare, but still valid, happened. I'll go with your judgement about whether this should be
info
orwarn
though.
peterhuene submitted PR Review.
rylev updated PR #1529 from debug-not-info
to master
:
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The
info!
log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use thedebug!
logging macro.I'm not sure who should look at this, but perhaps @peterhuene can take a look.
rylev requested peterhuene for a review on PR #1529.
rylev requested peterhuene and sunfishcode for a review on PR #1529.
alexcrichton edited PR #1529 from debug-not-info
to main
:
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The
info!
log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use thedebug!
logging macro.I'm not sure who should look at this, but perhaps @peterhuene can take a look.
rylev closed without merge PR #1529.
Last updated: Dec 23 2024 at 12:05 UTC