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

Add connector ops' required review when changing bypass_reasons on GA connectors #23740

Merged
merged 8 commits into from
Mar 6, 2023

Conversation

erohmensing
Copy link
Contributor

What

  1. Require a review from connector ops when bypass_reasons are changed/added on GA connectors only
  2. Refactor test of tests a bit

How

  1. Get a list of connectors which have bypass_reason changes, cross reference against the list of ga connectors that were changed. In order to do this, update the find_changed_ga_connectors method to return set(str) like the other checks. I believe this should be fine since it's not used anywhere else and we don't expose it as a console script in setup.py.
  2. Make all unit testing of the connector acceptance test run the same check_review_requirements_file check, which will verify whether the requirements file was created as well as if it contains the right reviewers.

Recommended reading order

  1. tools/ci_connector_ops/ci_connector_ops/acceptance_test_config_checks.py
  2. tools/ci_connector_ops/tests/test_acceptance_test_config_checks.py

@erohmensing erohmensing requested a review from a team March 3, 2023 23:25
Copy link
Contributor

@alafanechere alafanechere left a comment

Choose a reason for hiding this comment

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

LGTM, thank you, glad it was quite an incremental change.
I just left a minor request.
Please don't forget to bump the setup.py version (even if it's not used at all atm 😄 )

@erohmensing erohmensing merged commit bac0224 into master Mar 6, 2023
@erohmensing erohmensing deleted the ella/review-bypass branch March 6, 2023 21:59
danielduckworth pushed a commit to danielduckworth/airbyte that referenced this pull request Mar 13, 2023
… connectors (airbytehq#23740)

* Add instructions to install reqs and run tests locally

* add passing tests with old behavior

* Make it like test strictness level

* Remove expected teams from non-tracked change test since they are not asserted against

* Make changed GA connector list object same object format as regex checker to be able to compare them. Fix tests

* Refactor and align naming

* Update all find methods to return Connector objects

* Bump setup.py
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