Skip to content

fix(aigateway): isolate async model cache writes from list mutations#1015

Merged
HaiHui886 merged 1 commit intomainfrom
sync_mr_2439_d9a2df0
Apr 21, 2026
Merged

fix(aigateway): isolate async model cache writes from list mutations#1015
HaiHui886 merged 1 commit intomainfrom
sync_mr_2439_d9a2df0

Conversation

@csg-pr-bot
Copy link
Copy Markdown
Collaborator

Summary:

  • Isolated asynchronous model cache writes from list mutations to prevent data inconsistency when model IDs are modified during pagination and formatting.
  • Introduced a snapshot copy for model caching, including additional fields like Metadata and IsPinned, and adjusted the cache write key to FormatModelID.

@csg-pr-bot
Copy link
Copy Markdown
Collaborator Author

Depends on #1014

Copy link
Copy Markdown
Collaborator

@HaiHui886 HaiHui886 left a comment

Choose a reason for hiding this comment

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

lgtm

@HaiHui886 HaiHui886 merged commit 0cfe905 into main Apr 21, 2026
7 checks passed
@HaiHui886 HaiHui886 deleted the sync_mr_2439_d9a2df0 branch April 21, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants