Skip to content

Update Envoy#2660

Merged
jpsim merged 8 commits intomainfrom
update-envoy-1667829915
Nov 8, 2022
Merged

Update Envoy#2660
jpsim merged 8 commits intomainfrom
update-envoy-1667829915

Conversation

@envoy-bot
Copy link
Contributor

Automated changes by create-pull-request GitHub action

Signed-off-by: GitHub Action <noreply@github.com>
@envoy-bot envoy-bot requested a review from jpsim November 7, 2022 14:05
@jpsim jpsim self-assigned this Nov 8, 2022
jpsim added 6 commits November 8, 2022 14:35
Signed-off-by: JP Simard <jp@jpsim.com>
* origin/main:
  Bump Lyft Support Rotation (#2661)
  build: remove alwayslink
  set enablePlatformCertificateValidation to false on iOS by default (#2663)
  bump Envoy dep (#2659)

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Co-authored-by: Ryan Hamilton <rch@google.com>

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim force-pushed the update-envoy-1667829915 branch from 8812392 to ae7beb4 Compare November 8, 2022 19:35
absl::StrAppend(&output, it.first.length(), "\n", it.first, it.second.length(), "\n",
it.second);
for (const auto& [key, value] : store_) {
std::string string = value.first;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could come up with a more descriptive name in here? string doesn't say much. I find it hard to read this code as is but I am not familiar with it so it may be because of that.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd love for this to be a more descriptive name, but ultimately the store_ is a key-value store, so you get the key and value out of it, but the value is a std::pair<std::string, std::optional<std::chrono::duration<long long>>>, so it has two members: first is the actual string value, which could be anything as long as it's a string, and second is an optional duration which is its TTI.

So short of calling it string_value I'm not sure how else I could call this.

Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for the explanation.

I think that string_value sounds better but that's not a blocking comment so leaving the decision up to you.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry about the unreadable interface here! I've sent out an upstream Envoy PR to make this more readable. envoyproxy/envoy#23904 (Though it obviously won't help with JP's current PR, but eventually :>)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, Ryan!

Augustyniak
Augustyniak previously approved these changes Nov 8, 2022
absl::StrAppend(&output, it.first.length(), "\n", it.first, it.second.length(), "\n",
it.second);
for (const auto& [key, value] : store_) {
std::string string = value.first;
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for the explanation.

I think that string_value sounds better but that's not a blocking comment so leaving the decision up to you.

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim merged commit 410a9a2 into main Nov 8, 2022
@jpsim jpsim deleted the update-envoy-1667829915 branch November 8, 2022 21:23
jpsim added a commit that referenced this pull request Nov 14, 2022
…builder-function

* origin/main:
  ci: hopefully fixing bes timeout failures (#2666)
  Update Envoy (#2660)
  bazel: update rules_jvm_external to 4.5 (#2665)
  Remove note about DWARF patch being required (#2645)
  Bump Lyft Support Rotation (#2661)
  build: remove alwayslink
  set enablePlatformCertificateValidation to false on iOS by default (#2663)
  bump Envoy dep (#2659)
  Implement an iOS platform certificate verifier. (#2638)

Signed-off-by: JP Simard <jp@jpsim.com>
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.

4 participants