-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve schedule worker debugging and tests (#101)
**What** - Add some more test statements to make the validation more strict. It now ensures that the one time schedule is not reschedule in the future while the repeating schedule does exist. It also ensures that "empty queue" is returned as expected. - Using snake case on logrus fields because it works better with loki, which will then detect these as actual log fields which can leverage the full loki query language - Add more log statements with task metadata to the scheduleTask workflow. This improves the ability to follow the flow of the logs when we need to view both manager and worker logs together. Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
- Loading branch information
1 parent
79f6eb5
commit 7ef81a2
Showing
3 changed files
with
45 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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