fix(frontend): ignore stale account grants - #2691
Merged
openai0229 merged 199 commits intoSep 3, 2026
Merged
Conversation
…#2511) persistToDisk wrote directly via objectMapper.writeValue(storagePath.toFile(), data) — Jackson truncates then streams; a crash/disk-full mid-write left the file empty/corrupt, permanently losing all encrypted API keys. Write to a temp file then Files.move (atomic rename, with fallback), same pattern as SmallDataStorage.saveDataList(). Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: liuhy <liuhongyu@apache.org>
…erMind#2541) The unmount cleanup called setCurrentFrame(0), triggering a React state update on an unmounted component. The reset is unnecessary since the component is about to disappear. Remove it; keep clearInterval and isPlaying.current = false. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: liuhy <liuhongyu@apache.org>
…mount-setstate-2541
…tension-points # Conflicts: # chat2db-community-client/src/edition-ui/types.ts
HandSonic
force-pushed
the
fix/account-grants-latest-request
branch
from
August 12, 2026 16:48
02ec4bd to
5046a13
Compare
…tension-points # Conflicts: # chat2db-community-client/src/blocks/RedisAllData/index.tsx
…tension-points # Conflicts: # chat2db-community-client/package.json # chat2db-community-client/scripts/i18n-source-hashes.json # chat2db-community-client/src/blocks/AI/index.tsx # chat2db-community-client/src/blocks/NewTree/components/TreeDropdown/index.tsx # chat2db-community-client/src/blocks/NewTree/hooks/useCreateRightClickMenu.tsx # chat2db-community-client/src/blocks/NewTree/menuConfig.tsx # chat2db-community-client/src/components/SQLEditor/editor/SQLEditorWithOperation/index.tsx # chat2db-community-client/src/components/SelectBoundInfo/index.tsx # chat2db-community-client/src/hooks/useStreamChatAI.ts # chat2db-community-client/src/service/magicStick.ts # chat2db-community-client/src/store/tree/index.tsx
Constraint: Preserve existing PR behavior while refreshing the merge base Confidence: high Scope-risk: narrow
…-column-2571 feat(mysql): invisible column management for MySQL 8.0.23+
…edit-actions fix(result): stabilize sorting and edit actions
…active-transaction-2595 # Conflicts: # chat2db-community-client/package.json
…-theme-accent fix(workspace): smooth panel resizing and restore theme accents
…ansaction-2595 feat(mysql): active InnoDB transaction inspection (OtterMind#2595)
…-expiration fix(redis): persist no-expiration TTL updates
# Conflicts: # chat2db-community-client/package.json # chat2db-community-client/src/pages/main/workspace/components/WorkspaceExtend/GlobalExtendComponents/accountGrantsRequest.test.ts # chat2db-community-client/src/pages/main/workspace/components/WorkspaceExtend/GlobalExtendComponents/accountGrantsRequest.ts
openai0229
previously approved these changes
Sep 3, 2026
openai0229
left a comment
Contributor
There was a problem hiding this comment.
已修复并复测账号 grants loading 中的旧权限错配:新账号请求开始时立即清空旧 grants,同时保留旧响应过滤、最新 loading、失败和卸载保护。专项测试、ESLint/Stylelint、Community production build、后端 package 48/48 及 Playwright 真实账号延迟场景均通过。
HandSonic
dismissed
openai0229’s stale review
September 3, 2026 12:07
The merge-base changed after approval.
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.
Summary
Validation