Skip to content

airbyte-ci: do the regression test status check on all PRs #42040

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

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

clnoll
Copy link
Contributor

@clnoll clnoll commented Jul 17, 2024

We were skipping the status check success call if the PR had no connector changes, but we should always send it.

Also sends success if the PR is marked for auto-merge.

Copy link

vercel bot commented Jul 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Jul 17, 2024 1:13pm

@clnoll clnoll force-pushed the catherine/fix-status-check branch 2 times, most recently from 22a1ae2 to 8edbca1 Compare July 17, 2024 11:55
@clnoll clnoll force-pushed the catherine/fix-status-check branch from 8edbca1 to 0b6b05c Compare July 17, 2024 12:04
@clnoll clnoll force-pushed the catherine/fix-status-check branch from 26c696d to b25dbb3 Compare July 17, 2024 12:34
@clnoll clnoll requested a review from alafanechere July 17, 2024 12:34
@@ -86,7 +86,7 @@ def do_regression_test_status_check_maybe(ctx: click.Context, status_check_name:
run_url = ctx.obj["gha_workflow_run_url"]
should_send = ctx.obj.get("ci_context") == consts.CIContext.PULL_REQUEST

if any(
if is_automerge_pull_request(ctx.obj["pull_request"]) and any(
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want the opposite behavior: when the pr has the automerge label we want to make the status check pass?

@clnoll clnoll merged commit 95b10f1 into master Jul 17, 2024
33 checks passed
@clnoll clnoll deleted the catherine/fix-status-check branch July 17, 2024 13:35
Copy link

sentry-io bot commented Jul 22, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TypeError: 'Context' object is not subscriptable pipelines.hacks in do_regression_test_status_check View Issue
  • ‼️ TypeError: 'Context' object is not subscriptable pipelines.hacks in do_regression_test_status_check View Issue

Did you find this useful? React with a 👍 or 👎

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