JVNAUTOSCI-2689: Recover stale multi-org tabs after restart - #474
Merged
Conversation
JVNAUTOSCI-2689
|
|
||
| def load_owned( | ||
| self, window_session_id: str, user_id: str | ||
| ) -> PersistedWindowSessionBinding | None: ... |
|
|
||
| def load_for_mutation( | ||
| self, window_session_id: str | ||
| ) -> PersistedWindowSessionBinding | None: ... |
| user_id: str, | ||
| organisation_concept_id: str | None, | ||
| scope_kind: str, | ||
| ) -> PersistedWindowSessionBinding: ... |
| scope_kind: str, | ||
| ) -> PersistedWindowSessionBinding: ... | ||
|
|
||
| def touch_owned(self, window_session_id: str, user_id: str) -> bool: ... |
|
|
||
| def touch_owned(self, window_session_id: str, user_id: str) -> bool: ... | ||
|
|
||
| def delete_owned(self, window_session_id: str, user_id: str) -> bool: ... |
|
|
||
| def delete_owned_for_organisation( | ||
| self, user_id: str, organisation_concept_id: str | ||
| ) -> int: ... |
| self, user_id: str, organisation_concept_id: str | ||
| ) -> int: ... | ||
|
|
||
| def delete_all_owned(self, user_id: str) -> int: ... |
| token = _SCOPE_COORDINATION_STACK.set((*stack, resource_key)) | ||
| try: | ||
| yield | ||
| except BaseException as exc: |
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.
User outcome
An authenticated user can keep simultaneous tabs in Personal, Org A, and Org B across a one-server process restart. An already-open pre-upgrade tab can recover from its exact actor-owned conversation and submit once, without inheriting another tab's organisation or losing/duplicating the prompt.
Jira: JVNAUTOSCI-2689
Causal repair
Validation
Delivery decision
Merge decision does not change: the candidate satisfies the issue's bounded recovery and isolation claim and no stop-ship condition is demonstrated.
This does not quantify live Atlas capacity for tens of simultaneous users. Strict window-bound requests add one indexed durable binding lookup, and same actor/org cold recovery may wait up to three seconds for an in-flight membership change. Those are non-blocking measurements for operational load testing, not evidence of a correctness regression.
No deployment, runtime restart, or Sol-family model request is included.