types icon indicating copy to clipboard operation
types copied to clipboard

feat(schedule): show schedule errors

Open wsan3 opened this issue 2 years ago • 1 comments

Description

Whenever a user has a YAML bug in their pipeline, or any other build-breaking error that short-circuits pipeline execution, they can usually find these error in the Audit tab, where we populate the hook with the error message.

This is currently not available for schedules. Instead, the error is just logged.

Related

https://github.com/go-vela/community/issues/872

wsan3 avatar Apr 15 '24 14:04 wsan3

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.09%. Comparing base (fb4a95c) to head (ef91c0a).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #373   +/-   ##
=======================================
  Coverage   96.08%   96.09%           
=======================================
  Files          69       69           
  Lines        5361     5374   +13     
=======================================
+ Hits         5151     5164   +13     
  Misses        136      136           
  Partials       74       74           
Files Coverage Δ
database/schedule.go 100.00% <100.00%> (ø)
library/schedule.go 100.00% <100.00%> (ø)

codecov[bot] avatar Apr 15 '24 14:04 codecov[bot]