You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run pact publish, use the PR branch and version variables (git sha for version)
once deployed to a testing env, call record-deployment to change the environment (testing)
Post-merge:
run pact publish, use the master branch and version (git sha changed after squash and merge)
once deployed to prod, call record-deployment to change the environment (prod)
This leads to multiple 'hanging' contracts to be displayed in the Overview page. We would ideally not want to see the old pre-merge branches/versions as those test environments are ephemeral and would no longer be utilised.
Ideally, we would be able to filter the Overview page to show Deployed/Released contracts only.
The text was updated successfully, but these errors were encountered:
Thanks! As discussed on Slack, integration with the SCM provider (#45) and removing contracts related to dead branches would be one way to address this. It's probably possibly by a custom GitHub webhook that then deletes any related pacts, but I can see why that's a bit much to ask of our cusomers!
I've also wondered if we could potentially leverage information from the use of pact-broker record-deployment/release. Once an old contract has been replaced, it could potentially be marked as stale and deprioritised in the UI.
Filtering in the UI could still be a useful feature. We have a new UX/UI coming later this year (dates TBC), and the proposed screens would allow you to filter the related contracts in a similar way to your description.
https://pact-foundation.slack.com/archives/C9VPNUJR2/p1678713857828619
We follow this approach currently:
Pre-merge:
Post-merge:
This leads to multiple 'hanging' contracts to be displayed in the Overview page. We would ideally not want to see the old pre-merge branches/versions as those test environments are ephemeral and would no longer be utilised.
Ideally, we would be able to filter the Overview page to show Deployed/Released contracts only.
The text was updated successfully, but these errors were encountered: