-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: build graph endpoint for pipeline visualization #995
Conversation
Codecov Report
@@ Coverage Diff @@
## main #995 +/- ##
==========================================
- Coverage 70.37% 68.42% -1.96%
==========================================
Files 316 317 +1
Lines 13209 13586 +377
==========================================
Hits 9296 9296
- Misses 3446 3823 +377
Partials 467 467
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a real quick thing I noticed
Co-authored-by: Easton Crupper <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's go to the moon! 🌑
one parting thought, should we try and fetch pipeline first and make calls to get steps/services dependent on whether pipeline has steps/services? might save some db calls, esp for services? ref: server/database/pipeline/table.go Lines 27 to 29 in 6708cea
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool. Opened an issue related to the discussion @cognifloyd and @plyr4 had in this PR: go-vela/community#874
f589dce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice :D
aee68c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks good!
meant to work with ui changes in go-vela/ui#731
the new endpoint aggregates resources for a build and generates a directed graph consisting of nodes and edges.
needs
there are 3 node groups organized as subgraph clusters for visual effect.
closes go-vela/community#71