mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-19 04:49:06 +02:00
A matrix built from a dependent job's runtime output (fromJson(needs.*.outputs.*)) has no inherent size bound, so a large or buggy upstream output could insert an arbitrary number of jobs in one transaction. The per-attempt AttemptJobIDs also back the job-index URLs, which must stay below MaxJobNumPerRun. Skip the expansion with a clear reason when the resulting jobs would exceed that limit. Also rename a test variable that tripped the misspell linter and clarify the deferred-placeholder commit-status comment. Co-Authored-By: Claude (Opus 4.8) <noreply@anthropic.com>