Skip to content

fix(core): commit count and messages for slim PushEvents - #25

Merged
eJosR-Coding merged 1 commit into
mainfrom
fix/push-payload
Sep 17, 2026
Merged

eJosR-Coding merged 1 commit into
mainfrom
fix/push-payload

Conversation

@eJosR-Coding

Copy link
Copy Markdown
Owner

GitHub's Events API dropped size/commits from PushEvent payloads (verified: only before/head/push_id/ref/repository_id remain). Toasts said '0 commits on main' and agent trailers in commits were undetectable. New pushes are enriched through the compare endpoint (count, messages, authors), bounded per cycle; on failure the body names the branch only. 18 tests.

GitHub's Events API now ships PushEvent payloads with only before/head/
ref. Toasts read '0 commits on main' and agent trailers were invisible.
One compare call per new push (bounded to 10 per cycle) restores the
count, messages and authors; when it fails the body just names the
branch instead of claiming zero.
@eJosR-Coding
eJosR-Coding merged commit 2121ba2 into main Sep 17, 2026
1 check passed
@eJosR-Coding
eJosR-Coding deleted the fix/push-payload branch September 17, 2026 18:43
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