Skip to content

docs(core): fix typos in ide notification comments - #6623

Merged
yiliang114 merged 2 commits into
QwenLM:mainfrom
chinesepowered:fix/typos-ide-comments
Jul 10, 2026
Merged

docs(core): fix typos in ide notification comments#6623
yiliang114 merged 2 commits into
QwenLM:mainfrom
chinesepowered:fix/typos-ide-comments

Conversation

@chinesepowered

Copy link
Copy Markdown
Contributor

What this PR does

Fixes two misspellings in the IdeDiffClosed backwards-compatibility comments in the core ide package: definededdefined and compatabilitycompatibility (appears in both types.ts and ide-client.ts).

Why it's needed

Small readability/correctness cleanup — defineded and compatability are clear typos in developer-facing comments. Comment-only; no code, types, or behavior are touched.

Reviewer Test Plan

How to verify

git diff shows only two comment lines changed. No runtime surface — comments do not affect compilation or behavior. npm run typecheck / npm run build are unaffected.

Evidence (Before & After)

N/A — comment-only change, nothing user-visible.

Tested on

OS Status
🍏 macOS N/A
🪟 Windows N/A
🐧 Linux N/A

Comment-only; no runtime behavior to test. CI typecheck/lint cover it on all three.

Environment (optional)

N/A

Risk & Scope

  • Main risk or tradeoff: None — comment-only.
  • Not validated / out of scope: N/A.
  • Breaking changes / migration notes: None.

Linked Issues

None.

中文说明

这个 PR 做了什么

修正 core ide 包中 IdeDiffClosed 向后兼容注释里的两个拼写错误:definededdefined,compatabilitycompatibility(出现在 types.tside-client.ts 两处)。

为什么需要

小的可读性/正确性清理 —— definededcompatability 是开发者注释中明显的拼写错误。仅改注释,不涉及任何代码、类型或行为。

审阅者测试计划

git diff 仅显示两行注释变更。注释不影响编译或行为,无运行时影响;typecheck / build 不受影响。前后对比:N/A(仅注释)。测试环境:N/A。

风险与范围

无 —— 仅注释,无破坏性变更。

关联 Issue

无。

Correct "defineded" -> "defined" and "compatability" -> "compatibility" in the IdeDiffClosed backwards-compatibility comments. Comment-only; no behavior change.
@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

Template looks good ✓

Problem: Real, verifiable typos — defineded and compatability in two developer-facing comments in the IDE package. Both confirmed in source. Not theoretical.

Direction: Pure comment cleanup in packages/core/src/ide/. No code, types, or behavior touched. Aligned and low-risk.

Size: Core paths touched — 4 production lines (2 additions + 2 deletions across 2 files, all comment-only). Zero test/schema/generated lines. Well below any threshold.

Approach: Minimal and focused — exactly the two typos mentioned, nothing else. Scope feels right.

Moving on to code review. 🔍

中文说明

感谢贡献!

模板完整 ✓

问题: 真实可验证的拼写错误 —— IDE 包两处开发者注释中的 definededcompatability。已在源码中确认,非理论性问题。

方向: 纯注释清理,位于 packages/core/src/ide/。不涉及代码、类型或行为。方向正确,风险低。

规模: 触及核心路径 —— 4 行生产代码(2 个文件各 1 增 1 删,全部为注释)。零测试/schema/生成代码行。远低于任何阈值。

方案: 最小且聚焦 —— 仅修改提到的两个拼写错误,无其他改动。范围合理。

进入代码审查 🔍

Qwen Code · qwen3.7-max

@qwen-code-ci-bot qwen-code-ci-bot added category/core Core engine and logic scope/ide IDE integration general type/documentation Documentation improvements or additions labels Jul 9, 2026
@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Code Review

Independent proposal: find all instances of defineded and compatability in the codebase and fix them. That's exactly what this PR does.

Grep confirms only 2 instances exist — both in packages/core/src/ide/, both addressed:

  • types.ts:108: definededdefined, compatabilitycompatibility
  • ide-client.ts:979: compatabilitycompatibility

No critical blockers. No AGENTS.md violations. The diff is precisely the minimal change needed — two comment lines, nothing more.

Patch applies cleanly against current main.

Testing

Tmux real-scenario testing is N/A for this PR — the changes are purely in code comments (// and /** */). No runtime behavior, compilation output, or user-visible surface is affected. Before and after would produce identical terminal output.

Typecheck: unaffected (comments are stripped during TS compilation).

Verdict

Clean, minimal, correct. Every change in the diff is needed for the stated goal.

中文说明

代码审查

独立方案:在代码库中查找所有 definededcompatability 实例并修复。PR 正是这样做的。

Grep 确认仅存在 2 处 —— 均在 packages/core/src/ide/ 中,均已修复:

  • types.ts:108definededdefinedcompatabilitycompatibility
  • ide-client.ts:979compatabilitycompatibility

无关键阻断问题,无 AGENTS.md 违规。Diff 恰好是达成目标所需的最小改动 —— 仅两行注释,无多余内容。

补丁可干净地应用于当前 main 分支。

测试

Tmux 真实场景测试不适用 —— 改动仅在代码注释(///** */)中。不影响运行时行为、编译输出或用户可见界面。前后对比将产生完全相同的终端输出。

类型检查:不受影响(注释在 TS 编译时被剥离)。

结论

干净、最小化、正确。Diff 中的每处改动都是达成目标所必需的。

Qwen Code · qwen3.7-max

@qwen-code-ci-bot

Copy link
Copy Markdown
Collaborator

Straightforward comment typo fix. The typos are real (confirmed in source), the diff is minimal (two lines, nothing extraneous), and the fix is correct. No code, types, or behavior touched.

Approving — this is exactly the kind of small, focused cleanup PR that's easy to review, merge, and forget about. ✅

中文说明

简单的注释拼写修复。拼写错误真实存在(已在源码中确认),diff 最小化(两行,无多余内容),修复正确。不涉及代码、类型或行为。

批准 —— 这是一个小型、聚焦的清理 PR,易于审查、合并和维护。✅

Qwen Code · qwen3.7-max

@qwen-code-ci-bot qwen-code-ci-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, looks ready to ship. ✅

@qwen-code-ci-bot qwen-code-ci-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No review findings. Downgraded from Approve to Comment: CI still running.

— qwen3.7-max via Qwen Code /review

@doudouOUC doudouOUC left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No issues found. LGTM! ✅

— qwen3.7-max via Qwen Code /review

@qwen-code-ci-bot qwen-code-ci-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No review findings. Downgraded from Approve to Comment: CI still running.

— qwen3.7-max via Qwen Code /review

@yiliang114
yiliang114 added this pull request to the merge queue Jul 10, 2026
Merged via the queue into QwenLM:main with commit 5e67163 Jul 10, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category/core Core engine and logic scope/ide IDE integration general type/documentation Documentation improvements or additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants