-
Notifications
You must be signed in to change notification settings - Fork 60
How to Review and Test Pull Requests for Dependabot
shanice-skylight edited this page Jun 12, 2024
·
2 revisions
Prerequisite - These instructions assume you have reviewed the procedures for deploying in order to deploy code to a dev or test environment (See Reference: https://github.com/CDCgov/prime-simplereport/wiki/Deploy)
- Select the Pull Request(PR) Dependabot created
![Screenshot 2024-06-11 at 12 08 59 PM](https://private-user-images.githubusercontent.com/150187231/338663233-cb0f4a91-0230-413b-80bf-ebab25ce4d0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODc0ODgsIm5iZiI6MTczOTE4NzE4OCwicGF0aCI6Ii8xNTAxODcyMzEvMzM4NjYzMjMzLWNiMGY0YTkxLTAyMzAtNDEzYi04MGJmLWViYWIyNWNlNGQwYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxMTMzMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YWIxNTUxNzhkYTY5MjI2MmZiMWE2MWUwMjE3ODYwMjg2ZWVlZmM2NzYyODVmYzA1MjFkYTYzM2Q2ODk2NzgwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1gc7ulj7MvsFglIX6cZ1OTN2Bq9g34ph58eWqb73qx4)
- For the package identified in the PR, verify that this package is present within the codebase.
![Screenshot 2024-06-11 at 12 10 01 PM](https://private-user-images.githubusercontent.com/150187231/338663538-feda84ca-938a-41fc-b054-2fca024ae1ac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODc0ODgsIm5iZiI6MTczOTE4NzE4OCwicGF0aCI6Ii8xNTAxODcyMzEvMzM4NjYzNTM4LWZlZGE4NGNhLTkzOGEtNDFmYy1iMDU0LTJmY2EwMjRhZTFhYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxMTMzMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NTYxODY2NGU4M2MzNjU4Y2IzMGExNGZmZWJmMzFhOGZmOTIwYWZlMzU0YTFlYTM5NjQyOWQ2N2Y2MWE5NDdiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.BMOF723VotrzuouWN0TsPY1P2nzauM8bnALMdvs6weE)
-
Deploy the PR code to a dev or test environment
-
Complete the following tests identified in this Bug bash document (https://docs.google.com/document/d/16cfE6gsslhcgvH3-Gi9LfkL85FQ-hEMPBkpLzR9dWWw/edit#heading=h.x3o4nsu2ptqi)
-
If any of the Github actions tests or Bug bash test have failed, this PR is not ready for deployment and should be troubleshooted and fixed.
-
In the event the dependabot PR gets stuck complete the following steps:
- Delete the branch
- Restore the branch
- Reopen the Pull Request
- This will trigger the Github actions test to re run.
- Complete the PR review
- Getting Started
- [Setup] Docker and docker compose development
- [Setup] IntelliJ run configurations
- [Setup] Running DB outside of Docker (optional)
- [Setup] Running nginx locally (optional)
- [Setup] Running outside of docker
- Accessing and testing weird parts of the app on local dev
- Accessing patient experience in local dev
- API Testing with Insomnia
- Cypress
- How to run e2e locally for development
- E2E tests
- Database maintenance
- MailHog
- Running tests
- SendGrid
- Setting up okta
- Sonar
- Storybook and Chromatic
- Twilio
- User roles
- Wiremock
- CSV Uploader
- Log local DB queries
- Code review and PR conventions
- SimpleReport Style Guide
- How to Review and Test Pull Requests for Dependabot
- How to Review and Test Pull Requests with Terraform Changes
- SimpleReport Deployment Process
- Adding a Developer
- Removing a developer
- Non-deterministic test tracker
- Alert Response - When You Know What is Wrong
- What to Do When You Have No Idea What is Wrong
- Main Branch Status
- Maintenance Mode
- Swapping Slots
- Monitoring
- Container Debugging
- Debugging the ReportStream Uploader
- Renew Azure Service Principal Credentials
- Releasing Changelog Locks
- Muting Alerts
- Architectural Decision Records
- Backend Stack Overview
- Frontend Overview
- Cloud Architecture
- Cloud Environments
- Database ERD
- External IDs
- GraphQL Flow
- Hibernate Lazy fetching and nested models
- Identity Verification (Experian)
- Spring Profile Management
- SR Result bulk uploader device validation logic
- Test Metadata and how we store it
- TestOrder vs TestEvent
- ReportStream Integration
- Feature Flag Setup
- FHIR Resources
- FHIR Conversions
- Okta E2E Integration
- Deploy Application Action
- Slack notifications for support escalations
- Creating a New Environment Within a Resource Group
- How to Add and Use Environment Variables in Azure
- Web Application Firewall (WAF) Troubleshooting and Maintenance
- How to Review and Test Pull Requests with Terraform Changes