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

ADR-0019 cites a nonexistent test and omits the ones that pin its decisions

オープン 初心者向け
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go

調査の方向性

project-docs/adr/0019-azure-devops-as-a-second-transport.md を直接編集します。go test ./internal/deps/ -list '.*' | grep -E 'ADO|ADR_0019|Survey' を実行し、一覧表示されたテストと ADR を比較します。存在しないテストが削除され、issue で名前が挙げられた 5 つのテストがすべて含まれていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation

Follow-up from the review of #52.

The Consequences section of project-docs/adr/0019-azure-devops-as-a-second-transport.md lists tests that don't match the suite at 52a5544:

  • It cites TestRefresh_ADORepinDropsTheRecordedType, which does not exist. The re-pin behaviour is pinned by TestRefresh_ADORepinRetypesTheRef and TestRefresh_ADORepinToACommitTypesItAsACommit.
  • It leaves out tests that pin decisions the ADR records:
    • TestADR_0019_RefTypeIsRecordedOnlyWhereItIsNeeded (the ref-type key is recorded for ADO and omitted for GitHub)
    • TestRefresh_ADOHeaderWithoutRefTypeResolvesIt (a header without the key is resolved on refresh)
    • TestSurvey_ResolutionAbortsOnUnusableCLI (the ref-type lookup stops the batch when the CLI is unusable)

Check with:

go test ./internal/deps/ -list '.*' | grep -E 'ADO|ADR_0019|Survey'

Fix: make the ADR's test list match the suite. ADR-0019 isn't merged yet, so editing it in place is fine; the supersede-don't-edit rule applies only after it lands.

主要言語
Go
スター
34
フォーク
5
平均マージ
5時間 7分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

stacklok/modelith のほかの issue

stacklok/modelith の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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