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

CRIB-542: crib-integration-tests GH workflow running on push to develop #15221

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

rafaelfelix
Copy link
Contributor

@rafaelfelix rafaelfelix commented Nov 13, 2024

Because our crib-integration-tests runs only on schedule, the PR issuer never really gets the feedback that their change broke CRIB when/after merging to develop, and the CRIB team gets notified at most once a day if develop is broken. That + timezone differences between team mates can prolong the resolution of the problem.

This PR embeds triggers the crib-integration-tests.yml workflow into the already existing from build-publish-develop-pr.yml, since workflow_run doesn't provide feedback in the context of a PR/push as well (see https://stackoverflow.com/questions/63343937/how-to-use-the-github-actions-workflow-run-event#comment134992476_65081720) we'd have a check running per PR/push to develop but completely detached from the commit ref, which defeats the purpose of establishing a feedback loop.

Keeping these workflows split would incur in potential race conditions, such as running tests by pulling a docker tag that doesn't yet exist, or worse: exists but with a different content than the one from the actual commit ref.

@rafaelfelix rafaelfelix force-pushed the CRIB-542/crib-integration-tests-on-push-to-develop branch from e37d130 to cf49bb2 Compare November 13, 2024 14:31
Because our crib-integration-tests runs only on schedule, the PR issuer never really gets the feedback that their change broke CRIB when/after merging to develop, and the CRIB team gets notified at most once a day if `develop` is broken. That + timezone differences between team mates can prolong the resolution of the problem.

This PR embeds the crib-integration-tests.yml workflow into the already existing build-publish-develop-pr.yml, since `workflow_run` doesn't provide feedback in the context of a PR/push as well (see https://stackoverflow.com/questions/63343937/how-to-use-the-github-actions-workflow-run-event#comment134992476_65081720) we'd have a check running per PR/push to develop but completely detached from the commit ref, which defeats the purpose of establishing a feedback loop.

Keeping these workflows splitted would incur in potential race conditions, such as running tests by pulling a docker tag that doesn't yet exist, or worse: exists but with a different content than the one from the actual commit ref.
@rafaelfelix rafaelfelix force-pushed the CRIB-542/crib-integration-tests-on-push-to-develop branch from cf49bb2 to 3502efa Compare November 13, 2024 14:40
running on every commit to every PR would increase our GH runner costs too much
@rafaelfelix rafaelfelix marked this pull request as ready for review November 13, 2024 15:09
@rafaelfelix rafaelfelix requested review from a team as code owners November 13, 2024 15:09
@HenryNguyen5
Copy link
Collaborator

Instead of re-adding all of the CRIB logic here, you could use a similar for to the breaking changes GQL check: https://github.com/smartcontractkit/chainlink/blob/develop/.github/workflows/operator-ui-ci.yml#L16

@rafaelfelix rafaelfelix force-pushed the CRIB-542/crib-integration-tests-on-push-to-develop branch 3 times, most recently from 6920ed6 to 37c9801 Compare November 14, 2024 14:44
@rafaelfelix rafaelfelix force-pushed the CRIB-542/crib-integration-tests-on-push-to-develop branch from 37c9801 to 6786640 Compare November 14, 2024 15:48
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