-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Use UUID for Trigger Event IDs #901
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
Comments
dibyom
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
Jan 15, 2021
Sounds reasonable to me! |
Sounds reasonable - some notes:
|
We used to have
I think new UUID should be introduced as an opt-in, otherwise the new release will break many templates. |
dibyom
added a commit
that referenced
this issue
Feb 2, 2021
Since $(uid) is now a UUID, this will create names that are too long. See #901 (comment)
4 tasks
tekton-robot
pushed a commit
that referenced
this issue
Feb 2, 2021
Since $(uid) is now a UUID, this will create names that are too long. See #901 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short proposal I wanted to get feedback on before making a change.
Currently we generate Event IDs similar to
generateName
by randomly generating a 5 character string to associate to the event. While this has worked so far, we might find that the current 5 character solution isn't sufficient in the future, particularly if/when we start recording events that don't result in runs.Instead of slowly growing the Event ID over time, I think we should switch over to UUIDs for Event ID generation. This is how k8s objects generate UIDs, and would be a fairly straight forward change for us since we treat these IDs as opaque strings today.
Let me know if anyone has any objections!
The text was updated successfully, but these errors were encountered: