Added Scrape History Logging #9

Merged
SoXX merged 6 commits from dev/scrape-history into main 2024-10-16 10:15:59 +00:00
Owner
No description provided.
SoXX added 5 commits 2024-10-16 08:41:51 +00:00
feat: Add ScrapeHistory tracking and refactor task execution return type
All checks were successful
Gitea Build Check / Build (push) Successful in 58s
9de22d3176
- Add `ScrapeHistory` record creation and update during task execution
- Modify `TaskExecution` function to return `TaskSummery` instead of using a cancel function
- Reintroduce and move `removeTask` function for cleanup after task execution
fix(grpc): force ID length to 25 chars
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
22b0edabfe
feat: Update scrape history on task failure and completion
All checks were successful
Gitea Build Check / Build (push) Successful in 56s
2707806a08
fix: Refactor error handling by introducing errorString function to check for nil errors
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
Gitea Build Check / Build (pull_request) Successful in 59s
cc2b0374da
SoXX requested review from Alphyron 2024-10-16 08:41:55 +00:00
SoXX added 1 commit 2024-10-16 10:12:29 +00:00
fix: Handle multiple error returns in TaskStart by joining errors
All checks were successful
Gitea Build Check / Build (push) Successful in 58s
Gitea Build Check / Build (pull_request) Successful in 58s
a99c4457d2
Alphyron approved these changes 2024-10-16 10:13:37 +00:00
SoXX merged commit a99c4457d2 into main 2024-10-16 10:15:59 +00:00
SoXX deleted branch dev/scrape-history 2024-10-16 10:15:59 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Anthrove/plug-sdk#9
No description provided.