-
Notifications
You must be signed in to change notification settings - Fork 138
ci: run CI on *-staging branches in addition to main #1855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 0-8-0-staging
Are you sure you want to change the base?
Conversation
…whitelist Improve `MacaroonWhitelist` Structure and Permission Granularity
Refactored GetBlockTimestamp to call GetBlockHeaderByHeight and return an optional error type. Removed the timestamp-to-block-height cache, as it did not handle re-orgs correctly. This prepares the codebase for a more comprehensive caching mechanism to be added in a follow-up commit.
Refactor `fundGenesisPsbt` and enhance test helpers for coverage
Introduce a reusable cache that stores full headers keyed by height and hash. Tracks confirmation depth and treats shallow entries as unsettled (return miss). Detects conflicts at a height and invalidates shallower headers on reorg. Size and random purge fraction are configurable (default 100k entries, 10 percent). Not yet used by LndRpcChainBridge.
Adds a block header cache to LndRpcChainBridge, which indirectly improves performance of methods like GetBlockTimestamp by avoiding repeated block header fetches.
lndservices: add reorg aware block header cache; use in ChainBridge
44eee79
to
43e17a5
Compare
Summary of ChangesHello @ffranr, 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 implements a robust feature negotiation framework for Taproot Asset channels, enabling Highlights
Ignored Files
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
|
Update push and merge_group triggers to include *-staging.
43e17a5
to
13f7b29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces feature bit negotiation for Taproot Asset channels, specifically for NoOpHTLCs
and STXO
proofs. This is a significant enhancement for channel upgrades and backward compatibility. The changes are well-integrated throughout the codebase, from configuration and RPC layers down to the channel logic. Additionally, there are some logging improvements and dependency updates.
My review focuses on ensuring the new logic is correctly implemented and adheres to the project's style guide. I've found a minor issue in a structured log call and a comment mismatch with a function name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine to be merged into 0-8-0-staging
but we should not port this to main
because we are trying to move away from this type of release flow, to a standard trunk based one so we shouldn't have staging branches anymore.
965998d
to
83a4116
Compare
Update push and merge_group triggers to include *-staging.