[Bug]: Generated PR bodies say "Not run" under Testing even when the thread ran the tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- tooling
調査の方向性
apps/server/src/textGeneration/TextGenerationPrompts.ts の buildPrContentPrompt から始め、PR テンプレートが存在しない場合にそれが組み立てるプロンプトを読み、その後呼び出し元を追って、その呼び出し時点でどのコンテキスト(スレッドの書き起こし、ツール呼び出し、テスト実行)が利用可能かを確認する。回帰チェックを置くべき場所を見つけるため、PR 本文/プロンプト生成周辺の既存テストを確認する。完了とは、## Testing セクションが実際に実行されたチェックを反映しているか、書き手に根拠がない場合は省略されるか中立に記述されていることを意味する — この issue は正確な方向をメンテナーに委ねているため、大きな変更を加える前に方針を確認すること。
索引モデルが issue の本文から書いたものです。
説明
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Open a project whose repo has no PR template
- In a thread, have the agent make a change and run the tests, for example
bun test, and confirm they pass in the transcript. - Use the commit and create PR action.
- Read the generated PR body.
Expected behavior
The ## Testing section reflects the checks that actually ran in the thread. If the writer has no information about testing, it should leave the section out or say so neutrally, rather than stating that tests were not run.
Actual behavior
The Testing section almost always says "Not run." or "Not run in this change request.", even when the thread ran and passed the tests. Reviewers read that as a statement that the change wasn't tested.
This comes from buildPrContentPrompt in apps/server/src/textGeneration/TextGenerationPrompts.ts. When there's no template, the prompt requires:
- body must be markdown and include headings '## Summary' and '## Testing'
- under Testing, include bullet points with concrete checks or 'Not run' where appropriate
but the only inputs are the base and head branches, the commit summary, the diff stat and the diff patch. The writer never sees the thread or its tool calls, so it can't know about any checks. It has to fill a required section, and 'Not run' is the fallback the prompt offers, so it picks that.
A user reported the same thing in #264 ("it somehow always adds to my PR description, that the tests and ci did not run... even though the agent clearly said it was validated"). #264 was closed with PR template support, which only helps repos that have a template. The default path still produces this.
Possible directions, for maintainers to decide:
- Pass a short summary of the thread's verification commands and their exit status into the PR prompt.
- Make
## Testingoptional when the writer has no evidence, and drop'Not run'as the suggested fallback.
Impact
Minor bug or occasional failure
Version or commit
0.0.46-nightly.20261006.2752
Environment
Kubuntu 26.04, T3 Code Nightly desktop. The source control writer is GPT-6 Luna (low, fast), but the cause seems to be the prompt, not the model.
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
- Add a PR template without a Testing section, or
- set custom writing instructions to leave out the Testing section, or
- have the agent open the PR itself by asking it to.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 8時間 34分
- マージ済み PR(30日)
- 243
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
[Bug]: Dead-key apostrophe inserts extra quotes in the composer対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pingdotgg/t3code#16859 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#16822 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#16821 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#16810 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Antigravity turns fail on NixOS: embedded Python can't verify TLS (empty CA store) -> 502オープンbug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pingdotgg/t3code#16742 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
Tenant
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
MTES-MCT/Dossier-Facile-Frontend#2061 ·
メンテナーはふだん 1 日以内に返信
-
area:frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
interledger/publisher-tools#905 ·
メンテナーはふだん 1 日以内に返信
-
Add: Cbeebies PL SDオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
iptv-org/iptv#54525 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
DB-plane provider_chat_options.* is accepted by config set but never merged into the loaded config対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:web
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
praetorianer777/GoTome#178 ·
メンテナーはふだん 1 日以内に返信