Skip to content

Conversation

@theunrepentantgeek
Copy link
Member

What this PR does

Captures offline discussion about how to address #4147 so that users don't get nasty surprises.

How does this PR make you feel?

gif

Checklist

  • this PR contains documentation

Copy link
Member

@matthchr matthchr left a comment

Choose a reason for hiding this comment

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

Approved with some minor clarity comments


A simple change to the format we use for resource versions would be to simplify the prefix used to just `v`, giving resource versions like this:

* `v20210201`
Copy link
Member

Choose a reason for hiding this comment

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

Another option is to do v<date>1 or v1<date> (we'd probably want v1<date> so that updated ASO schemas result in those versions all "winning"), which results in a somewhat awkward looking number but maintains all of the ordering guarantees we want.

Though, I suppose the argument could be made that if we ever want to make a big change like that, we could still do it and just introduce v1<date> at that time, and since 1<date> is larger than <date> it'll take precedence, and avoids us needing to commit to the awkward 1 now, only if we ever end up needing it?

I think I'm fine with that as the approach but it would be good to call out some of that logic in the ADR for future-us.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added, including discussion on why it's not a good idea.

@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Jun 17, 2025
Merged via the queue into main with commit 8202eca Jun 17, 2025
8 checks passed
@theunrepentantgeek theunrepentantgeek deleted the doc/version-priority branch June 17, 2025 20:54
@github-project-automation github-project-automation bot moved this from In Progress to Recently Completed in Azure Service Operator Roadmap Jun 17, 2025
@matthchr matthchr moved this from Recently Completed to Ready for Release in Azure Service Operator Roadmap Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants