Skip to content

Add warning logs for GitHub compare API failures#16

Open
drmercer-lucid wants to merge 1 commit intoairfocusio:mainfrom
drmercer-lucid:dmercer-add-compare-error-logging
Open

Add warning logs for GitHub compare API failures#16
drmercer-lucid wants to merge 1 commit intoairfocusio:mainfrom
drmercer-lucid:dmercer-add-compare-error-logging

Conversation

@drmercer-lucid
Copy link
Copy Markdown

Log warnings when the CompareCommits API call fails or returns nil, to help diagnose issues with PR/commit listing in release descriptions.

After migrating to a new GH enterprise org, the PRs generated by git-ops-update don't include "Commits" or "Pull request" sections in the description, but they do include a "Compare" link. I suspect this API call is where things are going wrong, so adding these logs will help debug it.

Log warnings when the CompareCommits API call fails or returns nil,
to help diagnose issues with PR/commit listing in release descriptions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant