Add tests for `lightning-persister` with `tokio` feature to CI
What changed, and why it matters
This commit only adds automated CI test commands for a newly added optional 'tokio' feature in the lightning-persister crate. It does not change application code, fix a bug, or alter any security-relevant behavior. It is purely a testing/continuous integration configuration change.
No security action needed. This is a routine CI improvement. Reviewers may optionally verify that the new tokio feature itself (introduced in prior commits) is sound, but this commit does not introduce or address any vulnerability.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies ci/ci-tests.sh to run cargo test, cargo check, and cargo doc for the lightning-persister crate with the tokio feature enabled. No source code in lightning-persister or any other crate is changed. The commit message explicitly frames this as correcting an omission in CI coverage for a newly introduced feature.
Changed components
ci/ci-tests.shInspect captured patch +5 / −0
diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh
index d2bd4fa..f784140 100755
--- a/ci/ci-tests.sh
+++ b/ci/ci-tests.sh
@@ -90,6 +90,11 @@ cargo check -p lightning-block-sync --verbose --color always --features rpc-clie
cargo test -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
+echo -e "\n\nChecking and testing lightning-persister with features"
+cargo test -p lightning-persister --verbose --color always --features tokio
+cargo check -p lightning-persister --verbose --color always --features tokio
+cargo doc -p lightning-persister --document-private-items --features tokio
+
echo -e "\n\nTest Custom Message Macros"
cargo test -p lightning-custom-message --verbose --color always
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.