Skip to content

config: extending usage of EnvoyMobileHttpConnectionManager - #17407

Merged
alyssawilk merged 7 commits into
envoyproxy:mainfrom
alyssawilk:mobile-hcm
Jul 21, 2021
Merged

alyssawilk merged 7 commits into
envoyproxy:mainfrom
alyssawilk:mobile-hcm

Conversation

@alyssawilk

Copy link
Copy Markdown
Contributor

#17110 the EnvoyMobileHttpConnectionManager but it turns out it's instantiated either as a standard network filter (needs a name) or as an API listener (which only accepted HttpConnectionManager)

Fixing both issues.

Risk Level: low
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Part of envoyproxy/envoy-mobile#1540

@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 @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #17407 was opened by alyssawilk.

see: more, trace.

Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Alyssa Wilk <[email protected]>
@alyssawilk

Copy link
Copy Markdown
Contributor Author

:-(

/wait

Signed-off-by: Alyssa Wilk <[email protected]>
@alyssawilk

Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit isn't fully completed, but will still attempt retrying.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17407 (comment) was created by @alyssawilk.

see: more, trace.

@markdroth

Copy link
Copy Markdown
Contributor

/lgtm api

@mattklein123 mattklein123 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.

Thanks LGTM with small comment.

/wait

typed_config.config(), factory_context_, read_callbacks_, false);
END_TRY
catch (const EnvoyException& e) {
auto typed_config = MessageUtil::anyConvertAndValidate<

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.

nit: this is a bit odd to retry during the exception catch. Can you potentially just match on the type_url of the config and then have a better not supported message if it's neither of the supported ones? Or we could do a specific registry for things that work with the API listener? At minimum I would do a comment/TODO here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

would you accept a tracking bug and a follow-up PR?
I'd prefer to make sure this all hangs together on the mobile side (as the first round didn't) and adding a TODO would require another CI cycle.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

#17434 filed optimistically but no pressure :-)

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.

Sure a follow up is fine, thanks.

@alyssawilk
alyssawilk merged commit 463eda2 into envoyproxy:main Jul 21, 2021
yanavlasov added a commit that referenced this pull request Jul 21, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
…xy#17407)

envoyproxy#17110 the EnvoyMobileHttpConnectionManager but it turns out it's instantiated either as a standard network filter (needs a name) or as an API listener (which only accepted HttpConnectionManager)

Fixing both issues.

Risk Level: low
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Part of envoyproxy/envoy-mobile#1540

Signed-off-by: Alyssa Wilk <[email protected]>
@alyssawilk
alyssawilk deleted the mobile-hcm branch February 28, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants