babashka 2025-08-14

Does http-kit server works with bb?

if not, what's a good bb compatible alternative to build http servers with streaming support (SSE)

unasked context: I'm building a LLM mock server, to mock openai, anthropic and other LLMs responses to be able to integration test them in #eca

yes it works with bb

it's included in bb

🔥 1

oh that's awesome, I thought I needed the dep, testing it

pretty easy with bb

Any guess why bb with matcher-combinators the expected/actual print color is always 1-line wrong? 😅

😅 1

it's weird because I can't repro with simple maps:

(is (match?
       {:asidkoaiskaisodkasiodksoiadka 1
        :asidjoasjdaiosjdaisojdi 2
        :asjdiaojsdiaojaisjdo {:d 3}}
       {:asidkoaiskaisodkasiodksoiadka 1 :asidjoasjdaiosjdaisojdi 2
        :asjdiaojsdiaojaisjdo {:e 1}}))
the color is not just printed

will take a closer look later, just in case anyone has any clue

perhaps running the unit tests of matcher combinators will reveal something

👍 1