Skip to content
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

Downstream checks: add show closed and only failed options #2033

Merged
merged 2 commits into from
May 29, 2024

Conversation

VenelinMartinov
Copy link
Contributor

@VenelinMartinov VenelinMartinov commented May 28, 2024

This adds a flag to print closed downstream check PRs' status.

Useful if pulumibot auto-closed failed PRs.

It also adds an --only-failed flag to only print failed checks.

Example:

> python scripts/downstream_checks.py --hash 7a5e480 --show-closed --only-failed

FAILURE https://github.com/pulumi/pulumi-cloudflare/pull/784
FAILURE https://github.com/pulumi/pulumi-aws/pull/3983
FAILURE https://github.com/pulumi/pulumi-gcp/pull/2023
FAILURE https://github.com/pulumi/pulumi-auth0/pull/547
FAILURE https://github.com/pulumi/pulumi-okta/pull/624
FAILURE https://github.com/pulumi/pulumi-gitlab/pull/614
FAILURE https://github.com/pulumi/pulumi-github/pull/669
FAILURE https://github.com/pulumi/pulumi-azuread/pull/1081
FAILURE https://github.com/pulumi/pulumi-azure/pull/2065
MISSING https://github.com/pulumi/pulumi-meraki/actions/workflows/upgrade-bridge.yml
MISSING https://github.com/pulumi/pulumi-rabbitmq/actions/workflows/upgrade-bridge.yml
MISSING https://github.com/pulumi/pulumi-rancher2/actions/workflows/upgrade-bridge.yml
MISSING https://github.com/pulumi/pulumi-openstack/actions/workflows/upgrade-bridge.yml
MISSING https://github.com/pulumi/pulumi-postgresql/actions/workflows/upgrade-bridge.yml

@VenelinMartinov VenelinMartinov changed the title Downstream checks: add show closed option Downstream checks: add show closed and only failed options May 28, 2024
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.03%. Comparing base (b3c8151) to head (c2d2617).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2033      +/-   ##
==========================================
- Coverage   61.03%   61.03%   -0.01%     
==========================================
  Files         333      333              
  Lines       44861    44861              
==========================================
- Hits        27381    27379       -2     
- Misses      15961    15962       +1     
- Partials     1519     1520       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@VenelinMartinov VenelinMartinov merged commit 572f419 into master May 29, 2024
11 checks passed
@VenelinMartinov VenelinMartinov deleted the vvm/downstream_check_show_closed_option branch May 29, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants