fix(platform-server): Warn user when transfer state happens more than… by kirjs · Pull Request #58935 · angular/angular · GitHub
Skip to content

fix(platform-server): Warn user when transfer state happens more than… - #58935

Closed
kirjs wants to merge 1 commit into
angular:mainfrom
kirjs:platform-server-warn-double-state
Closed

kirjs wants to merge 1 commit into
angular:mainfrom
kirjs:platform-server-warn-double-state

Conversation

@kirjs

@kirjs kirjs commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

… once

This can happen if server providers are provided more than twice. We detect it on the state transfer phase by flagging app id as transferred in a set.

@pullapprove
pullapprove Bot requested a review from alxhub November 27, 2024 16:32
@pkozlowski-opensource pkozlowski-opensource added the area: server Issues related to server-side rendering label Nov 27, 2024
@ngbot ngbot Bot added this to the Backlog milestone Nov 27, 2024
@kirjs
kirjs force-pushed the platform-server-warn-double-state branch from c704f43 to 29e5d48 Compare November 27, 2024 18:44
Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/test/integration_spec.ts Outdated
Comment thread packages/platform-server/test/integration_spec.ts Outdated
@AndrewKushnir

Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: patch This PR is targeted for the next patch release labels Nov 27, 2024
@AndrewKushnir
AndrewKushnir removed the request for review from alxhub November 27, 2024 20:21
@kirjs
kirjs force-pushed the platform-server-warn-double-state branch from 29e5d48 to f3a5cd6 Compare December 2, 2024 18:47
@angular-robot angular-robot Bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels Dec 2, 2024
Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/src/transfer_state.ts Outdated
@kirjs
kirjs force-pushed the platform-server-warn-double-state branch 2 times, most recently from 1448c6c to ba291c7 Compare December 3, 2024 14:44

@AndrewKushnir AndrewKushnir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple minor comments.

Comment thread packages/platform-server/src/transfer_state.ts Outdated
Comment thread packages/platform-server/src/transfer_state.ts Outdated
@AndrewKushnir

Copy link
Copy Markdown
Contributor

@kirjs could you please also merge all commits into one? The other 2 commits look mostly as addressing feedback vs independent commits that worth having in commit history.

… once

This can happen if server providers are provided more than twice. We detect it on the state transfer phase by flagging app id as transferred in a set.

Resolves angular#58531
@kirjs
kirjs force-pushed the platform-server-warn-double-state branch from ba291c7 to 53d3ff7 Compare December 4, 2024 18:41
@angular-robot angular-robot Bot removed the area: docs Related to the documentation label Dec 4, 2024
@angular-robot
angular-robot Bot requested a review from AndrewKushnir December 4, 2024 18:42
@AndrewKushnir AndrewKushnir added action: presubmit The PR is in need of a google3 presubmit and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Dec 4, 2024
@kirjs kirjs added the action: merge The PR is ready for merge by the caretaker label Dec 11, 2024
@AndrewKushnir AndrewKushnir removed the action: presubmit The PR is in need of a google3 presubmit label Dec 11, 2024
@AndrewKushnir

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 300b141.

The changes were merged into the following branches: main, 19.0.x

AndrewKushnir pushed a commit that referenced this pull request Dec 12, 2024
… once (#58935)

This can happen if server providers are provided more than twice. We detect it on the state transfer phase by flagging app id as transferred in a set.

Resolves #58531

PR Close #58935
@angular-automatic-lock-bot

Copy link
Copy Markdown

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jan 12, 2025
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
… once (angular#58935)

This can happen if server providers are provided more than twice. We detect it on the state transfer phase by flagging app id as transferred in a set.

Resolves angular#58531

PR Close angular#58935
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: docs-infra Angular.dev application and infrastructure area: server Issues related to server-side rendering target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants