Skip to content

fix: correct cd paths in kona action test recipes#19597

Merged
ajsutton merged 2 commits intodevelopfrom
aj/fix/kona-proof-action-cd-path
Mar 20, 2026
Merged

fix: correct cd paths in kona action test recipes#19597
ajsutton merged 2 commits intodevelopfrom
aj/fix/kona-proof-action-cd-path

Conversation

@ajsutton
Copy link
Copy Markdown
Contributor

Summary

Fixes broken cd paths in rust/kona/tests/justfile for the action-tests-single-run and action-tests-interop-run recipes.

SOURCE is source_directory() which resolves to rust/kona/tests (3 levels deep from repo root). The paths used ../../op-e2e/actions/... (2 levels) instead of ../../../op-e2e/actions/... (3 levels), so the cd failed. Since the scripts don't use set -e, execution continued in the wrong directory — gotestsum found no Go files and reported FAIL . [setup failed]. The exit 0 in the CircleCI parallel branch then masked the failure entirely.

Impact: kona-proof-action-single CI job has been reporting success despite running zero tests.

Test plan

  • Verify kona-proof-action-single CI job actually runs tests after this fix
  • Verify action-tests-interop-run path is also correct

🤖 Generated with Claude Code

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.3%. Comparing base (81e3673) to head (ff8d8bc).
⚠️ Report is 21 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #19597      +/-   ##
===========================================
  Coverage     75.3%    75.3%              
===========================================
  Files          680      485     -195     
  Lines        71998    60696   -11302     
===========================================
- Hits         54254    45741    -8513     
+ Misses       17600    14955    -2645     
+ Partials       144        0     -144     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests ?
unit 75.3% <ø> (-0.1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 200 files with indirect coverage changes

🚀 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.

@ajsutton ajsutton force-pushed the aj/fix/kona-proof-action-cd-path branch from dcd5d02 to b62b93d Compare March 18, 2026 01:51
ajsutton and others added 2 commits March 18, 2026 20:00
SOURCE is rust/kona/tests (3 levels deep), so reaching op-e2e/ at the
repo root requires ../../../ not ../../. The broken paths caused cd to
fail silently (no set -e), then gotestsum ran in the wrong directory
finding no Go files. The `exit 0` in the parallel branch masked the
failure, making CI report success despite no tests actually running.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The action-tests-single-run and action-tests-interop-run recipes had no
set -e, so a failed cd (or any other command) would silently continue.
Combined with `exit 0` in the parallel branch, this masked failures
entirely — CI reported success with zero tests running.

- Add `set -euo pipefail` to both recipes so any failure aborts
- Replace `exit 0` with `exit` so xargs/gotestsum's exit code propagates

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ajsutton ajsutton force-pushed the aj/fix/kona-proof-action-cd-path branch from b62b93d to ff8d8bc Compare March 18, 2026 20:01
@ajsutton ajsutton marked this pull request as ready for review March 20, 2026 00:29
@ajsutton ajsutton requested a review from a team as a code owner March 20, 2026 00:29
@ajsutton ajsutton added this pull request to the merge queue Mar 20, 2026
Merged via the queue into develop with commit 8b38749 Mar 20, 2026
285 checks passed
@ajsutton ajsutton deleted the aj/fix/kona-proof-action-cd-path branch March 20, 2026 00:59
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.

2 participants