chore(runner): return errors created by connect (#7222)

- Instead of creating errors via `google.golang.org/grpc`, use `connectrpc.com/connect`.
- This _avoids_ another dependency (still indirectly referenced in testing).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7222
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
Gusted 2025-03-17 09:00:24 +00:00 committed by Earl Warren
parent 511148dbc3
commit ccd87001c8
4 changed files with 26 additions and 39 deletions

File diff suppressed because one or more lines are too long