@devries-cameron20 / t3code Mirror · read-only / commits / b3871d5156
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 14:15 UTC

fix(server): Forgejo pull requests report their head commit (#18463)

oliver committed Oct 12, 2026 at 01:10 UTC b3871d5156f6c4160ea2afd96f65e34bf15ef91d
2 files changed +2
packages/source-control-forgejo/src/server/ForgejoPullRequestProvider.ts
+1
@@ -268,6 +268,7 @@ export const make = Effect.gen(function* () {
268 );
269 return {
270 ...forgejoChangeRequest(pr),
271 + headSha: pr.head.sha,
272 body: pr.body ?? "",
273 changedFiles: pr.changed_files ?? 0,
274 reviewers: (pr.requested_reviewers ?? []).flatMap((user) => {
packages/source-control-forgejo/src/server/ForgejoSourceControlProvider.test.ts
+1
@@ -209,6 +209,7 @@ it.effect.each([
209 const summary = yield* readSummary(input);
210 const detail = yield* provider.getChangeRequest(input);
211 assert.strictEqual(list.items.length, 1);
212 + assert.strictEqual(detail.headSha, "head");
213 for (const result of [list.items[0]!, summary, detail]) {
214 assert.strictEqual(result.mergeability, mergeability);
215 assert.strictEqual(result.isDraft, isDraft);