Skip to content

Failed executions can appear as successful #7

@meletis

Description

@meletis

We notice that things can fail if the PR is a big one, but the problem is that the workflow is not marked as failed in these cases.

In fact, it shows up as successful:

Starting review for PR #74
Repository: *****/******
Action: opened
Environment variable GITHUB_WEBHOOK_SECRET not found, keeping placeholder
Fetching diff content from GitHub API...
Retrieved diff content (165308 chars)
Calling reviewDiff() for job action-1763643692260-74
[Amp] Starting thread...
[Amp] Started thread: T-b25191b6-147d-4a6d-84b5-a547333420af
[Amp] Review completed successfully
Error starting thread: Error: Amp review failed
[Amp] Iterator completed
Review job action-1763643692260-74 failed with exception: Error: Failed to start thread: Error: Amp review failed
    at reviewDiff (file:///app/dist/review/reviewer.js:70:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async processReview (file:///app/dist/github/process-review.js:73:30)
    at async main (file:///app/dist/bin/review-action.js:26:9)
Review completed successfully

Is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions