Skip to content

updated lumera to 1.8.5#238

Merged
mateeullahmalik merged 2 commits intomasterfrom
lumera-1.8.5
Nov 25, 2025
Merged

updated lumera to 1.8.5#238
mateeullahmalik merged 2 commits intomasterfrom
lumera-1.8.5

Conversation

@akobrin1
Copy link
Contributor

No description provided.

@roomote-v0
Copy link

roomote-v0 bot commented Nov 25, 2025

Rooviewer Clock   See task on Roo Cloud

I've reviewed the changes updating Lumera to v1.8.5 and upgrading the setup-go action. I found a minor inconsistency in error handling.

  • Fix error wrapping inconsistency in GetAction

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

})
if err != nil {
return nil, fmt.Errorf("failed to get action: %w", err)
return nil, err
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change creates an inconsistency with GetActionFee and GetParams below, which both wrap errors with context. Unless there's a specific need to return the raw error here (e.g., for specific gRPC status checking that wrapping interferes with), it's better to be consistent.

Suggested change
return nil, err
return nil, fmt.Errorf("failed to get action: %w", err)

Fix it with Roo Code or mention @roomote and request a fix.

Copy link
Contributor Author

@akobrin1 akobrin1 Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrapping an error in GetAction creates duplicate error... it is wrapped on higher levels in all calls to GetAction.
We need either keep wrapping in GetAction and remove wrapping with the same error message in all calls to GetAction.

github.com/LumeraProtocol/lumera v1.8.4
github.com/LumeraProtocol/supernode/v2 v2.3.88
github.com/LumeraProtocol/lumera v1.8.5
github.com/LumeraProtocol/supernode/v2 v2.0.0-00010101000000-000000000000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 2.4.9 or code from latest directory like it is right now would be best

@mateeullahmalik mateeullahmalik merged commit cff30f1 into master Nov 25, 2025
7 checks passed
@mateeullahmalik mateeullahmalik deleted the lumera-1.8.5 branch December 15, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants