-
Notifications
You must be signed in to change notification settings - Fork 4k
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(prlint): fail prlinter on codecov failures, with exemption label #32674
base: main
Are you sure you want to change the base?
Conversation
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.
draft PR because I am unsure how to test this...
projectPackages: await this.codecovProjectPackagesAwsCdkSucceeded(sha), | ||
}; | ||
|
||
validationCollector.validateRuleSet({ |
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 will always fail at the start because the codecov reports take time to be generated. not sure how bad that is yet.
@@ -24,6 +25,7 @@ enum Exemption { | |||
CLI_INTEG_TESTED = 'pr-linter/cli-integ-tested', | |||
REQUEST_CLARIFICATION = 'pr/reviewer-clarification-requested', | |||
REQUEST_EXEMPTION = 'pr-linter/exemption-requested', | |||
CODECOV = "pr-linter/exempt-codecov", |
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.
I think one exemption for all 4 codecovs should be fine for now...
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #32674 +/- ##
=======================================
Coverage 80.64% 80.64%
=======================================
Files 107 107
Lines 6994 6994
Branches 1290 1290
=======================================
Hits 5640 5640
Misses 1175 1175
Partials 179 179
Flags with carried forward coverage won't be shown. Click here to find out more.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Our current process for codecov statuses is that they block the merge of a PR if the are failing. This PR attempts to move this failure further forward in the PR process, so that the PRlinter fails and alerts the author. It also means that we can include an exemption label to merge a PR that we allow to be in breach of the codecov report. Currently, to do so we must change the branch protection rules.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license