Skip to content

Conversation

@abailly-akamai
Copy link
Contributor

@abailly-akamai abailly-akamai commented Oct 25, 2024

Description 📝

https://github.com/linode/manager/actions/workflows/coverage_comment.yml?query=is:failure

The "Coverage Comment" GHA depends on the "Code Coverage" workflow to be completed. However that job is designed to not run on draft, so every time a draft gets updates this job fails, because apparently it assumes the job is completed when it never runs.

This flag should fix this and remove some noise when running on drafts.

There unfortunately isn't a way to check this works until this is merged but I have confidence this should do it, and if not we can always do a quick revert

Changes 🔄

  • Add a flag to the "Coverage Comment" GHA to make sure it only runs if the workflow it depends on actually succeeds

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@abailly-akamai abailly-akamai self-assigned this Oct 25, 2024
@abailly-akamai abailly-akamai marked this pull request as ready for review October 25, 2024 03:42
@abailly-akamai abailly-akamai requested a review from a team as a code owner October 25, 2024 03:42
@abailly-akamai abailly-akamai requested review from hana-akamai and mjac0bs and removed request for a team October 25, 2024 03:42
@github-actions
Copy link

github-actions bot commented Oct 25, 2024

Coverage Report:
Base Coverage: 86.98%
Current Coverage: 86.98%

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Alban! Looking forward to the decrease in noise with this change.

@mjac0bs mjac0bs changed the title fix: [M3-9788] - Only run coverage comment job on non-drafts fix: [M3-8788] - Only run coverage comment job on non-drafts Oct 25, 2024
@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label Oct 25, 2024
@abailly-akamai abailly-akamai merged commit 52052ce into linode:develop Oct 25, 2024
@abailly-akamai
Copy link
Contributor Author

it works!

@cypress
Copy link

cypress bot commented Oct 25, 2024

Cloud Manager E2E    Run #6733

Run Properties:  status check passed Passed #6733  •  git commit 52052ce671: fix: [M3-8788] - Only run coverage comment job on non-drafts (#11161)
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #6733
Run duration 29m 07s
Commit git commit 52052ce671: fix: [M3-8788] - Only run coverage comment job on non-drafts (#11161)
Committer Alban Bailly
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 445
View all changes introduced in this branch ↗︎

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

Labels

Approved Multiple approvals and ready to merge!

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants