豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Refactor titleService variable name for consistency in CopilotCLISessionService tests#4344

Merged
DonJayamanne merged 6 commits intomainfrom
don/fix-tests
Mar 11, 2026
Merged

Refactor titleService variable name for consistency in CopilotCLISessionService tests#4344
DonJayamanne merged 6 commits intomainfrom
don/fix-tests

Conversation

@DonJayamanne
Copy link
Copy Markdown
Collaborator

No description provided.

@DonJayamanne DonJayamanne self-assigned this Mar 10, 2026
Base automatically changed from don/urban-coral to main March 10, 2026 23:00
@DonJayamanne DonJayamanne marked this pull request as ready for review March 11, 2026 00:13
Copilot AI review requested due to automatic review settings March 11, 2026 00:13
@DonJayamanne DonJayamanne enabled auto-merge March 11, 2026 00:13
@vs-code-engineering vs-code-engineering bot added this to the 1.112.0 milestone Mar 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a small cleanup in the Copilot CLI session service area by fixing a misspelled local variable name in unit tests and removing a now-unnecessary inline comment in the session service implementation.

Changes:

  • Rename titleServcetitleService in CopilotCLISessionService unit tests for consistency/readability.
  • Remove the “Don’t cache this.” comment above the readSessionEventsFile(..., 'user.message') call.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/extension/chatSessions/copilotcli/node/test/copilotCliSessionService.spec.ts Fixes a local variable typo to improve naming consistency in tests.
src/extension/chatSessions/copilotcli/node/copilotcliSessionService.ts Removes an inline comment without changing runtime behavior.

@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 752d542 Mar 11, 2026
23 checks passed
@DonJayamanne DonJayamanne deleted the don/fix-tests branch March 11, 2026 01:04
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.

3 participants