hirosystems / chainhook

Extract transactions from Stacks and Bitcoin and build event driven re-org resistant indexers and databases.
GNU General Public License v3.0
143 stars 57 forks source link

streaming predicates never set interrupted status #523

Closed MicaiahReid closed 4 months ago

MicaiahReid commented 6 months ago

If a predicate is in streaming mode and it fails (for example when being triggered and sending the payload to the user), we don't set the status to interrupted. This means platform users will never see the errors, and if the user's service is no longer receiving requests we'll keep this predicate around for ever.

MicaiahReid commented 6 months ago

Example: https://github.com/hirosystems/chainhook/blob/b3e938a6aead30376ae8b53e0dc82edd62d134ea/components/chainhook-sdk/src/observer/mod.rs#L1168

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: