-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundle Analysis: associate past assets to current parsed bundle (#486)
- Loading branch information
1 parent
4fe84f0
commit 13a87ce
Showing
26 changed files
with
983 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,8 +55,8 @@ def get_upgrade_message(self, comparison: Comparison) -> str: | |
[ | ||
f"The author of this PR, {author_username}, is not an activated member of this organization on Codecov.", | ||
f"Please [activate this user on Codecov]({links['members_url']}) to display a detailed status check.", | ||
f"Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.", | ||
f"Please don't hesitate to email us at [email protected] with any questions.", | ||
"Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.", | ||
"Please don't hesitate to email us at [email protected] with any questions.", | ||
] | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -413,8 +413,8 @@ def _create_reached_upload_limit_message(self, comparison): | |
f"This org is currently on the free Basic Plan; which includes 250 free private repo uploads each rolling month.\ | ||
This limit has been reached and additional reports cannot be generated. For unlimited uploads,\ | ||
upgrade to our [pro plan]({links['plan_url']}).", | ||
f"", | ||
f"**Do you have questions or need help?** Connect with our sales team today at ` [email protected] `", | ||
"", | ||
"**Do you have questions or need help?** Connect with our sales team today at ` [email protected] `", | ||
] | ||
|
||
def _create_upgrade_message(self, comparison): | ||
|
@@ -430,15 +430,15 @@ def _create_upgrade_message(self, comparison): | |
return [ | ||
f"The author of this PR, {author_username}, is not an activated member of this organization on Codecov.", | ||
f"Please [activate this user on Codecov]({links['members_url_cloud']}) to display this PR comment.", | ||
f"Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.", | ||
f"Please don't hesitate to email us at [email protected] with any questions.", | ||
"Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.", | ||
"Please don't hesitate to email us at [email protected] with any questions.", | ||
] | ||
else: | ||
return [ | ||
f"The author of this PR, {author_username}, is not activated in your Codecov Self-Hosted installation.", | ||
f"Please [activate this user]({links['members_url_self_hosted']}) to display this PR comment.", | ||
f"Coverage data is still being uploaded to Codecov Self-Hosted for the purposes of overall coverage calculations.", | ||
f"Please contact your Codecov On-Premises installation administrator with any questions.", | ||
"Coverage data is still being uploaded to Codecov Self-Hosted for the purposes of overall coverage calculations.", | ||
"Please contact your Codecov On-Premises installation administrator with any questions.", | ||
] | ||
|
||
def _create_processing_upload_message(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -543,12 +543,12 @@ async def test_notify_upload_limited( | |
assert result.notification_successful | ||
assert result.explanation is None | ||
expected_message = [ | ||
f"## [Codecov](https://app.codecov.io/plan/gh/test-acc9) upload limit reached :warning:", | ||
f"This org is currently on the free Basic Plan; which includes 250 free private repo uploads each rolling month.\ | ||
"## [Codecov](https://app.codecov.io/plan/gh/test-acc9) upload limit reached :warning:", | ||
"This org is currently on the free Basic Plan; which includes 250 free private repo uploads each rolling month.\ | ||
This limit has been reached and additional reports cannot be generated. For unlimited uploads,\ | ||
upgrade to our [pro plan](https://app.codecov.io/plan/gh/test-acc9).", | ||
f"", | ||
f"**Do you have questions or need help?** Connect with our sales team today at ` [email protected] `", | ||
"", | ||
"**Do you have questions or need help?** Connect with our sales team today at ` [email protected] `", | ||
] | ||
for exp, res in zip(result.data_sent["message"], expected_message): | ||
assert exp == res | ||
|
Oops, something went wrong.