feat: enable proven Forgejo and Gitea mutations#275
Conversation
|
This change is part of the following stack:
Change managed by git-spice. |
roborev: Combined Review (
|
65abe58 to
6e24689
Compare
f43b11a to
3930d2d
Compare
roborev: Combined Review (
|
3930d2d to
5d5ec50
Compare
6e24689 to
0fd2c47
Compare
roborev: Combined Review (
|
5d5ec50 to
ad6128b
Compare
0fd2c47 to
c1dae33
Compare
roborev: Combined Review (
|
ad6128b to
baf99d9
Compare
c1dae33 to
0862fad
Compare
roborev: Combined Review (
|
roborev: Combined Review (
|
baf99d9 to
68ac4be
Compare
roborev: Combined Review (
|
8b7f592 to
68796b2
Compare
4e48478 to
940615d
Compare
roborev: Combined Review (
|
68796b2 to
48ac4af
Compare
940615d to
8a29033
Compare
48ac4af to
559c53b
Compare
8a29033 to
8331476
Compare
roborev: Combined Review (
|
559c53b to
3673e48
Compare
8331476 to
8a9218a
Compare
3673e48 to
e6eaace
Compare
8a9218a to
3702e76
Compare
e6eaace to
aa27d54
Compare
3702e76 to
1e4c257
Compare
aa27d54 to
a8fa36d
Compare
1e4c257 to
5a489f5
Compare
a8fa36d to
ba8b0be
Compare
5a489f5 to
bb46abc
Compare
roborev: Combined Review (
|
Enable SDK-backed comment, issue creation, state/content edit, merge, and review approval capabilities for Forgejo and Gitea providers. Workflow approval and ready-for-review remain unsupported until those operations are proven through provider interfaces and tests.
Pass the owning issue or pull request number through comment edit mutators so provider-normalized events keep the correct local association before persistence.
Exercise Gitea-backed comment, review, merge, state, and issue mutation endpoints through the generated HTTP client and assert the SQLite rows updated by each representative workflow.
The mutation API test lives on the mutation branch, so it must use WithMutations there rather than relying on the tip branch cleanup.
Gitea and Forgejo merge failures surface as gitealike HTTP errors, not GitHub errors. Map those statuses through the same merge policy so conflicts refresh the pull request and provider 4xx messages reach the UI instead of becoming generic 502 responses.
Wrap Forgejo and Gitea SDK mutation calls with the same context guard used by reads so cancellation and SDK context locking remain consistent. Extend the full API and SQLite mutation regression to cover PR title/body edits.
bb46abc to
3d54dbf
Compare
Enable SDK-backed comment, issue creation, state/content edit, merge, and review approval capabilities for Forgejo and Gitea providers. Workflow approval and ready-for-review remain unsupported until those operations are proven through provider interfaces and tests.