Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: migrate op-node and op-proposer to just #13042

Merged
merged 7 commits into from
Nov 27, 2024
Merged

Conversation

sigma
Copy link
Contributor

@sigma sigma commented Nov 22, 2024

Description

This change migrates op-node and op-proposer builds to just.
It also:

  • refactors the computation of JUSTFILES into a separate include, that
    can be independently included in the main Makefile
  • rewirest the main Makefile to invoke just, so as to avoid
    deprecation notices at the top level

Tests

All targets tested manually.

Metadata

@sigma sigma force-pushed the sigma/just-migration branch 3 times, most recently from c6ef3c1 to 34ea6bf Compare November 22, 2024 22:04
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.84%. Comparing base (601af96) to head (4a24757).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #13042      +/-   ##
===========================================
- Coverage    44.55%   42.84%   -1.72%     
===========================================
  Files          799      743      -56     
  Lines        71845    67180    -4665     
===========================================
- Hits         32009    28781    -3228     
+ Misses       37230    35971    -1259     
+ Partials      2606     2428     -178     
Flag Coverage Δ
cannon-go-tests-32 ?
cannon-go-tests-64 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 63 files with indirect coverage changes

@sigma sigma force-pushed the sigma/just-migration branch 9 times, most recently from 91068fc to 691b72b Compare November 25, 2024 13:24
This will enable making use of JUSTFLAGS in the main Makefile for
migrated targets.
For some unclear reason runs in CI environment are invalid (they
generate some "empty" calls to the private target).
Sidestep the issue for now.
- VERSION_META variable
- go_generate target
@sigma sigma force-pushed the sigma/just-migration branch from 691b72b to 1f18bb9 Compare November 25, 2024 14:00
@sigma sigma marked this pull request as ready for review November 25, 2024 14:08
@sigma sigma requested review from a team as code owners November 25, 2024 14:08
@sigma sigma requested a review from sebastianst November 25, 2024 14:08
@mslipper mslipper enabled auto-merge November 27, 2024 21:01
@mslipper mslipper added this pull request to the merge queue Nov 27, 2024
Merged via the queue into develop with commit cf13a17 Nov 27, 2024
45 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Nov 27, 2024
* build(just): factor out flags code

This will enable making use of JUSTFLAGS in the main Makefile for
migrated targets.

* fix(just): parallel support

For some unclear reason runs in CI environment are invalid (they
generate some "empty" calls to the private target).
Sidestep the issue for now.

* build(just): add more helpers

- VERSION_META variable
- go_generate target

* build(op-proposer): migrate build to just

* build(op-node): migrate build to just

* fix(build): rewire just-migrated targets

---------

Co-authored-by: Matthew Slipper <[email protected]>
@mslipper mslipper deleted the sigma/just-migration branch November 27, 2024 21:15
@Hugoo
Copy link
Contributor

Hugoo commented Feb 12, 2025

It looks like the README.md of the op-node folder was not updated:

### Build from source

Also linking outdated docs issue:

ethereum-optimism/docs#1360

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