fix: backport upstream v1.26.2 critical fixes #139

Merged
jmiller merged 2 commits from fix/upstream-v1.26.2-backports into main 2026-05-24 04:30:37 +00:00
Owner

Backport 2 upstream Gitea v1.26.2 fixes:

  1. Fix scheduled action panic with null event payload (upstream #37459)
  2. Fix email addresses not treated case-insensitively (upstream #37600)

Already present in our fork (no-op cherry-picks): #37516 merge autodetect, #37513 branch protection order, #37554 workflow param validation, #37570 null jobs panic, #37692 deadlock (our UpdateRepoRunsNumbers already has transaction guard).

Dev tested: v1.26.1-moko.3-dev - PR creation via API, health checks pass.

Backport 2 upstream Gitea v1.26.2 fixes: 1. Fix scheduled action panic with null event payload (upstream #37459) 2. Fix email addresses not treated case-insensitively (upstream #37600) Already present in our fork (no-op cherry-picks): #37516 merge autodetect, #37513 branch protection order, #37554 workflow param validation, #37570 null jobs panic, #37692 deadlock (our UpdateRepoRunsNumbers already has transaction guard). Dev tested: v1.26.1-moko.3-dev - PR creation via API, health checks pass.
jmiller added 2 commits 2026-05-24 04:30:31 +00:00
Backport #37459 by cyphercodes

This fixes the scheduled action panic when an event payload is JSON
`null` by initializing the payload map before adding `schedule`. It also
adds regression coverage for the null-payload case.

Fixes #37447.

Co-authored-by: Rayan Salhab <r.salhab@aiyexpertsolutions.com>
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Hermes Agent (GPT-5.5) <hermes-agent@users.noreply.github.com>
Co-authored-by: Nicolas <bircni@icloud.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
fix: treat email addresses case-insensitively (#37600) (#37611)
Branch Policy Check / Verify merge target (pull_request) Failing after 1s
ec02fb9cf8
jmiller merged commit 0f543903fb into main 2026-05-24 04:30:37 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#139