Skip to content

feat: add nightly load test - #2289

Closed
vbhattaccmu wants to merge 10 commits into
developfrom
feat/nightly-load-tests
Closed

feat: add nightly load test#2289
vbhattaccmu wants to merge 10 commits into
developfrom
feat/nightly-load-tests

Conversation

@vbhattaccmu

Copy link
Copy Markdown
Member

Summary

Adds a nightly GitHub Actions workflow that runs once per day against develop, builds Bor and Heimdall v2 Docker images from develop, starts the existing Kurtosis Polygon PoS E2E network, runs a polycli loadtest, and publishes load-test statistics as both a job summary and retained artifact.

Executed tests

  • Validated .github/workflows/nightly-load-tests.yml with actionlint.
  • Parsed the workflow YAML successfully.
  • Checked for trailing whitespace.
  • Did not run the full Kurtosis workflow locally; it is intended to run in CI.

Rollout notes

CI-only change. Not consensus-affecting, no protocol or runtime behavior changes, no coordinated upgrade required. The temporary branch push trigger is only for CI validation and should be removed before merging if the final workflow should run only daily and via manual dispatch.

Copilot AI review requested due to automatic review settings June 25, 2026 10:05

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@vbhattaccmu

Copy link
Copy Markdown
Member Author

@claude review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new nightly GitHub Actions workflow to exercise Bor + Heimdall v2 via the existing Kurtosis Polygon PoS E2E network and run a polycli loadtest, publishing metrics to the job summary and an artifact. This fits into the repo’s CI/automation surface as a scheduled performance/regression signal for develop.

Changes:

  • Introduces a scheduled + manual workflow to build Bor/Heimdall v2 images from develop and run Kurtosis.
  • Runs polycli loadtest, captures metadata/summary JSON + logs, and uploads results as an artifact.
  • Collects network diagnostics/state dump automatically on load-test failure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml Outdated
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.65%. Comparing base (a79d527) to head (8060761).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2289      +/-   ##
===========================================
- Coverage    53.67%   53.65%   -0.03%     
===========================================
  Files          897      897              
  Lines       160369   160371       +2     
===========================================
- Hits         86086    86053      -33     
- Misses       68946    68979      +33     
- Partials      5337     5339       +2     

see 21 files with indirect coverage changes
see 21 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .github/workflows/nightly-load-tests.yml Outdated
Copilot AI review requested due to automatic review settings June 25, 2026 17:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
@vbhattaccmu

Copy link
Copy Markdown
Member Author

@claude review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment on lines +148 to +152
LOADTEST_PRIVATE_KEY=$(sed -nE 's/^PRIVATE_KEY=\$\{PRIVATE_KEY:-"([^"]+)".*/\1/p' pos-workflows/tests/pos_test_utils.sh)
LOADTEST_PRIVATE_KEY="${LOADTEST_PRIVATE_KEY//$'\n'/}"
LOADTEST_PRIVATE_KEY="${LOADTEST_PRIVATE_KEY//$'\r'/}"
if [[ -z "$LOADTEST_PRIVATE_KEY" ]]; then
echo "::error::Unable to resolve load test signer from pos-workflows"
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 29, 2026 08:27
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml
Copilot AI review requested due to automatic review settings June 29, 2026 08:31
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/nightly-load-tests.yml
Copilot AI review requested due to automatic review settings June 29, 2026 08:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml Outdated
Comment thread .github/workflows/nightly-load-tests.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 29, 2026 08:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/nightly-load-tests.yml
Comment thread .github/workflows/nightly-load-tests.yml
@vbhattaccmu
vbhattaccmu requested a review from a team June 29, 2026 10:39
@sonarqubecloud

Copy link
Copy Markdown

@vbhattaccmu
vbhattaccmu deleted the feat/nightly-load-tests branch July 17, 2026 19:49
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