Skip to content

Datastore Extraction: Create DatastoreError type#2798

Merged
cloutiertyler merged 7 commits into
masterfrom
tyler/datastore-error
May 28, 2025
Merged

Datastore Extraction: Create DatastoreError type#2798
cloutiertyler merged 7 commits into
masterfrom
tyler/datastore-error

Conversation

@cloutiertyler

@cloutiertyler cloutiertyler commented May 27, 2025

Copy link
Copy Markdown
Contributor

Description of Changes

This PR splits out a DatastoreError type from DBError. This is necessary for Datastore extraction because DBError references a hair mess of things in the relational db and elsewhere. This also gives the datastore a cleaner API with a clearer set of errors that it can produce.

NOTE: This is based off of #2795

API and ABI breaking changes

None

Expected complexity level and risk

2, this is in principle a non-functional change, but it's larger so a semantic mistake could be made. Also I can't imagine that this won't also require a private PR.

Testing

None yet. Need to check in on private.

@cloutiertyler cloutiertyler requested a review from Centril May 27, 2025 01:55
@cloutiertyler cloutiertyler changed the base branch from master to tyler/st-varname-refactor May 27, 2025 01:56
@cloutiertyler

Copy link
Copy Markdown
Contributor Author

Looks like internal checks passed actually

@Centril Centril left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Neat!

@bfops bfops added the release-any Can land in any release window. Will not block a release deployment. label May 27, 2025
cloutiertyler and others added 2 commits May 27, 2025 21:50
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
@cloutiertyler cloutiertyler force-pushed the tyler/datastore-error branch from 6fc5b02 to f4910d6 Compare May 28, 2025 01:51
@cloutiertyler cloutiertyler changed the base branch from tyler/st-varname-refactor to master May 28, 2025 02:44
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
@cloutiertyler cloutiertyler enabled auto-merge May 28, 2025 02:46
@cloutiertyler cloutiertyler added this pull request to the merge queue May 28, 2025
Merged via the queue into master with commit 71f48ff May 28, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any Can land in any release window. Will not block a release deployment.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants