Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-27105: Reinstate Sidekiq Jobs Lost in Periodic Jobs Migration #12969

Conversation

kristen-brown
Copy link
Contributor

@kristen-brown kristen-brown commented Jun 12, 2023

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:

  • VBADocuments::ReportUnsuccessfulSubmissions
  • VBADocuments::FlipperStatusAlert
  • VAForms::FlipperStatusAlert

This PR reinstates those jobs listed above, and also moves the final job that my team owns, AppealsApi::HigherLevelReviewCleanUpWeekOldPii, from config/sidekiq_scheduler.yml to lib/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, and VAForms jobs have been grouped into their own sections so that they can be more easily found in lib/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, and VAForms, all of which my team owns.

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable). – N/A
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution – N/A
  • Documentation has been updated (link to documentation) – N/A
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable) – N/A
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected – N/A
  • I added a screenshot of the developed feature – N/A

Requested Feedback

No specific feedback requested for this PR.

@kristen-brown kristen-brown added Lighthouse lighthouse banana-peels Lighthouse Banana Peels Team labels Jun 12, 2023
@kristen-brown kristen-brown requested review from a team as code owners June 12, 2023 21:32
@va-vfs-bot va-vfs-bot temporarily deployed to API-27105-reinstate-sidekiq-job-schedule-appeals-vba-documents/main/main June 12, 2023 21:33 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-27105-reinstate-sidekiq-job-schedule-appeals-vba-documents/main/main June 12, 2023 21:34 In progress
@va-vsp-bot va-vsp-bot requested a deployment to API-27105-reinstate-sidekiq-job-schedule-appeals-vba-documents/main/main June 13, 2023 14:33 In progress
Copy link
Contributor

@mathisto mathisto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thumb-up-ok-gif
APPROVED

@kristen-brown kristen-brown merged commit 459e31a into master Jun 13, 2023
@kristen-brown kristen-brown deleted the API-27105-reinstate-sidekiq-job-schedule-appeals-vba-documents branch June 13, 2023 16:02
ryan-mcneil pushed a commit that referenced this pull request Dec 11, 2023
…2969)

* API-27105: Reinstate missing Sidekiq jobs

* API-27105: Fix incorrect job schedule for AppealsApi::HigherLevelReviewCleanUpWeekOldPii

* API-27105: Update job comment

* API-27105: Disable Rubocop BlockLength check

* API-27105: Enable Rubocop BlockLength check after disabling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
banana-peels Lighthouse Banana Peels Team console-services-review Lighthouse lighthouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants