Register error code 103009 for push not enabled on a cluster - #358
Open
lmars wants to merge 1 commit into
Open
Conversation
A dedicated cluster provisioned without push has no push queues, so every push publish fails at enqueue. Until now that surfaced as a generic 50000 internal error, which gives the reader nothing to act on even though the fix is a simple one: ask Ably to enable push on the cluster. 103009 says that, and its message names support directly so the reader doesn't have to reach the docs to find out what to do. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Registers
103009/push_not_enabled_for_cluster, plus the regeneratedprotocol/errors.json.Why
A dedicated cluster provisioned without push has no push queues, so every push publish fails at enqueue. Today that reaches the customer as a bare
50000"Failed to send message to queue", which gives them nothing to act on. This came up in an internal thread, where a customer's publishes were failing and the underlying cause (NO_ROUTEfrom the broker, because the push queues weren't declared) was only visible to us in our own logs.The answer in that situation is always the same and only Ably can act on it, so the code says so, and its message names support directly rather than making the reader reach the docs to find out what to do.
The entry
[meta]log:pushfor channel-triggered pushes, where the publisher gets no response to inspect.npm run validate:errorspasses andprotocol/errors.jsonwas regenerated withnpm run generate:errors(no hand edits).Related
The realtime side is a separate change on a branch of the same name, which returns 103009 wherever it can tell push isn't available (a broker
NO_ROUTE, no push queue keys, no push queue URLs in any region, and no AMQP hosts in Go's frontdoor). Publishing the page to ably.com/docs needs a follow-up PR againstably/docsto bump the submodule and regenerate.🤖 Generated with Claude Code