Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VC-35738] Feature Branch #602

Merged
merged 12 commits into from
Nov 14, 2024
Merged

[VC-35738] Feature Branch #602

merged 12 commits into from
Nov 14, 2024

Conversation

wallrj and others added 12 commits October 31, 2024 09:31
… a second server (#600)

Signed-off-by: Richard Wall <richard.wall@venafi.com>
…at (#596)

* Log with klog to stdout and stderr in Kubernetes text format

Signed-off-by: Richard Wall <richard.wall@venafi.com>
Co-authored-by: Maël Valais <mael@vls.dev>
Instead of using log.Fatal in some of them

Signed-off-by: Richard Wall <richard.wall@venafi.com>
* Test that one-shot mode exits
* Stop the server when the context is cancelled
…entrally instead of using log.Fatal at multiple sites (#599)

* Bubble up the errors from sub-commands and handle errors centrally instead of using log.Fatal at multiple sites
* Log the bubbled up error instead of printing it
* Turn on SilenceErrors and SilenceUsage to prevent Cobra from messing up the stderr output
* Remove obsolete translations for converting log.printf to error messages
…606)

* Append errgroup errors to Run return error
* Fail TestRunOneShot if Run returns errors
…Go Routines (#605)

Signed-off-by: Richard Wall <richard.wall@venafi.com>
And use the Execute function

Signed-off-by: Richard Wall <richard.wall@venafi.com>
…e realistic (#611)

Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
…emaining code (#612)

Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
@wallrj wallrj changed the title WIP: [VC-35738] Feature branch [VC-35738] Feature Branch Nov 14, 2024
@wallrj wallrj requested a review from maelvls November 14, 2024 12:17
Copy link
Member

@maelvls maelvls left a comment

Choose a reason for hiding this comment

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

We have discussed the idea of merging this before releasing 1.3.0. I'm OK with this: I feel confident that the logging changes won't be affecting customers thanks to the lots of unit tests as well as with the manual tests performed by Richard throughout the PRs.

@wallrj wallrj merged commit d2fb4f0 into master Nov 14, 2024
2 checks passed
@wallrj wallrj deleted the VC-35738/feature branch November 14, 2024 12:26
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.

2 participants