Skip to content

Conversation

@spencer-tb
Copy link
Contributor

@spencer-tb spencer-tb commented Oct 27, 2025

πŸ—’οΈ Description

Fixes execute hive mode, specifically for adding the execute-blobs simulator to the hive CI.

πŸ”— Related Issues or PRs

Blocker for: ethpandaops/fusaka-devnets#115
Requires: ethereum/hive#1365

βœ… Checklist

  • All: Ran fast tox checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:
    uvx tox -e static
  • All: PR title adheres to the repo standard - it will be used as the squash commit message and should start type(scope):.
  • All: Considered adding an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • All: Set appropriate labels for the changes (only maintainers can apply labels).

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@spencer-tb spencer-tb added C-chore Category: chore A-test-commands Area: execution spec tests commands package labels Oct 27, 2025
minversion = 7.0
python_files = *.py
testpaths = tests/
testpaths = ../../tests/
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look right, if the cwd is ./execution-specs/ I think it should not do relative paths.

What's the error you are seeing that you are trying to fix with this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed thanks!

@spencer-tb spencer-tb marked this pull request as draft October 27, 2025 17:23
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 86.07%. Comparing base (c3e5260) to head (ddbef39).
⚠️ Report is 2 commits behind head on forks/osaka.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##           forks/osaka    #1698   +/-   ##
============================================
  Coverage        86.07%   86.07%           
============================================
  Files              743      743           
  Lines            44078    44078           
  Branches          3894     3894           
============================================
  Hits             37938    37938           
  Misses            5659     5659           
  Partials           481      481           
Flag Coverage Ξ”
unittests 86.07% <ΓΈ> (ΓΈ)

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

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@spencer-tb spencer-tb marked this pull request as ready for review October 28, 2025 13:52
Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

Hey @spencer-tb! Can you check whether adding the test_case_description fixture is really necessary?

Comment on lines +238 to +241
@pytest.fixture(scope="function")
def test_case_description(request: pytest.FixtureRequest) -> str:
"""The description of the current test case for hive."""
return f"Test: {request.node.name}"
Copy link
Member

Choose a reason for hiding this comment

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

This will return the test ID, not the test case description as expected by Hive. Is this necessary? Perhaps you're intentionally overwriting this fixture?

@pytest.fixture(scope="function")
def test_case_description(request: pytest.FixtureRequest) -> str:
"""
Fixture to extract and combine docstrings from the test class and the test
function.
"""
description_unavailable = "No description available - add a docstring to the python test class or function."
test_class_doc = ""
test_function_doc = ""
if hasattr(request.node, "cls"):
test_class_doc = (
f"Test class documentation:\n{request.cls.__doc__}"
if request.cls
else ""
)
if hasattr(request.node, "function"):
test_function_doc = (
f"{request.function.__doc__}" if request.function.__doc__ else ""
)
if not test_class_doc and not test_function_doc:
return description_unavailable
combined_docstring = f"{test_class_doc}\n\n{test_function_doc}".strip()
return combined_docstring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-test-commands Area: execution spec tests commands package C-chore Category: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants