Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Conversation

@aataraxiaa
Copy link
Contributor

@aataraxiaa aataraxiaa commented Aug 12, 2024

Task/Issue URL: https://app.asana.com/0/1206488453854252/1207802624568506/f

Description: The PIR v3 migration can fail at three points:

  1. Orphaned Record Cleanup
  2. Table Recreation
  3. Final Foreign Key Violation Check

Currently, we throw an explicit error for #3, which is observable via Pixels. We should also throw explicit errors for #1 and #2. This PR adds these new errors.

Steps to test this PR:

  1. N/A - This simply throws explicit errors for existing possible error paths

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Contributor

@THISISDINOSAUR THISISDINOSAUR left a comment

Choose a reason for hiding this comment

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

LGTM!

@aataraxiaa aataraxiaa merged commit 6001f25 into main Aug 13, 2024
@aataraxiaa aataraxiaa deleted the pete/pir-db-migration-explicit-errors branch August 13, 2024 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants