Repository navigation
fix(panel,db): align PG pre-agg metrics, async reprice, query shapes, N+1, locks, and cache invalidation #2460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
9c6c50c
fix(panel,db): align PG pre-agg metrics, async reprice, query shapes,…
dofastted 1f05db6
chore(merge): merge origin/dev into #2460 and keep publicRoutingConfi…
dofastted 00314a5
test(usage-logs): record client.query calls from pool.connect() in re…
dofastted ae85938
fix(panel): restore POST /api/panel/dataplane and /api/panel/wrap-cli…
dofastted File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Agentic Security Review
Severity: MEDIUM
PostgreSQL 下
SettingsRepo.get把{found, value}写入entity:setting:<rawKey>,与已有的readCachedSettingSync/readCachedSettingAsync/ distill 读取器共享同一键,但那些读取器写入的是{value}或{__missing: true}。热路径先填充缓存后,后续
SettingsRepo.get会因!entry.found误判为 miss 并返回 fallback。jevInterceptSnapshot与applyJevPatch走这条路,面板 GET 可能展示默认/空策略,PUT 会按默认值 merge 后settings.set持久化,从而擦掉已配置的 JEV intercept / refusal 等安全控制。Impact: 在 PG + EntityCache 开启时,安全策略可被误读为默认并被管理端写回库,导致 intercept/refusal 等控制失效。
Reviewed by Cursor Security Reviewer for commit ae85938. Configure here.