I'd prefer if it'd simply execute the step to rebuild with sbuild, the version in the debian-rebuilder-setup repo[1] does that and the code that builds on top of that expects it as well.
[1]: https://salsa.debian.org/reproducible-builds/debian-rebuilder-setup/-/raw/master/builder/srebuild debrebuild should support usage like: if debrebuild some.buildinfo; then echo GOOD else echo BAD fi With some extra options if necessary.