Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(graph): return proper error on complex builds #1009

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

wass3r
Copy link
Collaborator

@wass3r wass3r commented Nov 20, 2023

closes go-vela/community#883

the error returned when complexity is high wasn't properly formatted, so it couldn't be displayed in UI like other errors; you would just end up with a generic internal network error without any other information. this should help signal to the user what is going on better, though maybe the message itself could be tweaked even more?!

@wass3r wass3r requested a review from a team as a code owner November 20, 2023 07:33
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #1009 (f332882) into main (17be4c4) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1009      +/-   ##
==========================================
- Coverage   68.30%   68.27%   -0.04%     
==========================================
  Files         317      317              
  Lines       13612    13618       +6     
==========================================
  Hits         9298     9298              
- Misses       3847     3853       +6     
  Partials      467      467              
Files Coverage Δ
api/build/graph.go 0.00% <0.00%> (ø)

@ecrupper ecrupper merged commit 3d67002 into main Nov 24, 2023
8 of 11 checks passed
@ecrupper ecrupper deleted the fix/graph/error-complexity branch November 24, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

server(graph): report message from 500 error if supplied
3 participants