pacework 1.7.9 → 1.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/pacework-runner.mjs +9 -0
- package/package.json +1 -1
package/bin/pacework-runner.mjs
CHANGED
|
@@ -2044,6 +2044,15 @@ function buildPrompt(run, branch, worktreePath, options = {}) {
|
|
|
2044
2044
|
Do not judge scope from a local \`git diff\` — the local base branch can be behind, and
|
|
2045
2045
|
work already merged would look like part of this change. Use \`git diff\` only when the
|
|
2046
2046
|
issue has no pull request yet.
|
|
2047
|
+
- For the test verdict, read completed CI for the exact pull request head from GitHub.
|
|
2048
|
+
If CI is pending or unavailable, say so explicitly and report local verification separately.
|
|
2049
|
+
- For local tests, use the repository's pinned package manager and frozen lockfile
|
|
2050
|
+
(for pnpm, \`corepack pnpm install --frozen-lockfile\` in the directory with the lockfile).
|
|
2051
|
+
If the locked install fails, report that test setup was blocked.
|
|
2052
|
+
- Call a local test failure pre-existing only after reproducing the same failure on
|
|
2053
|
+
the latest remote PR base (normally \`origin/main\`) in a separate worktree using
|
|
2054
|
+
the same toolchain, services, and test command. Name the test, base commit, and
|
|
2055
|
+
observed result. If the comparison cannot run, report the failure as unclassified.
|
|
2047
2056
|
- Do not call \`review_pr\` or \`submit_issue_review\` yourself. The runner posts your review
|
|
2048
2057
|
to the pull request and the issue from the lines below.
|
|
2049
2058
|
- End your final response with exactly this, filling in every part:
|