Skip to content

fix(cleanup): 审计收口第四波——pending pop 原子化 / decision-loop 删除 / locale 漂移 - #2152

Merged
DeliciousBuding merged 2 commits into
masterfrom
chore/cleanup-round-10
Aug 31, 2026
Merged

fix(cleanup): 审计收口第四波——pending pop 原子化 / decision-loop 删除 / locale 漂移#2152
DeliciousBuding merged 2 commits into
masterfrom
chore/cleanup-round-10

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

四个审计 lane 的剩余高价值切片:\n\n## 做什么\n- hub:pending 队列 pop 改 Lua 原子 drain+clear(修 push 落在 LRange+Del 窗口被静默删除的丢任务窗口,补回归测试);agentprofile.Install 重复检查错误不再被吞\n- edge:删除生产零接线的 decision_loop 族(decision_loop.go 488 行 + approval_metrics_adapter + WithDecisionLoop + wrap 分支 + 死指标 edge_approval_decisions_total),生产审批仍走 orchestrator/plan_approval\n- i18n#2099 三切片):thread 译法统一「会话」;15 个零消费者 toast 死键清理;zh 英文残留修正;标点补齐\n- bench:补回 #2107 关闭时遗漏的 bus/cache/outbox 热区微基准(与 #2086 已合基准去重)\n\n## 验证\n- hub golangci-lint 0 issues + go test ./... -short -count=1 全绿\n- edge go test ./edge-server/... -short -count=1 全绿(lifecycle/metrics 含删除面回归)\n- desktop locales.test 5 通过;web common.test 5 通过\n- 合并后关 #2099

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 084102f1-ecfa-4e6a-a8ca-f0b88dcd04fb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

DeliciousBuding and others added 2 commits September 1, 2026 03:07
Co-authored-by: Cursor <cursor@vectorcontrol.tech>
(cherry picked from commit fa94036)
… 漂移修复

- hub: PopPendingTasks/PopPendingAgentControls 改用 Lua EVAL 原子 drain+clear(修 LRange+Del 窗口丢任务,#2136 P3-5)+ 回归测试;agentprofile.Install 传播重复检查错误(DB 抖动不再放行重复安装,#2136 P3-2)
- edge: 删除生产不可达 decision_loop 族 514 行(decision_loop/approval_metrics_adapter/WithDecisionLoop/wrap 分支/edge_approval_decisions_total 死指标)
- i18n #2099:thread 统一译作「会话」(web 3 键 + desktop 8 键);删除两端 15 个零消费者 toast 死键;zh 残留英文串修正(mock 会话/catalog fallback/WS·Hub 断开占位);tokenDanceUnavailable 补句号
- test: cherry-pick 被 #2107 关闭时遗漏的 bus/cache/outbox 热区微基准(去重后保留 7 个独有 benchmark)

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
@DeliciousBuding
DeliciousBuding merged commit ddd46d1 into master Aug 31, 2026
45 checks passed
@DeliciousBuding
DeliciousBuding deleted the chore/cleanup-round-10 branch August 31, 2026 19:18
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.

1 participant