cln-plugin: add a hook builder to make use of before, after and filters
Mirroring https://github.com/ElementsProject/lightning/pull/8677/commits/60a0ed258f8a75ca78d1bcd6dadda0cbc4f4513b
Changelog-None
- [x] The changelog has been updated in the relevant commit(s) according to the guidelines.
- [x] Tests have been added or modified to reflect the changes.
- [x] Documentation has been reviewed and updated as needed.
- [x] Related issues have been listed and linked, including any that this PR closes.
ACK https://github.com/ElementsProject/lightning/pull/8704/commits/9a6486e153cb080c74a15666c3b08f27235d75e4
It seems this one missed 25.12 because it wasn't linked to an issue :( added it to the milestone for the next release
rebased after https://github.com/ElementsProject/lightning/pull/8768
CI timed out in pre-build checks in "Check source" at
contrib/pyln-proto/tests/test_invoice.py .. [ 13%]
Error: The operation was canceled.
no clue why. It works locally.
@daywalker90... this update re: CI from @ShahanaFarooqui in another forum might explain?
The CI is still failing, but I merged your PR since it had already passed the checks. The workflow will require further debugging, but my best guess is that the GitHub container is running out of resources due to our recently added --reruns=10 pytest option. Please disregard any CI failures unrelated to your changes until the workflow stabilizes.
Yes, CI is consistently failing the pre-build check for all PRs, even though it passes locally (albeit taking ~100 minutes).