EP
← All projectsElements Project

Core Lightning

Modular C implementation of the Lightning Network protocol and node stack.

BitcoinLightning NetworkActive incident
Repository coverage

2334 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

228security candidates319second-pass queue1977AI analyses
103commits · 30 days
223commits · 60 days
710commits · 180 days
1580commits · 365 days
Backfill bands
Aug 5 → Feb 61049 seen37 candidatesComplete
Feb 6 → Jun 6579 seen10 candidatesComplete
Jun 6 → Jul 678 seen1 candidatesComplete
Jul 6 → Aug 5147 seen16 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

71/100 average clarity
631Strong · 80–100
1400Adequate · 60–79
272Thin · 40–59
31Opaque · 0–39
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
cdecker331217581
daywalker9019315113471
Níckolas Goline961252376
Amperstrand322278
Rusty Russell96977961173
Sangbida Chaudhuri18537157167
Vincenzo Palazzo19714185
Lagrang3115679170
dovgopoly18016165
Dusty Daemon821378066
ShahanaFarooqui931093063
Peter Neuroth1509110074
Analysis record

Published AI watches

Last scanned 15 minutes ago

Informational 15 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: bring lightning-downgrade's version list up to v26.12.

This commit only updates documentation. It adds new version entries to the manual page for the lightning-downgrade tool and mentions the tool in the upgrade guide. No code, database logic, or security behavior is changed.

2e7a9f5aby Ken Sedgwick+9−12 files
No security note in commit
Informational 23 AI analysisMessage 66 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

Makefile: install lightning-downgrade.

This is a packaging/build fix, not a security vulnerability. The `lightning-downgrade` utility was being compiled but accidentally left out of the list of programs installed by `make install`. As a result, official release archives contain…

06ea9ba0by Ken Sedgwick+1−01 file
No security note in commit
Low 27 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: create bwatch tables before backfilling them

This commit fixes a database upgrade bug in Core Lightning. Wallets created with version v26.06.10 were missing two new tables (our_outputs and our_txs) because they skipped the migrations that create them. When users later upgraded, a fol…

Database migration failure could prevent node startup after upgradeFixes missing table creation before data backfillAdds regression test for upgrade path from v26.06.10
ce2a6836by daywalker90+105−02 files
No security note in commit
Informational 15 AI analysisMessage 5 · Opaque
EP Elements ProjectCore Lightning BitcoinLightning Network

v26.12rc1

This commit is a routine version bump from v26.06.10 to v26.12rc1 for Core Lightning. It only updates version strings in packaging files, a changelog, and a lockfile. There are no code changes that introduce, fix, or modify any security-se…

4002c4e9by Níckolas Goline+164−1110 files
No security note in commit
Low 30 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: store payment failure details per groupid

This commit fixes a database bug in Core Lightning where failure details for a payment attempt were being overwritten by later retry attempts that shared the same payment identifier fragment. The fix makes the failure record match on an ad…

Data integrity bug causing incorrect error reporting across payment retry groupsNo memory safety, authentication, authorization, or cryptographic issues presentNo external input is trusted or validated differently
24082c6dby daywalker90+6−34 files
No security note in commit
Low 43 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-plugin: do not panic when the log writer task is gone

This commit fixes a bug in Core Lightning's Rust plugin library where a plugin could crash with a panic if it tried to log a message after the internal log-writing task had already stopped, such as during shutdown. The fix makes the plugin…

panic on send failure replaced with stderr fallbacklog message no longer silently dropped on writer task exitunit test added for dropped-receiver scenario
8661ffabby cdecker+29−11 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

docs: explain hsmtool HTLC recovery

This commit only adds documentation to the manual page for an existing command-line tool (hsmtool). It explains how to recover funds from old Lightning payment commitments (HTLCs) after losing channel state. There are no code changes, no n…

f90c140dby Sangbida Chaudhuri+85−01 file
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: make test_delpay_works deterministic

This commit only changes a test file to make a flaky test more reliable. It does not modify any production code, so it has no security impact on real users.

a224ca81by daywalker90+16−161 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: say that listtransactions gives blockheight 0 for a tx not in a block

This commit only updates documentation to explain that the `listtransactions` command reports a block height and transaction index of 0 when a transaction is not currently in a block (for example, because it hasn't been mined yet or was re…

bc281be3by Peter Neuroth+4−42 files
No security note in commit
Informational 20 AI analysisMessage 50 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

fixup! pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This is a small bug fix in a Python helper library used by Core Lightning. The Millisatoshi.to_approx_str() method previously crashed with a math error when converting a zero amount to a human-readable string. The patch makes zero return "…

No security-relevant signals presentFix is a routine correctness/robustness improvement
02612ed5by Amartya Singh+4−31 file
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: reject unmodifiable PSBTs in addpsbtoutput/addpsbtinput

This update fixes a crash in two wallet commands, addpsbtoutput and addpsbtinput. These commands let users add extra transaction outputs or inputs to a PSBT (a Bitcoin transaction planning file). If a user supplied a PSBT whose version 2 '…

Daemon crash (assertion failure) on crafted/strict PSBT inputMissing validation of PSBT v2 modifiable flags before mutationUser-controlled input directly passed to libwally without precondition check
42472816by daywalker90+14−12 files
Vendor flagged security relevance
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: show addpsbtoutput/addpsbtinput crash on an unmodifiable v2 PSBT

This commit only adds a new test case that demonstrates two Core Lightning commands, addpsbtoutput and addpsbtinput, crash with an internal assertion when given a v2 PSBT that does not allow adding inputs or outputs. The test is marked as …

Daemon abort due to failed assertion in PSBT helper functionsRPC commands addpsbtoutput and addpsbtinput lack validation of PSBT modifiability flags before calling libwallyPotential denial-of-service vector: any caller able to submit a crafted v2 PSBT can crash lightningd
42e268abby daywalker90+60−01 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This commit fixes a minor bug in Core Lightning's Python client library where calling a pretty-printing method on a zero-amount payment would crash with a ValueError. It is a routine correctness fix, not a security vulnerability. There is …

5ebe365dby Amartya Singh+3−12 files
No security note in commit
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

dualopen and splicing: add minimal verification of tx_signatures

This commit adds missing safety checks in Core Lightning when a peer sends signatures for opening or splicing a dual-funded Lightning channel. Before the patch, the software accepted peer-provided transaction witnesses without verifying th…

Missing input validation on peer-provided witness dataBOLT-2 compliance fix for tx_signaturesRejection of empty witness stacks
c6be4f71by Lagrang3+633−97 files
Vendor flagged security relevance
Moderate 54 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

channeld: abort_channels no longer fails a channel with a signed splice

This fix prevents a user-issued 'abort channels' command from incorrectly failing a Lightning channel when a splice transaction has already been signed. Previously, the code would pass the latest in-flight splice to a routine that aborts i…

Denial-of-service/availability impact: user-initiated abort could inadvertently fail a funded channelProtocol compliance fix: avoids sending tx_abort after tx_signatures, which BOLT 2 forbidsState-handling bug in splice negotiation lifecycle
c87f5573by Andezion+22−11 file
No security note in commit
Moderate 51 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

lightningd: fix crash on mutual close of an unconfirmed dual-funded channel

This update fixes a bug where a specific type of Lightning channel close could crash the node. It only happens when both parties cooperatively close a dual-funded channel that has not yet been confirmed and has gone through a funding bump …

NULL pointer dereference leading to daemon crash (denial of service)Crash occurs in cooperative-close path for unconfirmed dual-funded/RBF channelsFix uses canonical channel funding key instead of splice-only field
555143beby Sangbida Chaudhuri+9−31 file
Vendor flagged security relevance
High 74 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-grpc: reject malformed request values instead of panicking

This commit fixes a security bug in Core Lightning's gRPC plugin (cln-grpc). Previously, a malformed request from a gRPC client could crash the plugin: bad public keys, hashes, secrets, channel IDs, or enum values triggered Rust 'unwrap()'…

Denial-of-service via malformed gRPC request causing tonic worker task panicDenial-of-service via std::process::exit(1) in ProofField conversion on missing oneofSilent integer truncation of u16/u8 fields via 'as' casts
b2703436by daywalker90+1558−12135 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 51 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

nix: drop protobuf again

This commit removes the protobuf package from the Nix build environment because it is no longer needed. A previous change made the cln-grpc component use its own bundled protoc compiler instead of relying on the system one. The Python bind…

a0459eeeby Peter Neuroth+0−11 file
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

make: check gRPC protos for breaking changes against the last release

This commit adds a new automated check to the project's build process that compares gRPC protocol definitions against the last release to catch accidental breaking changes early. It does not change any runtime code, fix a bug, or introduce…

db5fea70by daywalker90+43−84 files
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

AI review queuedCI: Disable flakiness tracking.by Rusty Russell · d73b7564 · Feb 28, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Disable flakiness tracking.

287abfbd901616a8c81a02ce366158b4f4630ddf "ci: Add a simple plugin to
report test results to our falkiness tracker" slowed our integration
tests to a crawl: out 6-way gcc integration tests should have taken 20
minutes, but were taking 1hr 24 minutes, and some runs were timing out
altogether.

I cannot reach the server, seems it is down. But tracking flakiness
is rarely useful, so I am disabling this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
documentation-only discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit simply turns off a test-reporting feature in the project's automated build system because it was making tests run very slowly and the reporting server appeared to be down. It does not change any wallet, network, or Lightning protocol code, and there is no security issue in the change itself.

Lower-priorityCI: Remove setup useradd line, use eatmydataby Rusty Russell · 8dce87f7 · Feb 28, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Remove setup useradd line, use eatmydata

I noticed this line causing a delay; ChatGPT thinks NSS name lookup.
I've removed the useradd line altogether.

I also install eatmydata first, to try to speed the other installs.

This drops the install step from 1m45 to about 30 seconds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This is a routine speed-up change to the project's automated build script. It removes an unused user account creation step and installs a small tool called 'eatmydata' earlier so the rest of the package installation runs faster. There is no security issue visible in the change.

Lower-priorityCI: Don't manually install bitcoind again.by Rusty Russell · acdda01c · Feb 28, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Don't manually install bitcoind again.

.github/scripts/setup.sh does this already, *and* it uses the cache now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit removes two redundant steps from the project's automated testing workflow. The removed steps manually installed Bitcoin Core (bitcoind), but the setup script already handles that installation and uses caching. There is no security-relevant change to the software itself or to how users interact with it.

Lower-priorityCI: cache the apt packages, protoc and bitcoind/elements downloads.by Rusty Russell · bda51952 · Feb 28, 2026 · 3 filesMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: cache the apt packages, protoc and bitcoind/elements downloads.

Usually downloading and installing takes 90 seconds. But sometimes it
takes an hour! Use caching for this, to keep it consistent.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This change only speeds up the project's automated testing by caching downloaded software packages (Bitcoin/Elements binaries, the protoc compiler, and Linux apt packages) between CI runs. It does not alter the Core Lightning node software that users run, does not change network or wallet behavior, and introduces no obvious security vulnerability.

Security candidateschemas: fix ping requirements documentationby daywalker90 · 53a5512c · Feb 27, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · daywalker90

schemas: fix ping requirements documentation

Changelog-None

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 15/100

This commit only changes two lines of documentation text in JSON schema files. It corrects the description of the 'ping' command to say it works with any currently connected peer, not just peers with an open payment channel. There is no code change and no security impact.

Lower-prioritygitignore: add lightningd/lightning_gossip_compactdby daywalker90 · 85fa8cfc · Feb 27, 2026 · 1 fileMessage 40 · ThinInformational 15Details
Commit message · daywalker90

gitignore: add lightningd/lightning_gossip_compactd

Changelog-None

40/100 · ThinMessage clarity
✓ Specific, descriptive subject! No meaningful explanatory body
AI analysis · Informational 15/100

This commit simply adds a new build-generated executable name to the .gitignore file in the lightningd directory. It tells Git to ignore the compiled `lightning_gossip_compactd` binary so it is not accidentally committed to the repository. There is no code change, no security fix, and no vulnerability.

Lower-prioritylightningd: add channel_id filter to listpeerchannelsby Peter Neuroth · 2971f5d9 · Feb 24, 2026 · 12 filesMessage 73 · AdequateInformational 18Details
Commit message · Peter Neuroth

lightningd: add channel_id filter to listpeerchannels

Sometimes we don't know the short_channel_id yet (e.g the channel has
not been broadcasted), but we still know the channel_id from the funding
transaction. Add a channel_id filter to listpeerchannels and clarify
that id, short_channel_id and channel_id are mutually exclusive.

