Skip to content

feat: automate lottery audit workflow#6490

Open
ludtkemorgan wants to merge 1 commit into
mainfrom
6357/automated-lottery
Open

feat: automate lottery audit workflow#6490
ludtkemorgan wants to merge 1 commit into
mainfrom
6357/automated-lottery

Conversation

@ludtkemorgan

Copy link
Copy Markdown
Collaborator

This PR addresses #6357

  • Addresses the issue in full
  • Addresses only certain aspects of the issue

Description

This pulls over a custom automated lottery audit flow from Doorway. If a url is provided in the new env variable an external call to an audit tool is triggered immediately after the lottery has been run

How Can This Be Tested/Reviewed?

There is no external audit endpoint that we have access to but the following steps can be taken:

  • Add a dummy url to LOTTERY_AUDIT_ENDPOINT
  • Trigger a lottery and verify in the logs that the endpoint was called (warn log automatically happens and an error should happen on the actual call)
  • Verify that the lottery successfully ran and everything still works

Author Checklist:

  • Added QA notes to the issue with applicable URLs
  • Reviewed in a desktop view
  • Reviewed in a mobile view
  • Reviewed considering accessibility
  • Added tests covering the changes
  • Made corresponding changes to the documentation
  • Ran yarn generate:client and/or created a migration when required

Review Process:

  • Read and understand the issue
  • Ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

@netlify

netlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploy Preview for bloom-angelopolis canceled.

Name Link
🔨 Latest commit adee385
🔍 Latest deploy log https://app.netlify.com/projects/bloom-angelopolis/deploys/6a4fe69299ac0e000862e473

@ludtkemorgan ludtkemorgan added the 1 review needed Requires 1 more review before ready to merge label Jul 8, 2026
@netlify

netlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploy Preview for partners-bloom-dev ready!

Name Link
🔨 Latest commit adee385
🔍 Latest deploy log https://app.netlify.com/projects/partners-bloom-dev/deploys/6a4fe69209290f000875ad40
😎 Deploy Preview https://deploy-preview-6490--partners-bloom-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ludtkemorgan ludtkemorgan force-pushed the 6357/automated-lottery branch from 25e39c7 to adee385 Compare July 9, 2026 18:21
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit 25e39c7
🔍 Latest deploy log https://app.netlify.com/projects/bloom-exygy-dev/deploys/6a4fe64904795244bb6507ef
😎 Deploy Preview https://deploy-preview-6490--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit adee385
🔍 Latest deploy log https://app.netlify.com/projects/bloom-exygy-dev/deploys/6a4fe6929ad1c00008dca1c8
😎 Deploy Preview https://deploy-preview-6490--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

ReviewOrderTypeEnum,
} from '@prisma/client';
import { S3Service } from '../../../src/services/s3.service';
import { HttpService } from '@nestjs/axios';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nitpick: moving the import out of order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 review needed Requires 1 more review before ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants