Background Task Queue & Webhook SystemBackground Task Queue & Webhook…#85
Closed
ChukwuemekaP1 wants to merge 7 commits intoSoroLabs:mainfrom
Closed
Background Task Queue & Webhook SystemBackground Task Queue & Webhook…#85ChukwuemekaP1 wants to merge 7 commits intoSoroLabs:mainfrom
ChukwuemekaP1 wants to merge 7 commits intoSoroLabs:mainfrom
Conversation
Collaborator
|
@ChukwuemekaP1 resolve conflict. |
Collaborator
|
@ChukwuemekaP1 and make sure the ci/cd pipeline pass. |
Author
|
Done @ayomideadeniran Sorry for the delay |
Collaborator
|
@ChukwuemekaP1 your checks are failing. |
Collaborator
|
@ChukwuemekaP1 make sure they pass. |
Remove used and wrong file network_config
Collaborator
|
@ChukwuemekaP1 Resolve conflicts. |
Author
|
@ayomideadeniran |
Collaborator
|
@ChukwuemekaP1 Fix conflicts. |
Author
|
@ayomideadeniran FIx |
Author
|
@ayomideadeniran I know its late, pls close before its close |
Collaborator
|
@ChukwuemekaP1 Make sure all the checks pass. Now one is failing. |
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.
Implementation Complete: Background Task Queue & Webhook System (Closes #71)
This PR introduces a background task processing system for SoroScope, enabling non-blocking job execution with webhook notifications.
Summary of Changes
New/Updated Files
core/src/jobs.rs– Background task queue implementationcore/src/main.rs– Integrated job system and API routescore/Cargo.toml– Added required dependencies (dashmap,uuid)Key Features Implemented
DashMapfor thread-safe in-memory trackingPOST /jobs/submit– Submit job and receive immediatejob_idGET /jobs/{id}– Retrieve job statusJob Lifecycle
Architecture & Design
DashMapArc<AppState>patterntokio::spawnAppErrorReliability Enhancements
Close #71