Skip to content

api: force migrate v3alpha -> v3 - #18392

Merged
mattklein123 merged 4 commits into
mainfrom
migrate_alpha
Oct 4, 2021
Merged

mattklein123 merged 4 commits into
mainfrom
migrate_alpha

Conversation

@mattklein123

@mattklein123 mattklein123 commented Oct 4, 2021 •

Copy link
Copy Markdown
Member

Also adjust wip status for some things that are known to be used in
production.

Fixes #17920

Risk Level: High (for code, low, but there will be unhappy v3alpha users surely.)
Testing: Existing tests
Docs Changes: N/A
Release Notes: Added
Platform Specific Features: N/A

Also adjust wip status for some things that are known to be used in
production.

Fixes #17920

Signed-off-by: Matt Klein <[email protected]>
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @htuch
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #18392 was opened by mattklein123.

see: more, trace.

@mattklein123

Copy link
Copy Markdown
Member Author

cc @envoyproxy/api-shepherds

Signed-off-by: Matt Klein <[email protected]>

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think risk should be "high", in the sense this is likely to break a lot of people who are not following the letter of the law on API stability policy. Caveat emptor, I know, but if I was scanning commit logs for changes to pay attention to, this is one.

syntax = "proto3";

package envoy.extensions.cache.simple_http_cache.v3alpha;
package envoy.extensions.cache.simple_http_cache.v3;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it's totally valid to break stuff since these are alpha APIs. One alternative we have though is to clone v3alpha to v3 and just not support v3alpha in Envoy. I'm not sure how useful that would be, but if other API clients depend on alpha protos, that could be less bad. @markdroth any opinions here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have any strong opinion on this. gRPC doesn't use any alpha APIs, and I don't think that GCP depends on any of these APIs either.

In principle, I guess I agree that not forcibly breaking anyone who is depending on the alpha protos might be a bit more user-friendly, but at the same time, the whole point of alpha is to be able to make breaking changes, so... I can see both sides of this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Unless there are strong objections I'm just going to suggest we pull the bandaid here and get it done. If we receive extreme complaining we could potentially add the files back but let's see what happens?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That sounds fine to me.

@mattklein123

Copy link
Copy Markdown
Member Author

I think risk should be "high"

Updated

@alyssawilk alyssawilk added this to the 1.20.0 milestone Oct 4, 2021

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM contingent on other API shepherds (in particular @markdroth) sign-off.

Comment thread EXTENSION_POLICY.md Resolved
syntax = "proto3";

package envoy.extensions.cache.simple_http_cache.v3alpha;
package envoy.extensions.cache.simple_http_cache.v3;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have any strong opinion on this. gRPC doesn't use any alpha APIs, and I don't think that GCP depends on any of these APIs either.

In principle, I guess I agree that not forcibly breaking anyone who is depending on the alpha protos might be a bit more user-friendly, but at the same time, the whole point of alpha is to be able to make breaking changes, so... I can see both sides of this.

@markdroth

Copy link
Copy Markdown
Contributor

/lgtm api

@repokitteh-read-only repokitteh-read-only Bot removed the api label Oct 4, 2021

@alyssawilk alyssawilk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(given the dual shephard sign-off I'm fine with the actual changes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify API versioning for alpha APIs

4 participants