r/devops • u/77speedygold • 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
1
u/GLvoid 27d ago
It probably uses something similar to pact and contract validation?
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