Commit Graph
11 Commits
Author SHA1 Message Date
sam d03062cad8 test(forge): capture the submitted review object on GitHub and Gitea (#1166)
publish / publish (push) Failing after 36s
2026-10-31 14:34:55 +11:00
sam 176a74831f feat(forge/gitea): add ParseWebhook for signed Gitea deliveries (#279) 2026-10-31 14:33:35 +11:00
sam 60fbcd4c59 fix(forge): accept GitHub invitations only to configured repositories
AcceptInvitations accepted every pending repository invitation, so any
GitHub user could add the forge's account to a repository by sending an
invitation. The host now passes the connection's configured repositories
in AcceptInvitationsRequest and the extension leaves an invitation to
anything else pending. The Gitea forge is unchanged: it has no
invitations to accept.
2026-10-29 00:02:50 +11:00
sam 5f9eda24f5 fix(gitea): honour each call's context, SDK branch linking, real 404s, paginated labels
Every call shared one SDK client whose context was background, so no caller
could cancel a Gitea request; each call now binds its own. LinkBranch
hand-built JSON over raw HTTP and posted to an endpoint Gitea does not have;
it sets the issue's ref through the SDK. PRState and VerifyPush matched error
text instead of the status, label lookup stopped at the first 100 labels,
merges ignored the repository's merge style, and a review of the token's own
pull request requested changes Gitea refuses.
2026-10-25 18:11:39 +11:00
sam 45bd6c47ee fix(github): readable API errors, normalised webhook review states, no REQUEST_CHANGES on the token's own PR
Errors say what GitHub refused in its own words instead of the request URL
and an empty field list. Webhook review states arrive lower-case and were
never normalised, so a webhook-delivered change request did not read as one.
A review the token would post as REQUEST_CHANGES on its own pull request
comments instead, which GitHub accepts. Secondary rate limits wait up to two
minutes and retry.
2026-10-25 18:11:39 +11:00
sam ed82b6811e fix(forge): allow the GitHub extension to download archives from codeload (#1)
* fix(forge): keep the archive download token out of errors

* fix(forge): allow the GitHub extension to download archives from codeload
2026-10-19 15:48:22 +11:00
sam d8b23f61c0 fix(forge): name the forges GitHub and Gitea 2026-10-17 22:26:37 +11:00
sam eb676c7134 feat(forge): submit one review with event and body on GitHub and Gitea 2026-10-17 21:23:33 +11:00
sam ee9271e7cf feat(forge): MergePR on the SDK, GitHub and Gitea forges 2026-10-05 21:36:07 +11:00
sam ca1bd1de11 feat(forge): ClosePR on the SDK, GitHub and Gitea forges 2026-10-05 20:11:43 +11:00
sam 487a58e24b feat(forge): github and gitea forge extensions 2026-10-04 14:26:27 +11:00