Changelog-Added: `listpeerchannels` now accepts a `channel_id` filter,
for cases where the `short_channel_id` is not known yet.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 18/100

This commit adds a new optional 'channel_id' filter to the listpeerchannels RPC command in Core Lightning. It lets users look up a channel by its funding-transaction identifier when the short channel ID isn't yet known. The change is purely a usability/API enhancement and does not appear to fix or introduce any security issue.

Lower-priorityplugins: neaten rust plugins, make them intermediate objects.by Rusty Russell · e9a7c942 · Feb 24, 2026 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Rusty Russell

plugins: neaten rust plugins, make them intermediate objects.

This keeps it simpler for future expansion, and also means we won't
rebuild them as much.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a minor cleanup of the build system for Rust-based plugins. It replaces several repetitive copy rules with a single pattern rule and marks the original compiled plugin files as intermediate build artifacts so they can be cleaned up automatically. There is no change to the actual plugin code, behavior, or security of the software.

Lower-priorityMakefile: don't build the sources in make check-source.by Rusty Russell · 932ba950 · Feb 24, 2026 · 3 filesMessage 73 · AdequateInformational 15Details
Commit message · Rusty Russell

Makefile: don't build the sources in make check-source.

check-source-bolt needs devtools, and check-python needs a full build.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a build-system and CI housekeeping change. It reorganizes which automated code-quality checks run before versus after compilation, and explicitly stops the 'check-source' Makefile target from compiling source code. There is no change to the actual Core Lightning node software, its network behavior, or its handling of funds, keys, or messages.

Lower-priorityconnectd: teach dev_report_fds about Tor fdsby Rusty Russell · aca70eec · Feb 24, 2026 · 3 filesMessage 78 · AdequateInformational 14Details
Commit message · Rusty Russell

connectd: teach dev_report_fds about Tor fds

Our CI didn't run the Tor tests, and when we do, they fail
(particularly tests/test_gossip.py::test_tor_port_onions and
test_static_tor_onions):

```
lightningd-2 2026-02-16T01:06:28.607Z INFO connectd: dev_report_fds: 3 -> hsm fd
lightningd-2 2026-02-16T01:06:28.607Z INFO connectd: dev_report_fds: 4 -> gossipd fd
lightningd-2 2026-02-16T01:06:28.607Z INFO connectd: dev_report_fds: 5 -> listener (connection_in)
lightningd-2 2026-02-16T01:06:28.607Z INFO connectd: dev_report_fds: 5 name IPv4 socket 127.0.0.1:46045
lightningd-2 2026-02-16T01:06:28.607Z **BROKEN** connectd: dev_report_fds: 6 open but unowned? fd mode: socket
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 14/100

This is a small developer-only fix that stops an internal file-descriptor reporting tool from incorrectly flagging a Tor socket as 'unowned.' It only affects a diagnostic function used in testing and does not change how user funds, network connections, or cryptography are handled.

Lower-priorityCI: don't use /tmp/old-cln, use a local dir.by Rusty Russell · 7baeb8f8 · Feb 24, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Rusty Russell

CI: don't use /tmp/old-cln, use a local dir.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This is a minor GitHub Actions CI workflow change. It switches a temporary directory used during automated testing from a shared system folder (/tmp/old-cln) to a local folder (old-cln) in the CI runner's working directory. There is no security vulnerability or user-facing change.

Lower-priorityCI: Use variable to make group counts neater.by Rusty Russell · c1b2fde7 · Feb 24, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Rusty Russell

CI: Use variable to make group counts neater.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit is a cosmetic cleanup of the project's automated testing configuration. It replaces hard-coded numbers like '6' and '12' with a variable named GROUP_COUNT so the test job labels and command-line options stay consistent. There is no change to the actual Core Lightning software, no security fix, and no vulnerability introduced.

Lower-priorityCI: split gcc+sqlite3 tests into 6 runners.by Rusty Russell · 1d351e29 · Feb 24, 2026 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Rusty Russell

CI: split gcc+sqlite3 tests into 6 runners.

It takes 1h43m, and it's our "basic" integration test. So split 6
ways to get faster results, then if that passes do the other tests
(Postgres, clang, Liquid, splicing, dual-funding).

Now they take about 20 minutes each.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only reorganizes the project's automated continuous integration (CI) testing pipeline. It splits a long-running test job into six smaller parallel jobs and makes the remaining full tests depend on those finishing first. There are no changes to the actual Core Lightning software, its configuration, or how it handles user data or network traffic.

Lower-priorityCI: do cargo test --all as part of post-build stepby Rusty Russell · bc518726 · Feb 24, 2026 · 1 fileMessage 95 · StrongInformational 15Details
Commit message · Rusty Russell

CI: do cargo test --all as part of post-build step

No point spending 1m24 seconds for *each* different compiler variant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit simply reorganizes the project's automated testing pipeline. It moves a Rust test step ('cargo test --all') from one place in the CI workflow to another so it runs once after builds instead of once per compiler variant. There is no change to the actual Core Lightning software, its configuration, or its security behavior.

Lower-priorityCI: Make 12 not 10 valgrind tests, and 6 not 12 sanitizer tests.by Rusty Russell · 9b071418 · Feb 24, 2026 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Make 12 not 10 valgrind tests, and 6 not 12 sanitizer tests.

Given the new timings, this should even things out a little.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

87/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
defensive validationdocumentation-only discount
AI analysis · Informational 15/100

This commit only changes how many parallel groups the project's automated CI (Continuous Integration) test suite splits its work into. It increases the number of groups for memory-error-detection (Valgrind) tests from 10 to 12 and decreases the number of groups for sanitizer tests from 12 to 6. There is no change to the actual Core Lightning node code, its configuration, or how it handles user data/network input. It is purely a scheduling/timing adjustment for automated testing.

Lower-priorityCI: use -O1 optimized builds for sanitizer and valgrind runs.by Rusty Russell · 201b6848 · Feb 24, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: use -O1 optimized builds for sanitizer and valgrind runs.

ChatGPT suggested this for sanitizer runs, but valgrind gains a little
too.

Sanitizer before: 74.1-98.9(84.5+/-7.3) minutes
Sanitizer after: 11.6-15.2(13.3+/-1.2) minutes

Valgrind before: 43.3-54.1(46.8+/-3.8) minutes
Valgrind after: 40.9-49.4(43.4+/-2.5) minutes

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
defensive validationdocumentation-only discount
AI analysis · Informational 15/100

This commit only changes the project's automated testing configuration. It switches some continuous integration (CI) test runs to use a lower compiler optimization level (-O1) so that sanitizer and Valgrind checks finish faster. There is no change to the actual Core Lightning software that users run, and nothing in the commit suggests a security fix or vulnerability.

Lower-priorityci: Enable sccache compiler cache for Rust and Cby Christian Decker · 381f94a6 · Feb 24, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Christian Decker

ci: Enable sccache compiler cache for Rust and C

[ Cherry-picked from another PR, and read the docs which say you have
to set SCCACHE_GHA_ENABLED to get inter-job caching! --RR ]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only changes the project's GitHub Actions CI configuration to enable a compiler cache called sccache. It does not modify any production code, wallet logic, network handling, or cryptographic operations. There is no security issue visible in the change itself.

Lower-priorityCI: avoid rebuilds on downloads using testpack.tar.gz.by Rusty Russell · 740e35ad · Feb 24, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: avoid rebuilds on downloads using testpack.tar.gz.

We use the same fragment everywhere for consistency, even though some
stages don't actually call make.

The magic is:
CARGO=false CC=devtools/cc-nobuild SUPPRESS_GENERATION=1

Which causes us to fail if we want to rebuild.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only changes the project's GitHub Actions CI workflow. It switches the test artifact format from .tar.bz2 to .tar.gz, adds flags to prevent unnecessary rebuilds when running tests on prebuilt binaries, and cleans up some matrix configuration. There is no change to the actual Core Lightning software that users run, and nothing in the commit suggests a security fix or vulnerability.

Lower-priorityCI: Use -O3 builds for Liquid integration tests.by Rusty Russell · 31ad743e · Feb 24, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Use -O3 builds for Liquid integration tests.

The other integration tests are taking under an hour, and this is
taking 1hr 30m.

The downside is that backtraces are far less clear, but that's why the
main run uses the full debug version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

100/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit changes one line in the project's automated testing configuration. It switches the Liquid integration tests to use a faster compiler optimization setting (-O3) so the tests finish sooner. It does not change any code that runs in production, does not fix a bug, and has no security relevance.

Lower-priorityMakefile: support overriding of CC and CARGO for catching unintended builds.by Rusty Russell · b1031e56 · Feb 24, 2026 · 4 filesMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

Makefile: support overriding of CC and CARGO for catching unintended builds.

For CI we want to make sure we don't rebuild. CC=false doesn't work because
we reply on the output of "$CC -dumpmachine" for the external build directory.

So we would use:

make CC=devtools/cc-nobuild CARGO=false

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100

This commit is a build-system maintenance change. It lets the project’s Makefiles accept custom values for the C compiler (CC) and Rust tool (CARGO) variables, and adds a small helper script used only in CI to detect accidental rebuilds. There is no change to the actual Lightning node software, no bug fix, and no security-related behavior.

Lower-priorityMakefile: mark more things as intermediaries.by Rusty Russell · 5d444c61 · Feb 24, 2026 · 3 filesMessage 60 · AdequateInformational 15Details
Commit message · Rusty Russell

Makefile: mark more things as intermediaries.

This means we don't have to include them in our bundle.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit only changes build-system instructions (Makefiles). It tells the build process that certain temporary files (intermediate build artifacts like generated source files and compiled library objects) can be deleted automatically after they are no longer needed, so they don't have to be bundled in release packages. There is no change to the actual Lightning node software, its networking, cryptography, or wallet logic, and no security-relevant behavior is introduced or fixed.

Lower-priorityMakefile: clean up a little.by Rusty Russell · 3812e745 · Feb 24, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Rusty Russell

Makefile: clean up a little.

Make cdump-enumstr use libccan.a, rather than explicit ccan object: it's the
last one.

And mark submodcheck phony, as it is.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a routine build-system tidy-up. It changes how one internal helper tool is linked during compilation and marks a build target as 'phony' so make handles it correctly. There is no user-facing change, no network code, no cryptography change, and no indication of a security issue.

Lower-priorityCI: Don't do release target build, create "small" profileby Rusty Russell · e50ea420 · Feb 24, 2026 · 2 filesMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Don't do release target build, create "small" profile

Using RUST_TARGET=release is slower than RUST_TARGET=debug, *but*
the images are much bigger.

On my laptop, but restricted to 4 CPUs. I added a target to build all
the prerequisited but not compress the bzip2:

RUST_TARGET Time to build Size (testpack.tar.bz2)
release 4m49s 133MB
debug 2m34s 343MB
small 2m9s 155MB

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit changes the project's automated build settings to use a new 'small' Rust compilation profile instead of the 'release' profile. The goal is to make CI builds faster and produce smaller artifacts for testing, with no intended functional change to the software itself.

Lower-priorityMakefile: make testpack.tar.gz from (almost) all changed files.by Rusty Russell · 6c5883e5 · Feb 24, 2026 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Rusty Russell

Makefile: make testpack.tar.gz from (almost) all changed files.

Here are the speeds and sizes of different compressors (just
compressing the raw tar file):

bzip2: 34.15s 412MB

gzip -1: 9.96s 420MB
gzip -2: 10.39s 417MB
gzip -3: 11.63s 414MB
gzip -4: 12.29s 409MB
gzip -5: 14.41s 406MB
gzip -6: 19.02s 405MB
gzip -7: 22.96s 405MB
gzip -8: 39.63s 404MB
gzip -9: 72.19s 404MB

xz: 72.92s 407MB

Uncompressing time:

xz: 2.3 seconds
bzip2: 20 seconds
gzip -5: 3 seconds

Note that this target is only useful on a *freshly built* tree: it
will include everything config.vars and newer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit changes how the project packages built files for testing in continuous integration (CI). It switches from a hand-maintained list of files bundled into a bzip2 archive to a rule that automatically collects almost all files newer than a build marker and compresses them with gzip. There is no user-facing behavior change, no network code, no cryptography, and no security-sensitive logic. It is purely a build/CI tooling change.

Lower-priorityCI: use more optimized builds sometimes.by Rusty Russell · 1047c484 · Feb 24, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · Rusty Russell

CI: use more optimized builds sometimes.

1. Don't --enable-debugbuild for sanitizer runs (slow) or -O3 compilations.
2. Use -O3 build for splicing and postgres tests runs (speed them a
little), make sure builds without --enable-debugbuild work.
3. Remove clang test run, because we already use that for
minimum-btc-version test: this saves another 2 hour CI job.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

100/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
defensive validationdocumentation-only discount
AI analysis · Informational 15/100

This commit only changes how the project's automated continuous integration (CI) tests are built. It turns off debug builds for some test configurations, enables more compiler optimization (-O3) for a couple of test runs, and removes one redundant clang test job. There is no change to the actual Core Lightning software that users run, and no security relevance is apparent.