Coerce common verdict/event variants before validation, skip retries on schema errors, and leave a failure comment plus reviewer removal for any failed run.
Co-authored-by: Cursor <cursoragent@cursor.com>
Gitea can return 500 when deleting old reviews; log and continue instead of failing the whole webhook after a successful Cursor run.
Co-authored-by: Cursor <cursoragent@cursor.com>
Post a temporary in-progress comment while reviewing, remove it when done, default timeout to 10 minutes, and skip retries on timeout.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use a no-repo cloud agent since Gitea remotes are not supported for clone, and only mark dedupe complete on success so review_requested can retry.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use cloud repo config with Gitea URL and head ref, parse RunResult output correctly, and log cursor run IDs for debugging.
Co-authored-by: Cursor <cursoragent@cursor.com>