Skip to content

feat: add ERROR_REASON_DATASTORE_NOT_MIGRATED error code#159

Merged
josephschorr merged 1 commit into
authzed:mainfrom
ivanauth:feat/error-reason-datastore-not-migrated
Jan 6, 2026
Merged

feat: add ERROR_REASON_DATASTORE_NOT_MIGRATED error code#159
josephschorr merged 1 commit into
authzed:mainfrom
ivanauth:feat/error-reason-datastore-not-migrated

Conversation

@ivanauth

@ivanauth ivanauth commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Adds a new error reason for when the datastore has not been migrated.

This is used in SpiceDB to provide a clear error when users haven't run spicedb datastore migrate.

Related: authzed/spicedb#2775

@ivanauth ivanauth changed the title Add ERROR_REASON_DATASTORE_NOT_MIGRATED error code Jan 5, 2026
ivanauth added a commit to ivanauth/spicedb that referenced this pull request Jan 5, 2026

@josephschorr josephschorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@tstirrat15 tstirrat15 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.

LGTM

@josephschorr

Copy link
Copy Markdown
Member

@ivanauth Make sure to regenerate github.com/authzed/authzed-go with these changes after its merged

@josephschorr josephschorr merged commit 56b25f0 into authzed:main Jan 6, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants