Skip to content

docs(rfc): propose shared platform errors#414

Closed
albertywu wants to merge 1 commit into
mainfrom
wua/platform-error-classification-rfc
Closed

docs(rfc): propose shared platform errors#414
albertywu wants to merge 1 commit into
mainfrom
wua/platform-error-classification-rfc

Conversation

@albertywu

@albertywu albertywu commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

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

  1. @ docs(rfc): propose shared platform errors #414
  2. feat(errs): share cross-domain error identities #421

Comment thread doc/rfc/error-classification.md Outdated
Comment thread doc/rfc/error-classification.md Outdated
Comment thread doc/rfc/error-classification.md Outdated
@albertywu
albertywu force-pushed the wua/platform-error-classification-rfc branch 2 times, most recently from 9d8b9f8 to e18feec Compare July 21, 2026 23:26
@albertywu
albertywu requested a review from behinddwalls July 21, 2026 23:26
@albertywu
albertywu marked this pull request as ready for review July 22, 2026 00:05
@albertywu
albertywu requested review from a team and sbalabanov as code owners July 22, 2026 00:05
@albertywu
albertywu force-pushed the wua/platform-error-classification-rfc branch from e18feec to e39b834 Compare July 22, 2026 03:55
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
albertywu force-pushed the wua/platform-error-classification-rfc branch from e39b834 to ef3e591 Compare July 22, 2026 04:33
@albertywu albertywu changed the title docs(rfc): propose platform error classification docs(rfc): propose shared platform errors Jul 22, 2026
@albertywu

Copy link
Copy Markdown
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.

@albertywu albertywu closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants