Re:Miniflare – Simulator for developing and testing Cloudfla...
by threepointone on Sunday September 26, 2021 @03:21AM
(#28659057)
Could you share more detail about your usecase? What kind of checks are you looking for? I'd be happy to have a look at that (and presumably if we could do it before it gets uploaded, that would be great)
[ Parent
| on HN ]
Re:Miniflare – Simulator for developing and testing Cloudfla...
by Havoc on Sunday September 26, 2021 @05:13AM
(#28659480)
>What kind of checks are you looking for?
A very basic rudementary static code analysis that can check whether this is a valid CF worker configuration.
>Could you share more detail about your usecase?
In a CI configuration like gitlab CI. e.g. Currently I'm using an incredibly hacky setup that loads the function into miniflare locally, hits then endpoint with a curl and checks that it comes back with 200 HTTP.
If yes then assumption is that it's sound & next stage of CI can actually deploy the function.
Not super high priority though - please prioritise other requests above this since I've already got a working duct tape fix for my problem