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

Vebt 747 additional logging - Vye Midnight Run & Sundown Sweep #20028

Merged
merged 14 commits into from
Jan 6, 2025

Conversation

nfstern02
Copy link
Contributor

Summary

  • *This work is behind a feature toggle (flipper): NO
  • Added more logging statements to Vye Midnight Run & Sundown Sweep. Included RSpec tests for same.
  • N/A
  • Additional logging statements to assist in troubleshooting production issues
  • vebt
  • N/A

Related issue(s)

  • Ticket attached in word document
  • N/A
  • N/A

Testing done

  • New code is covered by unit tests
  • Describe what the old behavior was prior to the change
    Minimal logging statements. More statements now
  • Describe the steps required to verify your changes are working as expected. Exclusively stating 'Specs run' is NOT acceptable as appropriate testing
    Ran mocks in sandbox. RSpec tests

What areas of the site does it impact?

(Describe what parts of the site are impacted andifcode touched other areas)
VYE Nightly Sundown Sweep and Midnite Run batch jobs.

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • 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 (if applicable)

VEBT-747.doc.docx

@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 25, 2024 01:08 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 25, 2024 01:20 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 25, 2024 01:34 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 25, 2024 01:43 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 25, 2024 07:35 Inactive
Copy link

github-actions bot commented Dec 28, 2024

1 Warning
⚠️ This PR changes 219 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, we recommend not exceeding
200. Expect some delays getting reviews.

File Summary

Files

  • modules/vye/app/sidekiq/vye/midnight_run.rb (+29/-0)

  • modules/vye/app/sidekiq/vye/midnight_run/ingress_bdn.rb (+5/-2)

  • modules/vye/app/sidekiq/vye/midnight_run/ingress_bdn_chunk.rb (+0/-0)

  • modules/vye/app/sidekiq/vye/sundown_sweep.rb (+2/-0)

  • modules/vye/app/sidekiq/vye/sundown_sweep/clear_deactivated_bdns.rb (+2/-2)

  • modules/vye/app/sidekiq/vye/sundown_sweep/delete_processed_s3_files.rb (+2/-2)

  • modules/vye/lib/concerns/vye/cloud_transfer.rb (+42/-3)

  • modules/vye/lib/tasks/vye/setup_for_sundown_sweep_devtest.rake (+37/-0)

  • modules/vye/lib/vye/batch_transfer/bdn_chunk.rb (+2/-0)

  • modules/vye/lib/vye/batch_transfer/chunk.rb (+9/-0)

  • modules/vye/lib/vye/batch_transfer/chunking.rb (+7/-0)

  • modules/vye/spec/lib/vye/batch_transfer/bdn_chunk_spec.rb (+16/-3)

  • modules/vye/spec/lib/vye/batch_transfer/chunk_spec.rb (+30/-0)

  • modules/vye/spec/sidekiq/vye/midnight_run/ingress_bdn_spec.rb (+14/-0)

  • modules/vye/spec/sidekiq/vye/midnight_run_spec.rb (+10/-0)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, *.md, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru, *.pdf
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 28, 2024 08:15 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vebt-747-additional-logging/main/main December 28, 2024 08:23 Inactive
@GcioGregg GcioGregg merged commit 7724adf into master Jan 6, 2025
22 of 23 checks passed
@GcioGregg GcioGregg deleted the vebt-747-additional-logging branch January 6, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants