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

B-22306/B-22307 int deleted documents use db function #14774

Open
wants to merge 26 commits into
base: integrationTesting
Choose a base branch
from

Conversation

r-mettler
Copy link
Contributor

@r-mettler r-mettler commented Feb 7, 2025

B-22306

B-22307

Summary

This PR contains B-22306 and B-22307. Previously the method used a Pop query that when called with includeDeletedDocs the query would sometimes fail to find an alias to the documents table and throw an error. Other cases the method would cause errors when trying to retrieve documents because it was retrieving files that were soft deleted (had a date in the deleted_at field). These backlogs introduce a new database function to retrieve only documents that have not been soft deleted.

Is there anything you would like reviewers to give additional scrutiny?

Verification Steps for the Author

These are to be checked by the author.

  • Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
  • Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers

These are to be checked by a reviewer.

  • Has the branch been pulled in and checked out?
  • Have the BL acceptance criteria been met for this change?
  • Was the CircleCI build successful?
  • Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

How to test

Upload and delete every document you can and make sure it doesn't throw an error. Also create and delete things like moving expenses, weight tickets, and pro gear documents after you have uploaded documents and when you have not uploaded documents. Do this from the Customer and Office apps.

Make sure you can download an AOA packet and Payment Packet for PPMs as customer and office user.

Frontend

  • There are no aXe warnings for UI.
  • This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
  • There are no new console errors in the browser devtools.
  • There are no new console errors in the test output.
  • If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
  • This change meets the standards for Section 508 compliance.

Backend

Database

Any new migrations/schema changes:

  • Follows our guidelines for Zero-Downtime Deploys.
  • Have been communicated to #g-database.
  • Secure migrations have been tested following the instructions in our docs.

Screenshots

danieljordan-caci and others added 26 commits February 5, 2025 08:08
B-20536 add queue management tracking to move history
enable server test 99% but allows to fail, force client on all PR, se…
B-21583 - update code to calculate gbloc for AK
@r-mettler r-mettler added Scrummy Bears Scrum Team H INTEGRATION Slated for Integration Testing labels Feb 7, 2025
@r-mettler r-mettler self-assigned this Feb 7, 2025
@r-mettler r-mettler requested review from a team as code owners February 7, 2025 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INTEGRATION Slated for Integration Testing Scrummy Bears Scrum Team H
Development

Successfully merging this pull request may close these issues.

6 participants