docs(rfc): propose shared platform errors#414
Closed
albertywu wants to merge 1 commit into
Closed
Conversation
albertywu
force-pushed
the
wua/platform-error-classification-rfc
branch
2 times, most recently
from
July 21, 2026 23:26
9d8b9f8 to
e18feec
Compare
albertywu
marked this pull request as ready for review
July 22, 2026 00:05
albertywu
force-pushed
the
wua/platform-error-classification-rfc
branch
from
July 22, 2026 03:55
e18feec to
e39b834
Compare
Summary: Define stable platform error identities for conditions with common semantics across domains. Keep error identity separate from retry classification, use platform errors directly rather than through domain aliases, and illustrate the distinction with ErrVersionMismatch and ErrNotFound. Test Plan: - make fmt - make lint - make check-tidy - make check-gazelle Revert Plan: Revert this commit. API Changes: N/A Monitoring and Alerts: N/A
albertywu
force-pushed
the
wua/platform-error-classification-rfc
branch
from
July 22, 2026 04:33
e39b834 to
ef3e591
Compare
Contributor
Author
|
After exploring a bit I'm coming back in favor of status quo -- classifying errors as retry-able in the controller logic itself vs relying on platform alternatives and duplicating classifiers across services. Closing out these PRs, don't think it's necessary. Status quo pattern: storage / extension layers return domain-specific errors, and controller logic classifies as retry-able when returning errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Define stable platform error identities for conditions with common semantics across domains. Keep error identity separate from retry classification, use platform errors directly rather than through domain aliases, and illustrate the distinction with ErrVersionMismatch and ErrNotFound.
Stack