Skip to content

test(diagnostics): 在宿主日志夹具中使用合成插件 ID(#195) - #206

Merged
1lck merged 1 commit into
mainfrom
devin/1795749609-195-synthetic-diagnostics
Nov 27, 2026
Merged

1lck merged 1 commit into
mainfrom
devin/1795749609-195-synthetic-diagnostics

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Closes #195

Summary

engine-logging-v2.json 的六个宿主操作样例按角色使用 dev.lithe.test.language-server、dev.lithe.test.debug-adapter 和 dev.lithe.test.build-provider。四个会生成日志的样例同步更新了预期的 plugins/<ID>/host 通道。

现有 Rust 断言从夹具读取期望值,已覆盖实际生成的事件、通道和错误码,以及两个非法输入的拒绝码 -32064。修前复现步骤与结果

验证

  • 在 Linux x86_64、Rust 1.100.0 上按 CI 的 feature 组合运行 cargo test --locked --manifest-path rust/Cargo.toml --workspace --features lithe-remote/server,lithe-remote/motty,lithe-ide-host/mcp,2786 项通过,含 diagnostics、core dispatcher 和 lsp-engine 三处共享夹具测试。本地测试进程移除了环境自带的交互式 Git 编辑器覆盖。
  • 对比修复前后的 JSON,确认仅六个输入 ID 和四个预期通道发生变化。格式、日志事件目录、平台测试放置、注释检查及 Linux / Windows 目标 Clippy 均通过。

Link to Devin session: https://app.devin.ai/sessions/013e236abfb140acaed6d00c88f6e3d7
Open in Devin Desktop: https://app.devin.ai/desktop/session/013e236abfb140acaed6d00c88f6e3d7?variant=devin
Requested by: @1lck

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@1lck
1lck merged commit 97371a1 into main Nov 27, 2026
12 checks passed
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.

[Refactor] Replace concrete product plugin IDs in engine-logging-v2 fixture with synthetic IDs

1 participant