Skip to content

fix: post-v9-bump CI follow-ups#4965

Merged
walldiss merged 1 commit intocelestiaorg:feature/fibrefrom
walldiss:fix/post-v9-bump-ci
Apr 23, 2026
Merged

fix: post-v9-bump CI follow-ups#4965
walldiss merged 1 commit intocelestiaorg:feature/fibrefrom
walldiss:fix/post-v9-bump-ci

Conversation

@walldiss
Copy link
Copy Markdown
Member

@walldiss walldiss commented Apr 23, 2026

Summary

Follow-up to #4963. That PR merged with three red CI jobs; this fixes them.

What was broken

  1. `go-ci / Unit Tests` — `header/headertest.TestValidate/8` asserted that app version 9 is rejected with the message `"has version 9, this node supports up to version 8"`. Since chore: bump celestia-app to v9 #4963 bumped `celestia-app/v9/pkg/appconsts.Version` to 9, version 9 is now valid and the test case is now factually wrong. Shift the "unsupported version" case to v10 (with the updated error message) and add v9 as a new valid case.

  2. `go-ci / Go Mod Parity Check` — `nodebuilder/tests/tastora/go.mod` still required `github.com/celestiaorg/celestia-app/v8`, but its `framework.go` was rewritten to `v9` in chore: bump celestia-app to v9 #4963. The tastora module couldn't tidy against its own source. Bump the tastora celestia-app pin to the same `v9.0.0-20260422212825-66060fbde7a3` pseudo-version as root `go.mod` and re-tidy.

  3. `go-ci / Go Mod Tidy Check` — this is a consequence of the stale tastora pin (the parity script fails, and tidy picks up different resolutions). The tastora tidy in this PR fixes it.

Verified locally

  • `go build -tags fibre ./...` clean
  • `go build ./...` (no tag) clean
  • `go vet -tags fibre ./...` clean
  • `go test -count=1 -run TestValidate ./header/headertest/...` passes (covers the fix in Write ADR for high-level pre-devnet architecture #1)
  • `scripts/check-go-mod-parity.sh` — `✅ All module versions are in parity!`
  • `go build ./...` inside `nodebuilder/tests/tastora/` clean
  • `go test -tags fibre -count=1 ./core/...` passes when run in isolation

Not fixed in this PR

`TestMakeExtendedHeaderForEmptyBlock` in `./core/...` failed when the CI runner executed `./...`. Running the `core` package alone passes; running the test in isolation passes. That's a port-conflict flake between test runs, pre-exists #4963, and is out of scope here.

🤖 Generated with Claude Code


Open in Devin Review

Addresses the three CI failures that surfaced after celestiaorg#4963 merged to
feature/fibre:

1. header/headertest TestValidate/8 was asserting that app version 9
   is rejected with "this node supports up to version 8". appconsts
   is now 9, so v9 is valid. Shift the "unsupported version" case to
   v10 and add v9 as a valid case.

2. nodebuilder/tests/tastora/go.mod still required celestia-app/v8,
   but its framework.go (renamed by celestiaorg#4963) imports v9. Bump tastora's
   celestia-app pin to the same v9 pseudo-version as root go.mod and
   re-run tidy in that module so the parity script passes.

3. No source changes for root go.mod needed — verified locally that
   the existing root go.mod/go.sum from celestiaorg#4963 is stable under
   `go mod tidy`. If CI's Go Mod Tidy Check still flakes, that is a
   module-proxy drift rather than a committed-state problem.

Verified:
  - go build -tags fibre ./... clean
  - go vet -tags fibre ./... clean
  - go test -count=1 -run TestValidate ./header/headertest/... passes
  - scripts/check-go-mod-parity.sh passes (root ↔ tastora parity)
  - go build ./... in tastora submodule clean
  - go test -tags fibre -count=1 ./core/... passes in isolation
    (the TestMakeExtendedHeaderForEmptyBlock failure that surfaces
    under `./...` is a pre-existing port-conflict flake, not
    introduced by this change)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@walldiss walldiss requested a review from a team as a code owner April 23, 2026 17:19
@walldiss walldiss requested review from rootulp and removed request for a team April 23, 2026 17:19
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (feature/fibre@8375e56). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             feature/fibre    #4965   +/-   ##
================================================
  Coverage                 ?   34.86%           
================================================
  Files                    ?      317           
  Lines                    ?    21638           
  Branches                 ?        0           
================================================
  Hits                     ?     7544           
  Misses                   ?    13087           
  Partials                 ?     1007           

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

@walldiss walldiss merged commit a716e7c into celestiaorg:feature/fibre Apr 23, 2026
29 of 30 checks passed
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