Repository navigation
types: add optional release sequence field - #82
Closed
alisawavezen12 wants to merge 2 commits into
Closed
alisawavezen12 wants to merge 2 commits into
alisawavezen12 wants to merge 2 commits into
Conversation
neSpecc
reviewed
Sep 11, 2026
| */ | ||
| release: string; | ||
| /** | ||
| * Optional sequence for new releases, assigned from 1 within a project. |
Member
There was a problem hiding this comment.
explain what is "release sequence" and why it is used
Contributor
Author
There was a problem hiding this comment.
releaseSequence is a number for each project. It shows the order in which new releases were first saved in Hawk.
The release validator will use it to find the previous release and compare events between releases. We cannot use the release name or the RabbitMQ message order because release names can be arbitrary, and messages can arrive late or more than once.
The field is optional because old releases were created before this feature and do not have this value. For now, the number shows the order in which Hawk first received the releases, not the exact deployment order.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an optional
releaseSequencefield toReleaseDBScheme.Purpose
releaseSequencewill represent the order in which new releases are first registered in Hawk within a project. It will be used later by the release validator to determine the previous release when comparing event groups and assigninglikelyFixed.The sequence:
1for each project;