Skip to content

mobile: using the API listener by default#25899

Merged
alyssawilk merged 7 commits intoenvoyproxy:mainfrom
alyssawilk:listener
Mar 15, 2023
Merged

mobile: using the API listener by default#25899
alyssawilk merged 7 commits intoenvoyproxy:mainfrom
alyssawilk:listener

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk commented Mar 2, 2023

Risk Level: medium
Testing: yes
Docs Changes: no
Release Notes: inline
Fixes envoyproxy/envoy-mobile#2711

@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #25899 was opened by alyssawilk.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/runtime-guard-changes: FYI only for changes made to (source/common/runtime/runtime_features.cc).

🐱

Caused by: #25899 was opened by alyssawilk.

see: more, trace.

@alyssawilk alyssawilk force-pushed the listener branch 7 times, most recently from b6fc545 to 7ff8cb8 Compare March 6, 2023 19:46
@alyssawilk
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.

🐱

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

see: more, trace.

@alyssawilk
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.

🐱

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

see: more, trace.

@alyssawilk
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.

🐱

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

see: more, trace.

@alyssawilk alyssawilk marked this pull request as ready for review March 8, 2023 21:07
Signed-off-by: Alyssa Wilk <[email protected]>
Augustyniak
Augustyniak previously approved these changes Mar 9, 2023
Copy link
Copy Markdown
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

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

+1 with one nit/typo and one question.

I went over the referenced GH issue to catch up on the decisions that were made with regard to the rollout of the change.

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw test \
--build_tests_only \
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.

just curious - was this needed or just an improvement?

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.

it avoids trying to build mobile/test/common/jni/BUILD on the build we rm -rf the listener file :-P

native_dep = "libenvoy_jni_with_test_extensions.so",
)

# Same as above but wtih listener extensions too.
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.

Suggested change
# Same as above but wtih listener extensions too.
# Same as above but with listener extensions too.

Signed-off-by: Alyssa Wilk <[email protected]>
@Augustyniak
Copy link
Copy Markdown
Contributor

Talked with @jpsim. We are going to run the last round of unit/integration tests in Lyft apps to confirm that everything works as expected. We will report back soon.

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Mar 9, 2023

I think I may not have tested this properly last week because the Swift setRuntimeGuard APIs weren't fully hooked up. Fixing that in #26013

Signed-off-by: Alyssa Wilk <[email protected]>
@alyssawilk
Copy link
Copy Markdown
Contributor Author

ack - I'd rather wait a few days than land without testing - feel free to mark as waiting on in-house testing if needed!

@alyssawilk
Copy link
Copy Markdown
Contributor Author

/wait on Lyft internal testing

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Mar 14, 2023

Lyft testing on iOS and Android is complete, everything looked good.

I'll let Rafal review this PR though.

Copy link
Copy Markdown
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

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

@alyssawilk The change looks good to me. Thank you for verifying @jpsim.

.

@alyssawilk alyssawilk merged commit f6ba389 into envoyproxy:main Mar 15, 2023
@alyssawilk
Copy link
Copy Markdown
Contributor Author

ugh sorry. happy to roll back and resubmit next week if you'd prefer?

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Mar 15, 2023

ugh sorry. happy to roll back and resubmit next week if you'd prefer?

I think I'm missing something here. As far as I know this hasn't caused any issues?

@Augustyniak
Copy link
Copy Markdown
Contributor

I think I'm missing something here. As far as I know this hasn't caused any issues?

It related to my previous (and edited) message where I suggested we wait with the merge until next week. I removed that message after I realized the PR was merged due to auto-merge enabled for the PR (and me approving it). @alyssawilk I think that we are fine here but thank you for offering to help. Apologies for the confusion. I will let you know if we run into any issues and need to revert.

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.

remove downstream listeners from Envoy Mobile build

3 participants