External threat-detection artifact omits retry diagnostics
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
調査の方向性
pkg/workflow/threat_detection_external.go、特に buildUploadDetectionArtifactStep を読み、pkg/workflow/threat_detection_steps.go の buildUploadDetectionLogStep と比較してください。次に、関連する生成済みアップロードパスのカバレッジを調べてください。完了条件は、外部アーティファクトに detection_harness_retry.json が存在する場合はそれが含まれ、既存の編集条件が守られ、回帰テストで生成されたパスが検証されることです。
索引モデルが issue の本文から書いたものです。
説明
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
buildUploadDetectionArtifactStepuploads the detection result, execution evidence, and usage files, but omits the retry-diagnostics file.collect_usage_artifact_files.shexplicitly expects and copies that file.- The alternative
buildUploadDetectionLogStepalready includes it.
Steps to reproduce
- Use gh-aw v1.0.1.
- Compile a workflow.
- Inspect the generated Upload threat detection artifact step.
- 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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-aw のほかの issue
-
agent-research
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
automation cli cookie documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/gh-aw#72983 · コメント 13 件 ·
メンテナーはふだん 1 日以内に返信
-
automation cli cookie documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Pi on arc-dind: an aliased model reaches pi empty (`Model "aw-gateway/" not found`)対応中かも @pelikhan が今日担当しました。 オープンai-inspected community
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
github/gh-aw#72530 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
[doc-healer] DDUw improvement: retry integrity-filtered issue reads with direct single-item lookupsオープンautomation documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
orchestration.migration.data.tasks.retry values are ignored by the 8.8 data migration job対応中かも @irisfield が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
camunda/camunda-platform-helm#7773 ·
メンテナーはふだん 1 日以内に返信
-
Add missing unit tests for IsAdmissionPolicyName and IsCertManagerResourceName対応中かも @a1h8 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kubernetes-sigs/security-profiles-operator#3644 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Anthropic Responses converter forwards empty text blocks, upstream rejects with 400対応中かも @david-choi-querypie が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
[DOCS]: enforce_admins description understates what it covers and omits push restrictions対応中かも @dav-tb が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
integrations/terraform-provider-github#3707 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信