Skip to content

feat: add autobahn integration tests - initial batch (CON-249)#3234

Open
wen-coding wants to merge 1 commit intomainfrom
wen/add_autobahn_integration_tests
Open

feat: add autobahn integration tests - initial batch (CON-249)#3234
wen-coding wants to merge 1 commit intomainfrom
wen/add_autobahn_integration_tests

Conversation

@wen-coding
Copy link
Copy Markdown
Contributor

@wen-coding wen-coding commented Apr 13, 2026

Summary

Initial batch of autobahn integration tests. Adds make autobahn-integration-test target with 5 tests:

  1. Block production — verify height is advancing (via abci_info)
  2. Bank transfer — send usei via -b sync, poll for balance
  3. Fault tolerance (3/4) — kill one node, chain continues
  4. No quorum (2/4) — kill second node, chain halts
  5. Recovery — SKIPPED: autobahn node restart not yet supported (CometBFT handshaker can't reconcile app height vs empty block store)

Every test is guarded by assert_autobahn_enabled which checks GigaRouter initialized in all running nodes' logs.

Known workarounds (with TODOs)

  • Uses abci_info instead of /status for height because autobahn doesn't update CometBFT block store
  • Uses -b sync instead of -b block because CometBFT consensus is disabled in autobahn mode
  • 30s stabilization wait for autobahn giga connections to establish

Depends on #3220 (merged), #3224 (merged), and #3243 (pending — height fix required for blocks to produce).

Usage

make autobahn-integration-test

Test plan

🤖 Generated with Claude Code

@wen-coding wen-coding requested review from masih and pompon0 April 13, 2026 17:16
@wen-coding wen-coding changed the title feat: add autobahn integration tests (CON-247) feat: add autobahn integration tests - initial batch (CON-249) Apr 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 14, 2026, 5:23 PM

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 59.20%. Comparing base (9795d18) to head (b363066).

Files with missing lines Patch % Lines
...int/cmd/tendermint/commands/gen_autobahn_config.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3234   +/-   ##
=======================================
  Coverage   59.20%   59.20%           
=======================================
  Files        2069     2069           
  Lines      169537   169537           
=======================================
  Hits       100381   100381           
  Misses      60368    60368           
  Partials     8788     8788           
Flag Coverage Δ
sei-chain-pr 31.31% <0.00%> (?)
sei-db 70.41% <ø> (ø)

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

Files with missing lines Coverage Δ
...int/cmd/tendermint/commands/gen_autobahn_config.go 18.18% <0.00%> (ø)
🚀 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.

@wen-coding wen-coding force-pushed the wen/add_autobahn_integration_tests branch from 683aa68 to 5488f01 Compare April 13, 2026 23:46
5 tests with autobahn-enabled guard on each:
1. Block production (height advancing)
2. Bank transfer (send and verify balance)
3. Fault tolerance - one node down (3/4 quorum continues)
4. Two nodes down (chain halts, no quorum)
5. Recovery (restart node, chain resumes)

Usage: make autobahn-integration-test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wen-coding wen-coding force-pushed the wen/add_autobahn_integration_tests branch from 5488f01 to b363066 Compare April 14, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant