-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support retries on first commit (#713)
We originally required retries to only be allowed on the same revision as the last attempted deploy to prevent accidental reverts in history. However, there is an edge case where the first deployment on a root needs a retry. When it's the first deployment, the commit direction will always default to `DirectionAhead` instead of `DirectionIdentical` so we need to handle that scenario separately. This change is technically a non-deterministic change (very unlikely to occur, as it's a rare scenario) so I've protected the rollout with versioning. While doing this, I also went ahead and cleaned up old versions in the Deploy workflow that are no longer relevant.
- Loading branch information
1 parent
fcd0d39
commit 268ec39
Showing
6 changed files
with
95 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters