Skip to content

Conversation

0x2b3bfa0
Copy link
Member

Now users can run e.g. task create --name experiment to create a task named experiment with a randomly generated suffix, avoiding clashes due to cloud providers' globally unique resource name requirements.

Note
Terraform resources' behavior remains unaltered and fully backwards-compatible. This change only affects the standalone command-line tool.

@0x2b3bfa0 0x2b3bfa0 added enhancement New feature or request ui/ux User interface/experience labels Sep 3, 2022
@0x2b3bfa0 0x2b3bfa0 self-assigned this Sep 3, 2022
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 3, 2022 00:25 Inactive
@0x2b3bfa0 0x2b3bfa0 linked an issue Sep 3, 2022 that may be closed by this pull request
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 3, 2022 00:25 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 3, 2022 00:25 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a review from a team September 3, 2022 00:26
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 3, 2022 00:56 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 3, 2022 00:57 Abandoned
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 3, 2022 00:57 Abandoned
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 3, 2022 00:57 Inactive
@0x2b3bfa0 0x2b3bfa0 changed the title Allow human-readable identifier generation Implement human-readable random identifier generation Sep 3, 2022
Copy link
Contributor

@tasdomas tasdomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good, but..

exposed declarations need a short docstring identifying them, for an overview of go documentation guidelines see go.dev

@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 4, 2022 13:50 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 4, 2022 13:51 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 4, 2022 13:51 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 4, 2022 13:51 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a review from tasdomas September 4, 2022 13:51
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 5, 2022 01:58 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 5, 2022 01:58 Abandoned
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 5, 2022 01:58 Abandoned
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 5, 2022 01:58 Abandoned
@tasdomas
Copy link
Contributor

tasdomas commented Sep 9, 2022

Let's pass the tests and land this - contrary to popular belief PRs do not need time to "breathe" :)

@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 08:38 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 9, 2022 08:38 Abandoned
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 9, 2022 08:38 Abandoned
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 9, 2022 08:38 Abandoned
@0x2b3bfa0
Copy link
Member Author

contrary to popular belief PRs do not need time to "breathe"

Pull requests probably don't, but developers do. 🤣

@0x2b3bfa0
Copy link
Member Author

Let me see if I can pass the tests: this pull request modifies code that is common to every “cloud” and I would like all the smoke tests to pass.

@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 08:49 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 08:49 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 15:18 Inactive
@0x2b3bfa0 0x2b3bfa0 requested a deployment to automatic September 9, 2022 15:18 Abandoned
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 15:18 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic September 9, 2022 15:18 Inactive
@0x2b3bfa0
Copy link
Member Author

It looks like Kubernetes succeeded, despite the last failed run; merging...

@0x2b3bfa0 0x2b3bfa0 merged commit 64d3d0d into master Sep 9, 2022
@0x2b3bfa0 0x2b3bfa0 deleted the human-readable branch September 9, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui/ux User interface/experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow users to specify custom identifiers with a random suffix
2 participants