feat: add nightly load test - #2289
Conversation
There was a problem hiding this comment.
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.
|
@claude review |
There was a problem hiding this comment.
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
developand 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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ 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 🚀 New features to boost your workflow:
|
|
@claude review |
| 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>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|



Summary
Adds a nightly GitHub Actions workflow that runs once per day against
develop, builds Bor and Heimdall v2 Docker images fromdevelop, starts the existing Kurtosis Polygon PoS E2E network, runs apolycli loadtest, and publishes load-test statistics as both a job summary and retained artifact.Executed tests
.github/workflows/nightly-load-tests.ymlwithactionlint.Rollout notes
CI-only change. Not consensus-affecting, no protocol or runtime behavior changes, no coordinated upgrade required. The temporary branch
pushtrigger is only for CI validation and should be removed before merging if the final workflow should run only daily and via manual dispatch.