Skip to content

reckless: fail reckless rpc if executable fails#8894

Merged
Lagrang3 merged 1 commit intoElementsProject:masterfrom
Lagrang3:reckless-failure
Mar 18, 2026
Merged

reckless: fail reckless rpc if executable fails#8894
Lagrang3 merged 1 commit intoElementsProject:masterfrom
Lagrang3:reckless-failure

Conversation

@Lagrang3
Copy link
Collaborator

If the execution of reckless fails for some reason recklessrpc plugin should return an rpc failure message instead of hanging.
This can happen for example if reckless executable is not found the the environment PATH.

@cdecker
Copy link
Member

cdecker commented Feb 12, 2026

ACK 1b46d01

@endothermicdev
Copy link
Collaborator

ACK 1b46d01

@madelinevibes madelinevibes added this to the v26.04 milestone Feb 13, 2026
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

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

I think this deserves a Changelog-Fixed: JSON-RPC: reckless command no longer hangs if the reckless command is not found.

@madelinevibes madelinevibes added the Status::Ready for Review The work has been completed and is now awaiting evaluation or approval. label Mar 4, 2026
@sangbida sangbida added PLEASE clear CI 🫠 and removed Status::Ready for Review The work has been completed and is now awaiting evaluation or approval. labels Mar 16, 2026
@sangbida
Copy link
Collaborator

Hey @Lagrang3, this looks good! Could you please merge it straightaway after clearing CI, so it can make it to the upcoming release 😄

If the execution of reckless fails for some reason recklessrpc plugin
should return an rpc failure message instead of hanging.

Changelog-Fixed: JSON-RPC: reckless command no longer hangs if reckless executable is not found in PATH.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
@Lagrang3 Lagrang3 merged commit daa994f into ElementsProject:master Mar 18, 2026
87 of 89 checks passed
@Lagrang3 Lagrang3 deleted the reckless-failure branch March 18, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants