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

External threat-detection artifact omits retry diagnostics

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, go
領域
ci-cd, devops

調査の方向性

pkg/workflow/threat_detection_external.go、特に buildUploadDetectionArtifactStep を読み、pkg/workflow/threat_detection_steps.go の buildUploadDetectionLogStep と比較してください。次に、関連する生成済みアップロードパスのカバレッジを調べてください。完了条件は、外部アーティファクトに detection_harness_retry.json が存在する場合はそれが含まれ、既存の編集条件が守られ、回帰テストで生成されたパスが検証されることです。

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

説明

ai-inspected

In gh-aw v1.0.1, the threat-detection artifact upload omits /tmp/gh-aw/threat-detection/detection_harness_retry.json. However, the conclusion job’s usage collector expects that source file and copies it to /tmp/gh-aw/usage/detection/harness_retry.json.

Because detection and conclusion run in separate jobs, any retry diagnostics written to the source path cannot reach the usage artifact without being included in the detection upload.

Evidence
Steps to reproduce
  1. Use gh-aw v1.0.1.
  2. Compile a workflow.
  3. Inspect the generated Upload threat detection artifact step.
  4. Compare its paths with the conclusion job’s Upload usage artifact paths.

The usage upload lists usage/detection/harness_retry.json, but the detection upload does not transfer its source file.

Expected behavior

Include detection_harness_retry.json in the external detection artifact when present, preserving the existing redaction conditions.

Impact

Retry diagnostics can be lost between jobs, reducing troubleshooting visibility.

Suggested fix

Add the source path to buildUploadDetectionArtifactStep and regression coverage for its inclusion in the generated upload paths.

主要言語
Go
スター
5.5k
フォーク
606
平均マージ
4時間 18分
マージ済み PR(30日)
796

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

github/gh-aw のほかの issue

github/gh-aw の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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