fix: adjust name for ActionIdentifier to a fixed value "a0"#7092
Draft
SZL741023 wants to merge 1 commit intoflyteorg:v2from
Draft
fix: adjust name for ActionIdentifier to a fixed value "a0"#7092SZL741023 wants to merge 1 commit intoflyteorg:v2from
SZL741023 wants to merge 1 commit intoflyteorg:v2from
Conversation
fix the duplicated key not allowed issue for adjusting name to fixed value add run_name to unique index idx_actions_identifier add function to drop old index idx_actions_identifier before build new idx_actions_identifier sync action_test.go constraint Signed-off-by: SZL741023 <shengzhe.lin@icloud.com>
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.
Tracking issue
Why are the changes needed?
Assign value
"a0"todetails.action.id.name, but it is one of the unique index inidx_action_domain.If this value is fixed, that mean all workflow only can have a run task, so add the
run_nameto be one of the unique index inidx_action_domain.What changes were proposed in this pull request?
Fix the duplicated key not allowed issue for adjusting
details.action.id.nameto fixed valueAdd run_name to unique index
idx_actions_identifier.Add migrate function to drop old index idx_actions_identifier before build new type idx_actions_identifier
Sync
action_test.goconstraintHow was this patch tested?
Labels
Please add one or more of the following labels to categorize your PR:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
Test Result
main