-
Notifications
You must be signed in to change notification settings - Fork 203
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
[WIP] Add --waitTimeout flag to dapr stop command #1363
Conversation
Hi @nikitasarawgi, welcome to Dapr 👋🏻 Could you please fix the DCO check? https://docs.dapr.io/contributing/contributing-overview/#developer-certificate-of-origin-signing-your-work |
Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
* Updates the Dapr version to v1.12.0-rc.1 Signed-off-by: joshvanl <me@joshvanl.dev> * Use correct rc tag name Signed-off-by: joshvanl <me@joshvanl.dev> * Fix string match on `HTTP server is running on port x` Signed-off-by: joshvanl <me@joshvanl.dev> * Fix error string check for `internal gRPC server` Signed-off-by: joshvanl <me@joshvanl.dev> * Update dapr/dapr to 1.12.0-rc.3 Signed-off-by: joshvanl <me@joshvanl.dev> * Rolling restart the sidecar injector during a restart Signed-off-by: joshvanl <me@joshvanl.dev> * Linting Signed-off-by: joshvanl <me@joshvanl.dev> * Fix string matching on dapr app output logs Signed-off-by: joshvanl <me@joshvanl.dev> * Increase e2e tests `20m` -> `25m` Signed-off-by: joshvanl <me@joshvanl.dev> --------- Signed-off-by: joshvanl <me@joshvanl.dev> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
* update dapr runtime to v1.12.0 Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> * fix dashboard version Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> --------- Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: hdget <hdget@qq.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Shubham Sharma <shubhash@microsoft.com> Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](golang/net@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.57.0...v1.57.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
00b15d0
to
98e1950
Compare
Signed-off-by: Nikita Sarawgi <sarawgi.nikita@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikitasarawgi Can you add e2e for this feature?
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Description
Adding a new --waitTimeout flag to the dapr stop command - This flag allows users to specify a timeout duration in seconds, which determines the maximum time the command will wait for the process to exit gracefully. If the process remains active after this timeout, the command will forcefully terminate it.
The default --waitTimeout value is set to 15 seconds.
WIP - This is implemented only for linux for now. Currently learning how windows event signals work.
Unit tests run successfully.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1160
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: