[ENG-3723] feat: add resubscribeInstallation operation - #406
Draft
jlimatampersand wants to merge 1 commit into
Draft
jlimatampersand wants to merge 1 commit into
jlimatampersand wants to merge 1 commit into
Conversation
Restarts subscription setup for an installation whose subscription never finished setting up, typically after the consumer reauthenticated and repaired the credential that broke it. The work runs asynchronously and the response carries no body; callers follow it through the installation's operations. A no-op still returns 200, so the React library can call this after every reauthentication without inspecting state first. Server side is amp-labs/server#7297. Co-Authored-By: Claude Opus 5 <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.
What this PR does
Adds the
:resubscribeoperation, which restarts subscribe setup for an installation after the consumer reauthenticates.The work runs asynchronously and the response carries no body — callers follow it through the installation's operations. A no-op still returns 200, so the React library can call it after every reauthentication without inspecting subscription state first.
Needs to merge before the React client can be regenerated. Server side is amp-labs/server#7297.