Add Fiber lock script integration regression#81
Open
Xcodes-chain wants to merge 49 commits into
Open
Conversation
* chore: bump fiber to 0.9.0-rc1 Agent-Logs-Url: https://github.com/nervosnetwork/fiber-py-integration-test/sessions/d78725f4-2d0c-4cca-adf5-b24d588597b1 Co-authored-by: gpBlockchain <32102187+gpBlockchain@users.noreply.github.com> * chore: keep 0.8.0 compatibility download Agent-Logs-Url: https://github.com/nervosnetwork/fiber-py-integration-test/sessions/d78725f4-2d0c-4cca-adf5-b24d588597b1 Co-authored-by: gpBlockchain <32102187+gpBlockchain@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nervosnetwork/fiber-py-integration-test/sessions/1c3b70e3-796c-46c5-98c6-2ad82d88b72d Co-authored-by: gpBlockchain <32102187+gpBlockchain@users.noreply.github.com>
[codex] Default Fiber branch to develop
Add v0.9.0 migration and install script tests
Fix compatibility migration path
* Update test_close_script.py * Update test_force.py
* Update test_max_tlc_number_in_flight_debug.py * Update test_max_tlc_value_in_flight.py * Update test_max_tlc_value_in_flight.py * Update test_max_tlc_value_in_flight.py
* test(security): add regression tests for 21 security PRs on v0.9.0-rc3 New black-box / integration tests under test_cases/fiber/devnet/security/: - test_cli_security_regressions.py (#1414 auth-token, #1413 history redaction, #1389 store perms) - test_amp_hash_algorithm_fresh.py (#1411 AMP success path per hash algorithm, fresh invoice) - test_watchtower_task_survives_rpc_error.py (#1397 event task survives watchtower RPC error) Verified on fnn v0.9.0-rc3 (4255b04). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test(security): add rpc error redaction regression * ci: run security regression tests * style: format security regression tests * test: address security review feedback * narrow pytest.raises(Exception) to TimeoutError in watchtower test * fix: raise timeout errors from wait helpers * test(security): fix review findings in security regression tests - config: align watchtower_rpc_url asserts with new wait_tx_pool timeout message (HIGH-1) - watchtower: redesign survives-RPC-error test to be discriminating, add log-based negative control, switch fixed sleeps to interval-based polling (HIGH-2) - rpc redaction: drop false-positive malformed-param case, focus on well-formed preimage path (MEDIUM-1) - cli: robust private-mode check (mode & 0o077 == 0) and skipif when fnn-cli missing (MEDIUM-2, LOW-2) - move AMP hash-algorithm test to send_payment/atomic_mpp (LOW-1) --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Xcodes-chain
force-pushed
the
codex/fiber-lock-integration-regression
branch
2 times, most recently
from
July 21, 2026 02:29
e449818 to
e52eaba
Compare
Xcodes-chain
marked this pull request as ready for review
July 21, 2026 02:30
Xcodes-chain
force-pushed
the
codex/fiber-lock-integration-regression
branch
2 times, most recently
from
July 22, 2026 12:20
4691b98 to
ac53535
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a focused Fiber devnet regression suite for the lock scripts used by channels.
test_cases/fiber/devnet/lock_scriptswith deployment availability checks forFundingLock,CommitmentLock, and theirckb-authdeps.FundingLock, force close, verifyCommitmentLockoutput, generate the delay epoch, and confirm commitment cells settle.fiber_lock_scripts_testMakefile target and a CI job infiber.yml.test.shso pytest import/exit failures are not reported as passed, and makes local runs tolerate a missingGITHUB_STEP_SUMMARY.Validation
venv/bin/python -m black --check test_cases/fiber/devnet/lock_scripts/test_lock_script_deployment_regression.py framework/rpc.pyvenv/bin/python -m pytest --collect-only -q test_cases/fiber/devnet/lock_scriptsPYTHON=venv/bin/python make fiber_lock_scripts_test(2 passed)Notes
The worktree had pre-existing local changes and runtime artifacts before this PR. This branch only includes the lock-script regression, CI target/job, and runner/logging fixes needed for that regression.