Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

feat: Update announcements section of PR comment - #165

Merged
scott-codecov merged 1 commit into
mainfrom
scott/annoucements-section
Nov 1, 2023
Merged

scott-codecov merged 1 commit into
mainfrom
scott/annoucements-section

Conversation

@scott-codecov

Copy link
Copy Markdown
Contributor

Resolves codecov/engineering-team#475

Show the ATS message to applicable repos only and otherwise show info about the browser extension.

  • announcements section will still show up to 25% of PR comments that do not have the comment layout overridden in their YAML
  • if the ATS announcement applies to the comment then favor that:
    • must not be using ATS already
    • must be a Python repo
    • must have sufficiently large chunks size
  • otherwise fallback to one of the other general announcements (currently just the browser comment announcement)

Show the ATS message to applicable repos only and otherwise
show info about browser extension.
@codecov-staging

codecov-staging Bot commented Nov 1, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #165 (4e2febb) into main (55ec0a7) will decrease coverage by 0.01%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
- Coverage   98.38%   98.38%   -0.01%     
==========================================
  Files         348      348              
  Lines       27572    27607      +35     
==========================================
+ Hits        27128    27160      +32     
- Misses        444      447       +3     
Flag Coverage Δ
integration 98.38% <92.30%> (-0.01%) ⬇️
latest-uploader-overall 98.38% <92.30%> (-0.01%) ⬇️
unit 98.38% <92.30%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.87% <87.50%> (-0.03%) ⬇️
OutsideTasks 98.16% <92.30%> (-0.02%) ⬇️
Files Coverage Δ
.../notification/notifiers/tests/unit/test_comment.py 100.00% <100.00%> (ø)
.../notification/notifiers/mixins/message/sections.py 96.19% <87.50%> (-0.75%) ⬇️

@codecov-public-qa

codecov-public-qa Bot commented Nov 1, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #165 (4e2febb) into main (55ec0a7) will decrease coverage by 0.01%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
- Coverage   98.38%   98.38%   -0.01%     
==========================================
  Files         348      348              
  Lines       27572    27607      +35     
==========================================
+ Hits        27128    27160      +32     
- Misses        444      447       +3     
Flag Coverage Δ
integration 98.38% <92.30%> (-0.01%) ⬇️
latest-uploader-overall 98.38% <92.30%> (-0.01%) ⬇️
unit 98.38% <92.30%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.87% <87.50%> (-0.03%) ⬇️
OutsideTasks 98.16% <92.30%> (-0.02%) ⬇️
Files Coverage Δ
.../notification/notifiers/tests/unit/test_comment.py 100.00% <100.00%> (ø)
.../notification/notifiers/mixins/message/sections.py 96.19% <87.50%> (-0.75%) ⬇️

@codecov

codecov Bot commented Nov 1, 2023

Copy link
Copy Markdown

Codecov Report

Merging #165 (4e2febb) into main (55ec0a7) will decrease coverage by 0.01%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
- Coverage   98.35%   98.34%   -0.01%     
==========================================
  Files         374      374              
  Lines       28068    28103      +35     
==========================================
+ Hits        27605    27637      +32     
- Misses        463      466       +3     
Flag Coverage Δ
integration 98.38% <92.30%> (-0.01%) ⬇️
latest-uploader-overall 98.38% <92.30%> (-0.01%) ⬇️
unit 98.38% <92.30%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.76% <87.50%> (-0.03%) ⬇️
OutsideTasks 98.16% <92.30%> (-0.02%) ⬇️
Files Coverage Δ
.../notification/notifiers/tests/unit/test_comment.py 100.00% <100.00%> (ø)
.../notification/notifiers/mixins/message/sections.py 94.91% <87.50%> (-0.62%) ⬇️
Related Entrypoints
run/app.tasks.notify.Notify

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Messaging in PR comment: browser extension

2 participants