Skip to content

Fix CI failure: add CKB 0.205.0 to download versions#118

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-version-0205-ckb-cli
Draft

Fix CI failure: add CKB 0.205.0 to download versions#118
Copilot wants to merge 2 commits intomainfrom
copilot/add-version-0205-ckb-cli

Conversation

Copy link

Copilot AI commented Mar 9, 2026

make prepare was failing because prepare.sh copies download/0.205.0/ckb-cli, but download.py only downloaded versions up to 0.204.0, so that directory never existed.

Changes

  • download.py: Added "0.205.0" to the versions list to ensure the 0.205.0 binary (including ckb-cli) is fetched before prepare.sh runs.
versions = [
    "0.200.0",
    "0.201.0",
    "0.202.0",
    "0.203.0",
    "0.204.0",
    "0.205.0",  # added
]

prepare.sh already referenced download/0.205.0/ckb-cli and required no changes.

Original prompt

Problem

The ci_integration_tests workflow is failing at the make prepare step with:

cp: cannot stat 'download/0.205.0/ckb-cli': No such file or directory
make: *** [Makefile:12: prepare] Error 1

Root Cause

There is a version mismatch between what download.py downloads and what prepare.sh / framework/test_node.py expect:

  1. download.py (line 14-20): Downloads CKB versions 0.200.0, 0.201.0, 0.202.0, 0.203.0, 0.204.0 — but does NOT include 0.205.0.
  2. prepare.sh (line 7): Copies from download/0.203.0/ckb-cli — this is outdated and should reference 0.205.0.
  3. framework/test_node.py (line 49-54): Already references download/0.205.0 as CkbNodeConfigPath.CURRENT_TEST, confirming 0.205.0 is the intended current version.

Required Fix

  1. download.py: Add "0.205.0" to the versions list so the CKB binary (including ckb-cli) for version 0.205.0 gets downloaded during make prepare.

  2. prepare.sh: Update line 7 from:

    cp download/0.203.0/ckb-cli ./source/ckb-cli
    

    to:

    cp download/0.205.0/ckb-cli ./source/ckb-cli
    

    This ensures prepare.sh copies the ckb-cli binary from the correct version directory that matches what framework/test_node.py expects.

Files to modify

  • download.py — add "0.205.0" to the versions list
  • prepare.sh — change download/0.203.0/ckb-cli to download/0.205.0/ckb-cli

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: 15168316096 <45781590+15168316096@users.noreply.github.com>
Copilot AI changed the title [WIP] Add version 0.205.0 to download.py for CKB Fix CI failure: add CKB 0.205.0 to download versions Mar 9, 2026
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