Repository navigation
fix(plugins): 保留已安装清单与 relay 刷新的错误诊断 - #2461
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
1 task done
devin-ai-integration
Bot
requested review from
1lck,
Mucheen and
xiaoyumuxi
as code owners
November 27, 2026 05:09
Contributor
Author
There was a problem hiding this comment.
🔍 Devin Review: 2 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
关联 Issue / Linked issue
Closes #2364
PR 类型 / Type
改动说明 / What changes
背景 / Why
已安装列表无界读取插件清单,并丢弃审批、读取与解码错误。工作区刷新也会丢弃函数转发的库存和同步错误,清单损坏时无法从诊断判断具体失败原因。
改动 / Changes
pluginFunctions的合法清单正常跳过。不在本 PR 范围内 / Out of scope
Core 契约、SDK、已发布插件及原生 UI 工作流验收。
类型专属:fix
复现与根因
8e2e6ef1b。合成损坏清单和审批记录,或注入 relay 配置错误。修复前已安装列表的诊断为空,relay 返回的错误只包含配置错误,工作区观察者没有报出 relay 失败。预期列表保留基础行且错误可诊断,健康 relay 声明仍可同步。git log -S将受影响的整文件读取、布尔式 JSON 判定和错误丢弃追溯到 Viva 迁移提交0faecba49(Epic(0.7.0): 基于 Viva 框架的跨平台方案的迁移(#1794) #1799)。检查项
activation_test.go的基线结果是缺少坏清单的 JSON 错误、观察者等待诊断超时。plugins_test.go的基线结果是inventory diagnostics = []。范围检查 / Scope checks
dev.lithe.test.*ID。宿主零依赖自查无命中。app.background.operation_failed。合并单次刷新中的错误,纯取消走已有日志豁免规则。Core 日志目录集成测试通过。验证 / Verification
desktop-go.sh test -tags vivahead定向运行pluginpkg、pluginservice、workbench和 Core 日志目录测试go test -race -tags 'dev vivahead'desktop-go.sh test ./... -count=1与scripts/desktop/check.shTestShellSeesItsDirectoryAsTheHostSpelledIt失败,输出在换行写入前被读取。该包与 main 基线一致,基线单项 30 次和整包复核均通过,修复分支单项复跑通过。标准检查后段的 dev 标签包单独运行并全部通过61c1f1fff的三平台、远程服务器和门禁共 12 项检查全部通过未能执行的检查和原因:Linux 环境无法做 macOS 和 Windows 原生窗口验收。两平台自动化 CI 在 Ready 后触发。
提交前确认 / Final checks
origin/main创建独立分支,目标为main。Link to Devin session: https://app.devin.ai/sessions/e22460c6af3244f4829a6dd10b0d5373
Open in Devin Desktop: https://app.devin.ai/desktop/session/e22460c6af3244f4829a6dd10b0d5373?variant=devin
Requested by: @1lck