-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
Codecov Report
@@ Coverage Diff @@
## main #239 +/- ##
=======================================
Coverage 25.17% 25.17%
=======================================
Files 31 31
Lines 3023 3023
=======================================
Hits 761 761
Misses 2145 2145
Partials 117 117
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thank you!
A couple of issues that need to be addressed before merging this PR:
|
@andresuribe87 yeah I guess it’s good it doesn’t trigger actions though right? (That must be by design?). But the statuses end up hanging. I wonder if there is a way to make things green when it’s from the action bot. |
Maybe can do it just on merge to main? Not on each PR? |
hrm - the conflict will be annoying. I wonder if there is a better way to publish docs - should they be stored in the repo? (I guess so). |
it should be done on each commit to avoid it getting out of sync |
@andresuribe87 you want to merge this one or the other one? |
Unfortunately, we cannot merge this yet until we figure out the issues mentioned. I'll be digging into it further this week. |
a dumb approach, that might just work is to have a check that fails if the swagger is not up to date. this forces the user to regen and re-commit and we don't need to worry bout the automation headache |
Note that swaggo currently is not idempotent. In particular, the approach of generating the file and detecting a diff to see if swagger is up to date would not work since as the result will always yield a diff. We could do a hack where we measure the diff size. I'm not sure if that's stable though. |
how do we make it idempotent? |
closing as this was just to try something out. |
Trying this from a branch - same as #198