[autonomy-atomicity] ESTC docs PR review uses a shared /tmp/style-guide cache path
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
.github/workflows/gh-aw-estc-docs-pr-review.mdを読み、issueで示された行の周辺にあるダウンロード手順とプロンプトテキストに注目してください。workflowが実行とジョブのコンテキストをどのように提供するかを確認し、実行で古いファイルが使われないように、キャッシュパスとダウンロード失敗時の処理を更新してください。ガイドファイルが実行ごとに分離され、利用できないダウンロードが明示的に識別されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Autonomy / Atomicity Findings
1. Shared style-guide cache path can leak state across concurrent/reused runs
Category: Global state
File(s): .github/workflows/gh-aw-estc-docs-pr-review.md (lines 114, 129, 131, 167-169)
Problem: The workflow always writes downloaded guide pages to /tmp/style-guide/ and later instructs the agent to trust/read that directory. Because the path is fixed and not run-scoped, concurrent runs on the same runner (or reused self-hosted runners) can overwrite each other or leave stale files. The step also allows download failures with warnings, so stale files can be consumed as if they were current.
Evidence snippets:
mkdir -p /tmp/style-guidecurl ... -o "/tmp/style-guide/${slug}.html" || echo "::warning::Failed to download ..."echo "Downloaded $(ls /tmp/style-guide/ | wc -l) ..."- Prompt text: "The style guide ... have been pre-downloaded to
/tmp/style-guide/. Read them from disk..."
Suggested fix: Use a run-scoped temp directory (for example ${RUNNER_TEMP}/style-guide-${GITHUB_RUN_ID}-${GITHUB_JOB}), clean it before download, and pass that path to the prompt via env/context. Also record missing downloads explicitly so the agent does not silently rely on stale local files.
Suggested Actions
- Make style-guide cache paths run-scoped and isolated per workflow run/job
- Fail fast or mark missing documents as unavailable instead of reusing stale files from a shared temp directory
What is this? | From workflow: Trigger Autonomy Atomicity Analyzer
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
- 主要言語
- Python
- スター
- 13
- フォーク
- 16
- 平均マージ
- 45分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastic/ai-github-actions のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
elastic/ai-github-actions#2523 ·
-
[workflow-patrol] Workflow drift detected: duplicate-issue-detector missing runtime setup patternオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastic/ai-github-actions#2517 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastic/ai-github-actions#2514 · コメント 1 件 ·
-
information-architecture
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
elastic/ai-github-actions#2511 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
elastic/ai-github-actions#2499 · コメント 1 件 ·
elastic/ai-github-actions の issue をすべて見る
似ている issue
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIteration対応中かも @BahaaMattar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
needs discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openfga/openfga.dev#1436 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2対応中かも @Duhan07 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
micropython/micropython-lib#1176 ·