0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-18 22:19:50 +02:00
gitea/services
Ross Golder 6ecbe0f771 fix: restore ctx in URL construction and correct load strategies
- Remove spurious context.ReferencesGitRepo(true) from /actions route group
- ToActionTask: restore targeted loads (LoadJob/LoadRun/LoadRepo) instead
  of LoadAttributes which unnecessarily loads task steps; use
  httplib.MakeAbsoluteURL(ctx, ...) for the URL field
- ToActionWorkflowRun: replace run.LoadAttributes with direct repo
  assignment + LoadTriggerUser to avoid redundant language-stats query;
  restore attempt.Run = run before attempt.LoadAttributes to prevent
  redundant DB re-fetch; restore ctx to APIURL/HTMLURL calls
- ToActionWorkflowJob: restore ctx to APIURL and HTMLURL calls

Co-Authored-By: Claude <claude-sonnet-4-6@anthropic.com>
2026-05-17 10:38:45 +07:00
..
2026-04-08 01:17:05 +08:00
2025-10-19 00:37:50 +08:00