Skip to content

Conversation

@Elvis339
Copy link
Contributor

Why this should be merged

This patch is breakdown of #4435

This patch contains a custom action that doesn't rely on relative imports, workflows that externalize reexecute configuration to tasks.

@Elvis339 Elvis339 self-assigned this Oct 30, 2025
Copilot AI review requested due to automatic review settings October 30, 2025 20:15
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 refactors the C-Chain re-execution benchmark infrastructure to use externalized configuration and a custom GitHub action that doesn't rely on relative imports. The changes streamline task configuration by moving runtime variables to environment-based configuration and introduce predefined task configurations for common benchmark scenarios.

  • Externalized runtime variables to environment configuration rather than explicit task parameters
  • Added custom GitHub action for C-Chain re-execution benchmarks with improved dependency management
  • Created predefined task configurations for common benchmark scenarios (hashdb, firewood, different block ranges)

Reviewed Changes

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

Show a summary per file
File Description
scripts/copy_dir.sh Enhanced to support S3 object key expansion for simplified source specification
scripts/benchmark_cchain_range.sh Added default values for optional variables and improved environment variable documentation
Taskfile.yml Refactored task configuration to use externalized variables and added predefined benchmark tasks
.github/actions/run-monitored-tmpnet-cmd/output-metrics-url.sh Added warning comment about file duplication
.github/actions/c-chain-reexecution-benchmark/output-metrics-url.sh New duplicate of metrics URL generation script
.github/actions/c-chain-reexecution-benchmark/action.yml New custom GitHub action for C-Chain re-execution benchmarks

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

…esolving error on compare benchmark results job
@Elvis339 Elvis339 requested a review from maru-ava November 3, 2025 15:21
@Elvis339 Elvis339 requested a review from maru-ava November 5, 2025 20:21
@maru-ava maru-ava moved this to Ready 🚦 in avalanchego Nov 6, 2025
@aaronbuchwald
Copy link
Collaborator

It seems the task described in the README to test Firewood fails: https://github.com/ava-labs/avalanchego/actions/runs/19719001624/job/56497689011#step:4:899

This may be a result of a faulty current state db pushed to the s3 bucket for Firewood. Since Firewood re-execution tests are not currently reliable due to https://github.com/ava-labs/coreth/issues/1158, it may be better to update the README to use a hashdb example that passes, but don't think that needs to block this PR.

@maru-ava maru-ava added this pull request to the merge queue Dec 1, 2025
Merged via the queue into master with commit c267010 Dec 1, 2025
69 of 73 checks passed
@maru-ava maru-ava deleted the es/task-reexecution branch December 1, 2025 14:36
@github-project-automation github-project-automation bot moved this from In Progress 🏗️ to Done 🎉 in avalanchego Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci This focuses on changes to the CI process testing This primarily focuses on testing

Projects

Status: Done 🎉

Development

Successfully merging this pull request may close these issues.

5 participants