Skip to content

fix(agy): sync provider account changes with Auth Center - #9945

Merged
allenxu09 merged 1 commit into
farion1231:mainfrom
MarioJames:fix/agy-account-sync
Nov 25, 2026
Merged

allenxu09 merged 1 commit into
farion1231:mainfrom
MarioJames:fix/agy-account-sync

Conversation

@MarioJames

@MarioJames MarioJames commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Human Note / 本人说明

修复 antigravity 供应商切换与授权中心不同步且只受授权中心控制问题

Summary / 概述

  • Saving a new or changed account binding on an official Antigravity card switches the native agy sign-in through the same account manager as Auth Center. If the switch fails, the provider save is rolled back.
  • Provider cards, the account picker, and Auth Center refresh from the same live sign-in. Cards that follow the current login show the active account, and pinned cards retain their launch account when another account is activated.
  • Copying a provider preserves its launch profile without activating the copied account. Opening a bound card still switches to its account for new agy sessions.

Related Issue / 关联 Issue

Reported directly by a user.

Verification / 验证

  • Chromium exercised the production React components with fixture Tauri IPC for provider save, Auth Center switch-back, terminal-launch refresh, running warnings, and failure recovery.
  • Linux Secret Service create/read/update round trip with an isolated keyring.
  • cargo test --locked --lib agy -- --test-threads=1: 158 passed, including synthetic-account regressions for native login changes and provider rollback.
  • All 228 Rust integration tests and 4,473 frontend unit tests passed locally.

Checklist / 检查清单

  • TypeScript type check (bun check with equivalent path aliases in a temporary config)
  • pnpm format:check
  • pnpm test:unit
  • pnpm build:renderer
  • cargo fmt --check and cargo clippy --all-targets -- -D warnings
  • Updated all eight locale files

@github-actions github-actions Bot added frontend Frontend (React/TypeScript) backend Backend (Rust/Tauri) i18n Internationalization (zh/en/ja) labels Nov 24, 2026
@allenxu09
allenxu09 merged commit 358da7a into farion1231:main Nov 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend (Rust/Tauri) frontend Frontend (React/TypeScript) i18n Internationalization (zh/en/ja)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants