babashka-sci-dev

lispyclouds 2022-12-30T13:47:12.610799Z

continuing the reliable http service discussion here: found https://github.com/mccutchen/go-httpbin but it doesnt have releases, maybe we can build and host the binaries somewhere and pull into the CI when needed? the code in the repo seems quite well done and self contained to be used in most places

borkdude 2022-12-30T14:02:08.272269Z

@rahul080327 worth an experiment, I'd say let's test it inside the babashka.curl library in a branch

borkdude 2022-12-30T14:02:40.475669Z

and else we'll just mark http tests as :flaky and skip those on master, I still think that's better than having to run a go binary locally tbh

lispyclouds 2022-12-30T14:03:39.628889Z

yeah no doubts on the flaky tests approach, this is more from an "integration tests" perspective

lispyclouds 2022-12-30T14:05:11.651019Z

we wont be doing https calls with this though, setting that up with certs is gonna be a headache

borkdude 2022-12-30T14:06:02.334659Z

pff, flaky tests already https://github.com/babashka/http-client/actions/runs/3807243454/jobs/6476752096#step:6:1544

borkdude 2022-12-30T14:06:17.612589Z

I'd say let's not bother with this at all then

borkdude 2022-12-30T14:06:29.377369Z

all tests currently are doing https

borkdude 2022-12-30T14:06:57.041439Z

I prefer the low tech solution, it's the only way to not make the local testing more complicated

lispyclouds 2022-12-30T14:07:19.068549Z

yeah i'll go look for more options

lispyclouds 2022-12-30T14:08:25.156299Z

maybe you could try the tests with https://httpbingo.org/ if thats any better 😛

lispyclouds 2022-12-30T14:09:05.334929Z

given any hosted service, its gonna suck at some point i suppose