Consider the release when checking for completion
When tracking the pending jobs, use both the release and the build id to identify a batch, not just the build id.
This has been the case in practice for a while, since the build ids reflect the time each build is started and they are scheduled differently, but formalizing it in the code allow us to explicitly indicate the release when sending notifications.