Skip to content

Conversation

@danielrachi1
Copy link
Contributor

Issue Addressed

Fixes #7835

Proposed Changes

  • Remove cargo test-based Make targets (test-release, test-debug, run-ef-tests)
  • Update aliases (test, test-full, test-ef) to use existing nextest equivalents
  • Update contributing documentation to use nextest examples
  • Fix example commands that previously referenced non-existing packages (ssz/eth2_ssz)

Additional Info

This resolves the contributor workflow inconsistency identified in #7835 where local development used cargo test while CI used nextest. While benchmarks showed nextest is only marginally faster (1.02x), the key benefit is consistency - having contributors use the same test runner as CI eliminates confusion and potential discrepancies between local development and CI results.

The decision prioritizes workflow consistency over the minimal performance difference, ensuring a unified testing approach across the project.

Testing performed:

  • Verified Makefile targets resolve correctly (make --dry-run test)
  • Confirmed nextest works with updated examples (cargo nextest run -p safe_arith)
  • Validated all documentation examples work with real packages
  • Passed formatting checks (make cargo-fmt)

@danielrachi1 danielrachi1 changed the base branch from stable to unstable August 13, 2025 17:06
@michaelsproul
Copy link
Member

target-branch-check will fail until you rebase on unstable/push a new empty commit (it doesn't recognise changing the branch in the GH UI)

Removes cargo test-based Make targets (test-release, test-debug,
run-ef-tests) and updates aliases to use nextest equivalents.
Updates contributing documentation to use nextest examples and
fixes example commands that previously suggested non-existing packages.

CI workflows are updated to match the new make targets.

This resolves contributor workflow inconsistency where local
development used cargo test while CI used nextest. Based on
benchmarks showing nextest is 1.02x faster than cargo test.

Fixes sigp#7835
@danielrachi1
Copy link
Contributor Author

Hmm, CI thinks "nextest" is a misspelled word... idk what to do about this.

@michaelsproul
Copy link
Member

add it to wordlist.txt

@danielrachi1
Copy link
Contributor Author

I think this is ready for merge @michaelsproul

Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

Nice clean up, thanks @danielrachi1 !

@jimmygchen jimmygchen added the ready-for-merge This PR is ready to merge. label Sep 10, 2025
mergify bot added a commit that referenced this pull request Sep 10, 2025
@mergify mergify bot merged commit 2ecbb7f into sigp:unstable Sep 10, 2025
37 checks passed
PoulavBhowmick03 pushed a commit to PoulavBhowmick03/lighthouse that referenced this pull request Sep 12, 2025
Fixes sigp#7835


  - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`)
- Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents
- Update contributing documentation to use nextest examples
- Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`)


Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
kevaundray pushed a commit to kevaundray/lighthouse that referenced this pull request Sep 13, 2025
Fixes sigp#7835


  - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`)
- Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents
- Update contributing documentation to use nextest examples
- Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`)


Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
jtraglia pushed a commit to jtraglia/lighthouse that referenced this pull request Sep 16, 2025
Fixes sigp#7835


  - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`)
- Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents
- Update contributing documentation to use nextest examples
- Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`)


Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra-ci ready-for-merge This PR is ready to merge. test improvement Improve tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question: Clarification on cargo test vs nextest usage for contributors

3 participants