.agents/skills/rstack-eco-ci-debug/references/pr-report-comment.md
Use this tool to comment on a merged source PR only when the eco-ci failure is strictly attributed to that PR. The source PR can be either:
<agent: daily-job rspack eco-ci>
Collect and state these facts first:
If any item is missing, do not post. Continue investigation or provide a draft-only note.
gh pr view <source-pr-number> --repo <source-owner/repo> --json number,title,state,mergedAt,author,url,headRefOid,mergeCommit
mergedAt is empty.gh pr comment <source-pr-number> --repo <source-owner/repo> --body-file <comment-file>
<agent: daily-job rspack eco-ci>
Daily AI eco-ci triage found that this PR is the current best-attributed source of the `<suite>` suite failure in `rstack-ecosystem-ci`.
Evidence:
- Eco-ci run: <run-url-or-id>
- Tested Rspack commit: <sha>
- Failure signature: <short-log-or-assertion-summary>
- Flaky/pre-existing check: <same signature not found before candidate | evidence>
- Final config check: <feature enabled | not applicable>
- Attribution check: <why this PR, not a surface pivot or another source>
This attribution is based on <success-to-failure pivot | canary bisect | matching current and first-bad signatures> after ruling out <flaky/pre-existing/surface-pivot/config-gated alternatives>. Please take a look when you have time.
If the result is a correction rather than a blame comment, say so explicitly:
<agent: daily-job rspack eco-ci>
Correction from daily AI eco-ci triage: this PR was initially a surface pivot in the eco-ci data, but deeper investigation does not strictly attribute the failure to this PR.
Actual source appears to be <actual-source-summary>. This PR is likely not responsible for the `<suite>` failure.