Skip to content

Add e2e test for joining node with corrupted (truncated) ledger file#7666

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-testcase-for-issue-6612
Draft

Add e2e test for joining node with corrupted (truncated) ledger file#7666
Copilot wants to merge 3 commits intomainfrom
copilot/add-testcase-for-issue-6612

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

  • Understand the issue (cchost crashes in case a corrupt ledger file is found on a node that is joining the network #6612): node crashes when joining with corrupted ledger files
  • Explore existing test infrastructure (reconfiguration.py, recovery.py corruption patterns)
  • Add test_add_node_with_corrupted_ledger test to tests/reconfiguration.py
  • Add the test to the reconfiguration test suite in tests/suite/test_suite.py
  • Replace silent skips with assertions when unable to find chunks to corrupt
  • Run code review and CodeQL security check (no alerts)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Copilot AI changed the title [WIP] Add testcase for issue flagged in #6612 Add e2e test for joining node with corrupted (truncated) ledger file Feb 13, 2026
Copilot AI requested a review from achamayou February 13, 2026 09:31
…itions

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
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