API-27105: Reinstate Sidekiq Jobs Lost in Periodic Jobs Migration #12969
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
Initially my team noticed that our jobs that had been scheduled to run in the "America/New_York" time zone were now running as UTC instead. That time zone issue has since been resolved in another PR, but when investigating this issue, I noticed that the following jobs that my team owns had been removed entirely from the schedule:
This PR reinstates those jobs listed above, and also moves the final job that my team owns, AppealsApi::HigherLevelReviewCleanUpWeekOldPii, from
config/sidekiq_scheduler.yml
tolib/periodic_jobs.rb
. A previous PR comment had mentioned that the specs would fail if it was moved, but the specs have been running successfully locally and in CI.AppealsApi
,VBADocuments
, andVAForms
jobs have been grouped into their own sections so that they can be more easily found inlib/periodic_jobs.rb
. In addition, instances of "MON-FRI" in the cron statements have been replaced with "1-5" to stay consistent with the other jobs in the file. Where job descriptions were missing, they have now been added.Related issue(s)
API-27105
Testing done
The schedule has been spot-checked twice against the original (pre-periodic jobs migration) contents of
config/sidekiq_scheduler.yml
.Screenshots
None
What areas of the site does it impact?
This PR impacts the periodic job schedules for
AppealsApi
,VBADocuments
, andVAForms
, all of which my team owns.Acceptance criteria
Requested Feedback
No specific feedback requested for this PR.