Skip to content

Add warning logs for GitHub compare API failures - #16

Merged
choffmeister merged 1 commit into
airfocusio:mainfrom
drmercer-lucid:dmercer-add-compare-error-logging
Aug 6, 2026
Merged

Add warning logs for GitHub compare API failures#16
choffmeister merged 1 commit into
airfocusio:mainfrom
drmercer-lucid:dmercer-add-compare-error-logging

Conversation

@drmercer-lucid

Copy link
Copy Markdown
Contributor

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>
@choffmeister
choffmeister merged commit ddb4472 into airfocusio:main Aug 6, 2026
2 checks passed
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.

2 participants