Conversation
Summary of ChangesHello @GeorgeTsagk, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily addresses a flaking Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request aims to fix a flaky integration test (multi-rfq itest flake) by updating the LND dependency to include fixes for TrafficShaper / AuxBandwidth. The changes include bumping the LND version in go.mod, updating a test to be more self-contained, and temporarily disabling a backward compatibility test.
My main concern is the use of replace directives in go.mod to point to a personal fork of lnd. This is a temporary solution and should be replaced with a proper dependency update once the required changes are available in an official upstream release. I've added a high-severity comment regarding this.
Additionally, I've noted the temporary disabling of a backward compatibility test, which should be tracked and re-enabled in the future. The changes to the integration test logic itself appear correct and should improve test stability.
go.mod
Outdated
| replace github.com/lightningnetwork/lnd => github.com/GeorgeTsagk/lnd v0.0.0-20251208115937-283874d8cc19 | ||
|
|
||
| replace github.com/lightningnetwork/lnd/sqldb => github.com/GeorgeTsagk/lnd/sqldb v0.0.0-20251208115937-283874d8cc19 |
There was a problem hiding this comment.
These replace directives point to a personal fork (github.com/GeorgeTsagk/lnd). While this might be necessary for an urgent fix, it's not a sustainable solution for the main branch. This introduces a dependency on a non-standard repository, which can cause issues with maintenance, security, and future updates.
Please ensure there's a plan to remove these directives by either getting the changes merged upstream into github.com/lightningnetwork/lnd and updating the dependency version, or by vendoring the required code if it's a long-term fork. This should be addressed before this PR is merged into a release branch.
| // NOTE: temporary disable backwards compatibility version, in | ||
| // order to gracefully wait for a stability fix to be included | ||
| // in the next LiT tag. | ||
| // backwardCompat: map[string]string{ | ||
| // "Yara": "v0.15.0-alpha", | ||
| // }, |
There was a problem hiding this comment.
|
Linking lightningnetwork/lnd#10434, which should bring the requisite fixes into lnd. |
8893431 to
463cc22
Compare
463cc22 to
430f09d
Compare
|
@GeorgeTsagk, remember to re-request review from reviewers when ready |
Description
Bumps the version of LND in order to include some TrafficShaper / AuxBandwidth fixes