Skip to content

[DX-3235] Integration Overhaul#21467

Open
kalverra wants to merge 5 commits intodevelopfrom
integrationOverhaul
Open

[DX-3235] Integration Overhaul#21467
kalverra wants to merge 5 commits intodevelopfrom
integrationOverhaul

Conversation

@kalverra
Copy link
Collaborator

@kalverra kalverra commented Mar 9, 2026

  • Removes Integration In Memory Tests from running on PRs as they were extremely flaky/just broken.
  • Remove CRE Regression tests from running on PRs as they're quite heavy.

@kalverra kalverra requested a review from Tofel March 9, 2026 19:38
@kalverra kalverra requested review from a team as code owners March 9, 2026 19:38
Copilot AI review requested due to automatic review settings March 9, 2026 19:38
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

👋 kalverra, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

✅ No conflicts with other open PRs targeting develop

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts integration test CI configuration to reduce the test burden on pull requests by removing flaky/heavy tests from the PR trigger, and adds regression test execution on tag pushes.

Changes:

  • Removes PR Integration CCIP Tests trigger from all in-memory integration tests in .github/integration-in-memory-tests.yml, keeping only Nightly Integration CCIP Tests.
  • Disables CRE regression tests on PRs and adds a new tag-based condition to run regression on tag pushes in .github/workflows/integration-tests.yml.
  • Removes -parallel=N flags from a specific subset of test commands in .github/e2e-tests.yml.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/integration-in-memory-tests.yml Removes PR Integration CCIP Tests trigger from all ~50 in-memory test entries, leaving only the nightly trigger
.github/workflows/integration-tests.yml Sets CRE regression to false for PRs; adds a new # -- Tags -- block to enable regression on tag pushes
.github/e2e-tests.yml Removes -parallel=N flag from selected test commands (OCR, Automation, Keeper, VRF, LogPoller, CCIP, etc.)

SHOULD_RUN_REGRESSION="true"
SHOULD_RUN_REGRESSION="false"
fi

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this label and all associated logic be removed/replaced with one that allows people to run it if they add a specific tag?

Copy link
Contributor

Choose a reason for hiding this comment

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

@kalverra this needs to be modified to reverse current logic. Currently, we skip tests if label is present. Now we should run them if a label is present (we need to add a new one).

test_env_type: in-memory
runs_on: ubuntu-latest
triggers:
- PR Integration CCIP Tests
Copy link
Collaborator

Choose a reason for hiding this comment

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

How can people opt-in to these tests if they want to run them on their PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You can still call it using workflow dispatch.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Even if that wasn't if: github.event_name == 'pull_request' these still wouldn't trigger because this: https://github.com/smartcontractkit/chainlink/blob/develop/.github/workflows/integration-in-memory-tests.yml#L90 is what dictates what runs for that trigger.

So removing it from "triggers" here means it will only run when a workflow passes the nightly trigger.

Copy link
Contributor

@Tofel Tofel Mar 10, 2026

Choose a reason for hiding this comment

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

I think we want to enable opt-in via a label and via workflow_dispatch. I've forgotten how complex we made this thing :/

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment on lines 355 to +366
@@ -369,6 +363,7 @@ jobs:
SHOULD_RUN_REGRESSION="true"
fi


Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

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

The env variable SKIP_E2E_TESTS_REGRESSION_LABEL_FOUND is declared in the step's env block but is never used in the script body after this PR removed the pull request condition that previously referenced it. This is now dead code that should be removed from the env block to keep the step clean and avoid confusion about its purpose.

Copilot uses AI. Check for mistakes.
@erikburt erikburt added the run-e2e-tests Use on your PR to run E2E tests before the merge queue label Mar 9, 2026
@trunk-io
Copy link

trunk-io bot commented Mar 9, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

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

Labels

run-e2e-tests Use on your PR to run E2E tests before the merge queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants