You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit improves the foundational `types` package by consolidating
documentation and adding a safer default enum value in preparation for
the new `FlowController` implementation. It also removes concepts
related to displacement, which are out of scope for the initial
release.
Key changes:
- The package-level `README.md` has been removed. Its content is now
in a comprehensive GoDoc package comment in `doc.go`. This addresses
reviewer feedback to co-locate documentation with the code it
describes, reducing maintenance burden and preventing doc drift.
- The package documentation has been rewritten to tell a clearer
architectural narrative, explaining the request lifecycle through
the lens of the `EnqueueAndWait` model.
- The `ErrDisplaced` error and `QueueOutcomeEvictedDisplaced` outcome
have been removed to align the types with the GA feature set.
- A new `QueueOutcomeNotYetFinalized` enum value has been added. This
serves as a safer, explicit zero-value for the `QueueOutcome` type,
which is used by the new `ShardProcessor` to represent the initial
state of a request before its lifecycle is complete.
0 commit comments