This project is archived. Its data is read-only.
Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

[bst-1] Properly handle grpc exceptions

Background

Some errors from cas cache server should be better handled. ABORTED should raise a temporary error (so that the scheduler will retry the job). On UNAVAILABLE we should just retry the request.

See documentation:

https://developers.google.com/maps-booking/reference/grpc-api/status_codes

This would help mitigate issue #810 (closed).

Examples of failures

  • https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/131025909
  • https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/161511

Acceptance Criteria

  • All gRPC calls error UNAVAILABLE and ABORTED should be handled
  • ABORTED error should restart the job
  • UNAVAILABLE errors should retry the request

Edited Nov 04, 2020 by Tristan Van Berkom
Assignee Loading
Time tracking Loading