Skip to content

Use context from completion.CmdCompletionOrList.CandidatesContext instead of conte xt.TODO()#5

Merged
hymkor merged 2 commits intomasterfrom
context-todo
Nov 2, 2025
Merged

Use context from completion.CmdCompletionOrList.CandidatesContext instead of conte xt.TODO()#5
hymkor merged 2 commits intomasterfrom
context-todo

Conversation

@hymkor
Copy link
Owner

@hymkor hymkor commented Nov 2, 2025

Changes in this pull request (English)

Replaced context.TODO() with the context provided by completion.CmdCompletionOrList.CandidatesContext.
This allows proper context propagation from go-multiline-ny during table/column name completions, enabling cancellation and timeout handling.

Changes in this pull request (Japanese)

テーブル名・カラム名補完の際に使用していた context.TODO() を、completion.CmdCompletionOrList.CandidatesContext が提供するコンテキストに変更しました。 これにより、go-multiline-ny 側からのキャンセルやタイムアウトの伝播が正しく行われるようになります。

@hymkor hymkor merged commit 8d7cd1a into master Nov 2, 2025
@hymkor hymkor deleted the context-todo branch November 2, 2025 09:07
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