AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 64 Bitcoin

graph: add regression test for the fixed behaviour

Public commit record

What the developer wrote

Authored by ziggie

60/100 · Adequate
graph: add regression test for the fixed behaviour
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit only adds a regression test for a previously fixed bug in LND's routing graph cache. The bug caused channels whose two routing policies were initially disabled to be left out of an in-memory cache. Later, if one policy became enabled, the cache could not be updated, so the channel stayed invisible for routing. The test documents the bug and verifies the fix, but does not itself change production code.

Recommended action

No immediate action is required for this commit because it only adds a test. Operators should ensure they are running a version of LND that includes the underlying fix the test validates. Reviewers may want to confirm the prior production-code fix is present and that this test passes in CI.

Security signals we found

01

Routing cache inconsistency could make channels unusable for pathfinding

02

Denial-of-service-like effect on channel usability after policy recovery

03

Regression test documents a prior bug in graph cache population/update logic

Risk score

Why this scored 64/100

Our methodology →
Potential impact 18/30
Exploitability 10/25
Stealth signal 12/15
Affected reach 12/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.