Skip to content

Merge develop into v4 - #485

Merged
RetricSu merged 2 commits into
v0.4.xfrom
develop
Jul 31, 2026
Merged

Merge develop into v4#485
RetricSu merged 2 commits into
v0.4.xfrom
develop

Conversation

@RetricSu

Copy link
Copy Markdown
Collaborator

No description provided.

humble-little-bear and others added 2 commits July 31, 2026 10:59
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* test: add legacy-data upgrade-path integration test to CI

Simulate a user upgrading offckb: an old release (0.3.4, CKB 0.113.1)
creates a devnet in a sandboxed HOME/XDG, then the current build must
operate on that legacy data without breaking it:

- the chain continues (same genesis hash, tip grows past the old tip),
  so a silent chain reset cannot pass as 'RPC responds'
- the legacy ckb.toml is migrated (Terminal RPC module +
  tcp_listen_address) — the class of bug that previously reached users
  before we noticed
- the bundled chain spec stays byte-identical
- a fresh transfer succeeds and is committed

Runs per-PR on ubuntu-latest only, after create-test; the npm cache is
cached to keep the extra legacy CLI install cheap. Verified end-to-end
locally twice (offckb 0.3.4 → 0.4.10).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* ci: run legacy-data test before create-test

create-test.sh's cleanup kills only the pnpm wrapper, leaving the CKB
processes orphaned and holding ports 8114/28114 (the runner's orphan
cleanup only fires at job end), which tripped the legacy test's
precondition check. Run the legacy test first instead — its own
teardown is complete, so create-test still starts on free ports.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (5)
  • master
  • dev
  • releases/.*
  • develop
  • next-major

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 50290931-0d0b-4a58-b36d-f3b1886fef99

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RetricSu
RetricSu merged commit da0b8a1 into v0.4.x Jul 31, 2026
7 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.

2 participants