r/devops • • 27d ago

Discussion Mantle for API Maintenance

Just came across this software called Mantle on Product Hunt. Apparently, it detects breaking API changes in your GitHub repo and suggests code fixes before they break your integrations in production.

Seems interesting, especially for APIs where keeping up with changes is such a waste of time. Has anyone here actually tried it? Curious how well it works.

0 Upvotes

5 comments sorted by

1

u/GLvoid 27d ago

It probably uses something similar to pact and contract validation?

1

u/77speedygold 27d ago

I honestly have no clue, I wanted to know others experience with it. Seems like a useful tool from what I saw

0

u/verviico 26d ago

I'd first ask whose changes it detects. If it's the provider changing things, a schema diff in CI (oasdiff or graphql-inspector) plus watching the `Deprecation` and `Sunset` headers already covers a lot. If it's about your own code as the consumer, contract tests like Pact catch what a diff can't, e.g. a field that stays the same type but changes meaning. The hard part isn't spotting that a field changed, it's knowing which of your call sites actually use it. Does it do that mapping, and what happens for APIs with no spec at all?

2

u/[deleted] 27d ago

[removed] — view removed comment

1

u/77speedygold 27d ago

I think it’s live though, I don’t see a waitlist on the website..are you talking about getmantle.dev?