feat: add optional webhook callbacks for job completion#90
Merged
user1303836 merged 1 commit intomainfrom Feb 18, 2026
Merged
Conversation
2b5b87e to
87e3a92
Compare
Adds an optional callback_url field to IngestRequest and NormalizeRequest. When provided and the job completes (success or failure), a JSON payload is POSTed to the URL with job_id, state, wallet, chain, and message. Fire-and-forget with 10s timeout; errors are logged but do not affect job status. URL validation rejects non-HTTP(S) schemes.
87e3a92 to
f241903
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
callback_urlfield toIngestRequest,NormalizeRequest, and batch variants{job_id, state, wallet, chain, message}Test plan
cargo fmt --all --checkcleancargo clippy --workspace --all-targets -- -D warningscleancargo auditclean (bytes upgraded, audit.toml for transitive deps)