Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ci: lint/go bodyclose in azureidentity_internal_test.go

オープン
#1,534 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jdomeracki-coder がすでに取り組んでいます。

2026年5月13日 から。

評価

この issue はまだ評価されていません。

説明

CI Run Link: https://github.com/coder/coder/actions/runs/25791859937
Failed Job: https://github.com/coder/coder/actions/runs/25791859937/job/75759237891 (lint)

Commit Info:

Error Evidence:

##[error]coderd/azureidentity/azureidentity_internal_test.go:67:31: response body must be closed (bodyclose)
    _, err := certFetchClient.Get(srv.URL)
                                 ^

Root Cause:
TestCertFetchClientRejectsLoopback calls certFetchClient.Get(srv.URL) without closing the response body, tripping the bodyclose linter in make lint.

Precise Assignment Analysis:

  • git blame is not available via the API; used file history instead.
  • git log --oneline -10 --follow coderd/azureidentity/azureidentity_internal_test.go -> fb3aef188 (Jakub Domeracki) most recent change.
    Assigning to jdomeracki-coder as the author of the latest changes to this test.

Classification:
E. Code Change (lint violation).

Related Issues Searched:

  • "response body must be closed" + bodyclose
  • "azureidentity_internal_test.go"
  • "azureidentity" + lint

Reproduction:

  • make lint (or golangci-lint run with bodyclose enabled)
主要言語
言語のデータがありません
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/internal のほかの issue

coder/internal の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。