Repository navigation
Conversation
iiijiashu
marked this pull request as ready for review
October 2, 2026 04:48
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.
Switching accounts currently overwrites ZCode's installation device MID and RUM identity/session. It also generates a new device identity for OAuth. Preserve native state during cold, hot and already-active restores, read the current installation MID without caching, and reject explicitly expired saved JWTs before stopping ZCode or writing login files.
Renewal must retain the existing saved-login claim context: a limited read-only comparison of expired snapshots returned no eligibility with the installation MID but an available plan with the existing saved MID. Preview, activation and submission now use that same context without generating an identity or writing it into ZCode. Native captures/OAuth record the actual MID used, token archival retains the saved context, and encrypted bundles preserve the optional context while accepting older bundles.
Automatic claiming now resumes from the persisted enabled setting, retains due work while another operation is busy, runs serially and schedules its next round after completion. Closing the toggle immediately cancels future work. Each claim registers its waiter before verification starts and carries one request ID through submit/result/cancel/window-close; stale events cannot consume another attempt. Automatic interactive verification synchronously stops late SDK success callbacks before cancellation. SDK configuration is installed before loading, setup failures are bounded, and empty quota/failed eligibility are shown distinctly.
Validation on a clean branch based on upstream main:
The user confirmed on 2026-10-02 that the updated application runs normally and requested submission for review. This PR excludes the separate keepalive and refresh-performance work. That confirmation does not separately establish elimination of service-side 3012, hot reload, new OAuth authorization or the next eligible renewal window; those remain external acceptance boundaries.