Skip to content

hive: pin more things#20370

Merged
yperbasis merged 11 commits into
mainfrom
alex/hive_pin_more_34
Apr 7, 2026
Merged

hive: pin more things#20370
yperbasis merged 11 commits into
mainfrom
alex/hive_pin_more_34

Conversation

@AskAlexSharov

@AskAlexSharov AskAlexSharov commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Pin ethereum/execution-apis ref in hive rpc-compat tests, the same way hive_ref already pins the hive framework itself.

  • Add execution_apis_ref to hive-versions.json
  • Before hive builds the rpc-compat simulator image, clone execution-apis at the pinned ref, copy the tests/ dir into the build context, and patch the Dockerfile to use the local copy (the Dockerfile already has a commented-out ADD tests for this purpose)
  • Only runs for the rpc/compat matrix entry, not engine sims

Why

The rpc-compat simulator's Dockerfile clones ethereum/execution-apis at main HEAD on every build (ARG branch=main). On April 6 at ~15:00 UTC, ethereum/execution-apis#747 added testing_buildBlockV1 tests (200 → 208 tests). Erigon doesn't implement this method, causing 4 new failures and breaking ci-gate on all PRs.

The hive framework was already pinned via hive_ref, but the test data it fetches was not.

To bump execution-apis in the future, update execution_apis_ref in hive-versions.json.

Test plan

  • ci-gate passes (rpc-compat runs pinned 200 tests, 0 failures)
  • Engine sims unaffected (step is skipped via matrix condition)

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

Pins the upstream ethereum/execution-apis test data used by Hive’s rpc-compat simulator to keep CI stable when upstream adds/changes tests.

Changes:

  • Add execution_apis_ref to .github/workflows/hive-versions.json alongside the existing pinned hive_ref.
  • Update test-hive.yml to read execution_apis_ref and (for rpc-compat) replace the simulator’s execution-apis checkout behavior by copying pinned tests/ into the simulator and editing its Dockerfile.

Reviewed changes

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

File Description
.github/workflows/test-hive.yml Reads pinned versions and conditionally pins rpc-compat’s execution-apis tests by modifying the simulator inputs.
.github/workflows/hive-versions.json Adds a pinned execution_apis_ref commit SHA.

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

Comment thread .github/workflows/test-hive.yml Outdated
Comment thread .github/workflows/test-hive.yml Outdated
Comment thread .github/workflows/test-hive.yml Outdated
Comment thread .github/workflows/test-hive.yml Outdated

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


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

@AskAlexSharov AskAlexSharov requested a review from JkLondon April 7, 2026 08:30
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yperbasis yperbasis enabled auto-merge April 7, 2026 09:38
@yperbasis yperbasis added this pull request to the merge queue Apr 7, 2026
Merged via the queue into main with commit 8c8ecd9 Apr 7, 2026
35 checks passed
@yperbasis yperbasis deleted the alex/hive_pin_more_34 branch April 7, 2026 12:57
AskAlexSharov added a commit that referenced this pull request Apr 8, 2026
Pin `ethereum/execution-apis` ref in hive rpc-compat tests, the same way
`hive_ref` already pins the hive framework itself.

- Add `execution_apis_ref` to `hive-versions.json`
- Before hive builds the rpc-compat simulator image, clone
execution-apis at the pinned ref, copy the `tests/` dir into the build
context, and patch the Dockerfile to use the local copy (the Dockerfile
already has a commented-out `ADD tests` for this purpose)
- Only runs for the `rpc/compat` matrix entry, not engine sims

The rpc-compat simulator's Dockerfile clones `ethereum/execution-apis`
at `main` HEAD on every build (`ARG branch=main`). On April 6 at ~15:00
UTC, ethereum/execution-apis#747 added `testing_buildBlockV1` tests (200
→ 208 tests). Erigon doesn't implement this method, causing 4 new
failures and breaking ci-gate on **all PRs**.

The hive framework was already pinned via `hive_ref`, but the test data
it fetches was not.

To bump execution-apis in the future, update `execution_apis_ref` in
`hive-versions.json`.

- [ ] ci-gate passes (rpc-compat runs pinned 200 tests, 0 failures)
- [ ] Engine sims unaffected (step is skipped via matrix condition)

---------

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AskAlexSharov added a commit that referenced this pull request Apr 8, 2026
## Summary
- Cherry-pick of #20370

---------

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Muzry <muzrry@gmail.com>
Co-authored-by: muzry.li <muzry.li1@ambergroup.io>
AskAlexSharov added a commit that referenced this pull request Apr 8, 2026
- Cherry-pick of #20370

---------

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Muzry <muzrry@gmail.com>
Co-authored-by: muzry.li <muzry.li1@ambergroup.io>
AskAlexSharov added a commit that referenced this pull request Apr 13, 2026
- Cherry-pick of #20370

---------

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Muzry <muzrry@gmail.com>
Co-authored-by: muzry.li <muzry.li1@ambergroup.io>
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.

3 participants