Skip to content

Backport of OSS merge: Update error handling login when applying extensions into release/1.16.x#17742

Merged
hc-github-team-consul-core merged 1 commit into
release/1.16.xfrom
backport/cthain/fix-extension-error-handling/indirectly-inviting-tetra
Jun 14, 2023
Merged

Backport of OSS merge: Update error handling login when applying extensions into release/1.16.x#17742
hc-github-team-consul-core merged 1 commit into
release/1.16.xfrom
backport/cthain/fix-extension-error-handling/indirectly-inviting-tetra

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #17740 to be assessed for backporting due to the inclusion of the label backport/1.16.

The below text is copied from the body of the original PR.


Description

This PR updates the logging and error handling logic for when extensions succeed or fail to apply. The existing behavior was always logging a failure message even when the extension was successfully applied. In some of the failure cases, the log message did not include the error returned from the extension.

Testing & Reproduction steps

  • agent/xds unit tests.

Links

PR Checklist

  • updated test coverage
  • external facing docs updated N/a
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/cthain/fix-extension-error-handling/indirectly-inviting-tetra branch from 8e250b2 to 1c79868 Compare June 14, 2023 17:05
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/cthain/fix-extension-error-handling/indirectly-inviting-tetra branch from f323d50 to 9132463 Compare June 14, 2023 17:05
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) June 14, 2023 17:05
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@github-actions github-actions Bot added the theme/envoy/xds Related to Envoy support label Jun 14, 2023
@hc-github-team-consul-core hc-github-team-consul-core merged commit c7d9075 into release/1.16.x Jun 14, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/cthain/fix-extension-error-handling/indirectly-inviting-tetra branch June 14, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme/envoy/xds Related to Envoy support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants