Skip to content

[DX-4553] Optimize Integration Tests Workflow#23164

Draft
kalverra wants to merge 5 commits into
developfrom
optimizeIntegrationTests
Draft

[DX-4553] Optimize Integration Tests Workflow#23164
kalverra wants to merge 5 commits into
developfrom
optimizeIntegrationTests

Conversation

@kalverra

@kalverra kalverra commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Integration Tests Parallelization & Runner Optimization

  • Expanded AI skill to cover right-sizing runners and conduct overall structural change trials
  • Run go test code compilation and build together
  • Pass a pre-built binary to the Docker container instead of rebuilding it
  • Some caching and build optimizations for Integration Tests

Runner & Structure Changes

Approach Runner Structure Stability Runtime Runtime Delta (Abs/%) Cost Cost Delta (Abs/%)
Old cpu=16/ram=64/family=m7i+m8i/spot=co Sequential GreaterThanFinalityTests (13:12), Go compile inside Docker (5:22) Pass 22:01 +0:00 (+0%) $0.2100 +$0.00 (+0%)
New cpu=32/ram=64/family=c7i-flex/spot=co Parallel matrix split (OnSource/OnDest), host prebuilt Docker binary Pass 16:45 -5:16 (-23.9%) $0.1850 -$0.0250 (-11.9%)

Structural Flow Comparison

Before: Sequential Execution Flow

flowchart LR
  changes --> setup_core[run-core-cre-e2e-tests-setup]
  changes --> setup_ccip[run-ccip-v1-6-e2e-tests-setup]
  labels --> build[build-chainlink: compile in container 5:22]
  setup_core --> build
  setup_ccip --> build
  build --> ccip[run-ccip-v1-6-e2e-tests: GreaterThanFinalityTests 13:12]
Loading

After: Parallel Matrix & Host Compile Flow

flowchart LR
  changes --> setup_core[run-core-cre-e2e-tests-setup]
  changes --> setup_ccip[run-ccip-v1-6-e2e-tests-setup]
  labels --> build[build-chainlink: prebuilt copy ~0:20]
  labels --> compile[compile-tests: host GOCACHE 1:48]
  setup_core --> build
  setup_ccip --> build
  setup_core --> compile
  setup_ccip --> compile
  build --> ccip_source[run-ccip: GreaterThanFinality_OnSource 6:45]
  build --> ccip_dest[run-ccip: GreaterThanFinality_OnDest 6:38]
  compile --> ccip_source
  compile --> ccip_dest
Loading

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io

trunk-io Bot commented Jul 19, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

CORA - Pending Reviewers

Codeowners Entry Overall Num Files Owners
* 2 @smartcontractkit/foundations, @smartcontractkit/core
/integration-tests/**/*ccip* 1 @smartcontractkit/ccip-offchain, @smartcontractkit/core, @smartcontractkit/ccip
/.github/** 8 @smartcontractkit/devex-cicd, @smartcontractkit/devex-tooling, @smartcontractkit/core
/core/chainlink.Dockerfile 1 @smartcontractkit/devex-cicd, @smartcontractkit/foundations, @smartcontractkit/core

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@cl-sonarqube-production

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube

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.

1 participant