Skip to content

fix: fallback to issue comment API when PR review comment fetch fails #42

fix: fallback to issue comment API when PR review comment fetch fails

fix: fallback to issue comment API when PR review comment fetch fails #42

Triggered via pull request December 18, 2025 13:20
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
prettier
Process completed with exit code 1.
typecheck
Process completed with exit code 2.
error: expect(received).toContain(expected): test/create-prompt.test.ts#L954
Expected to contain: "<review_request_context>" \"No code changes required\" (for questions/reviews only)\n - State your decision and brief justification\n" at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/create-prompt.test.ts:954:20)
error: expect(received).toContain(expected): test/create-prompt.test.ts#L760
Expected to contain: "Always push to the existing branch when triggered on a PR" \"No code changes required\" (for questions/reviews only)\n - State your decision and brief justification\n" at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/create-prompt.test.ts:760:20)
error: expect(received).toContain(expected): test/create-prompt.test.ts#L602
Expected to contain: "Always push to the existing branch when triggered on a PR" \"No code changes required\" (for questions/reviews only)\n - State your decision and brief justification\n" at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/create-prompt.test.ts:602:20)
TypeError: internalPrompt.includes is not a function. (In 'internalPrompt.includes("mcp__github_comment__update_claude_comment")': test/pull-request-target.test.ts#L487
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:487:24)
error: Received value must be an array type: test/pull-request-target.test.ts#L351
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:351:22)
error: expect(received).toBe(expected): test/pull-request-target.test.ts#L325
Expected: "Review this pull_request_target PR for security issues" Received: Promise { <pending> } at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:325:22)
error: Received value must be an array type: test/pull-request-target.test.ts#L257
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:257:33)
error: Received value must be an array type: test/pull-request-target.test.ts#L200
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:200:22)
error: Received value must be an array type: test/pull-request-target.test.ts#L174
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:174:22)
error: Received value must be an array type: test/pull-request-target.test.ts#L135
at <anonymous> (/home/runner/work/claude-code-action/claude-code-action/test/pull-request-target.test.ts:135:22)