-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: user config in notifications #600
chore: user config in notifications #600
Conversation
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 97.59% 97.59%
=======================================
Files 431 431
Lines 36096 36147 +51
=======================================
+ Hits 35229 35279 +50
- Misses 867 868 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 97.59% 97.59%
=======================================
Files 431 431
Lines 36096 36147 +51
=======================================
+ Hits 35229 35279 +50
- Misses 867 868 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 97.59% 97.59%
=======================================
Files 431 431
Lines 36096 36147 +51
=======================================
+ Hits 35229 35279 +50
- Misses 867 868 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 97.63% 97.63%
=======================================
Files 466 466
Lines 37302 37353 +51
=======================================
+ Hits 36421 36471 +50
- Misses 881 882 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
This change has been scanned for critical changes. Learn more |
06e6e73
to
91fdbec
Compare
7704236
to
7e7277c
Compare
895487a
to
08cd3d9
Compare
requirements.in
Outdated
@@ -1,3 +1,4 @@ | |||
https://github.com/codecov/shared/archive/1ab8ac9b8875ee2da8b473033772c2377f09bf95.tar.gz#egg=shared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line is duplicated
These changes hide away the current_yaml from the Contexts. The original idea was to not expose it, but I didn't do that detail correctly the 1st time. Not it's hidden behind the `user_config` field. Builders still have full access. The `user_config` field parses the config that will be used for commit statuses, and also the config already used for the PR comment required changes. There are 2 similar but different configurations: * `required_changes_threshold` is the threshold to send the comment; * `warning_threshold` is the threshold to fail status checks (emit warning by default)
1946182
to
9611ce2
Compare
These changes hide away the current_yaml from the Contexts.
The original idea was to not expose it, but I didn't do that detail correctly the 1st time.
Now it's hidden behind the
user_config
field. Builders still have full access.The
user_config
field parses the config that will be used for commit statuses,and also the config already used for the PR comment required changes.
Notice that we have 2 seemingly redundant options with
changes_threshold
andrequired_changes_threshold
. Still waiting on design to clean that up,but they are technically different things at this time:
required_changes_threshold
is the threshold to send the comment;changes_threshold
is the threshold to fail status checksIf they remain separate one of them will be renamed :E