News for hackers. Stuff that matters.
Re:Show HN: Tusk Drift – Open-source tool for automating API... by imiric on Tuesday November 11, 2025 @10:57AM (#45888794)
What does this do that I can't do with mitmproxy?
Re:Show HN: Tusk Drift – Open-source tool for automating API... by bilekas on Tuesday November 11, 2025 @11:38AM (#45889374)
You would need to add your own validation (determining deviations) into your mitm proxy. It's a testing framework that seems to want to streamline multiple streams of api testing. It's not reinventing the wheel, but it doesn't claim to either.

Looks like a nice tool, will check it out later when I get a chance.

Re:Show HN: Tusk Drift – Open-source tool for automating API... by Marceltan on Tuesday November 11, 2025 @11:45AM (#45889473)
Also yes, appreciate you calling this out. The deviation classification after replay + automated RCA for unintended deviations is another differentiator. Let me know if you have feedback when you get time to explore.
Re:Show HN: Tusk Drift – Open-source tool for automating API... by Marceltan on Tuesday November 11, 2025 @11:41AM (#45889421)
Fair shout. Our instrumentations (https://github.com/Use-Tusk/drift-node-sdk?tab=readme-ov-fil...) hook directly into pg, mysql2, ioredis, firestore, etc., at the library level.

We capture the actual DB queries, Redis cache hits, JWT generation, and not just the HTTP calls (like you would see with mitmproxy), which lets us replay the full request chain without needing a live database or cache. This way each test runs idempotently.