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

fix: Handle plugin execute failure case #185

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

disq
Copy link
Member

@disq disq commented Dec 7, 2023

Before this, if the plugin fails to execute it will hang trying to connect to grpc.

@disq disq requested a review from yevgenypats as a code owner December 7, 2023 12:13
@github-actions github-actions bot added the fix label Dec 7, 2023
var err error
c.Conn, err = grpc.DialContext(ctx, c.grpcSocketName,
c.Conn, err = grpc.DialContext(ktx, c.grpcSocketName,
Copy link
Member Author

Choose a reason for hiding this comment

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

from the godoc:

In the blocking case, ctx can be used to cancel or expire the pending connection. Once this function returns, the cancellation and expiration of ctx will be noop.

@disq disq added the automerge Add to automerge PRs once requirements are met label Dec 7, 2023
@kodiakhq kodiakhq bot merged commit 4708734 into main Dec 7, 2023
8 checks passed
@kodiakhq kodiakhq bot deleted the fix/handle-plugin-execute-fail branch December 7, 2023 12:28
kodiakhq bot pushed a commit that referenced this pull request Dec 7, 2023
🤖 I have created a release *beep* *boop*
---


## [1.14.3](v1.14.2...v1.14.3) (2023-12-07)


### Bug Fixes

* **deps:** Update github.com/gomarkdown/markdown digest to a660076 ([#175](#175)) ([3ee549b](3ee549b))
* **deps:** Update golang.org/x/exp digest to 6522937 ([#176](#176)) ([1f0e032](1f0e032))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to 3a041ad ([#178](#178)) ([1e7f21a](1e7f21a))
* **deps:** Update module github.com/avast/retry-go/v4 to v4.5.1 ([#179](#179)) ([3fdb491](3fdb491))
* **deps:** Update module github.com/chenzhuoyu/iasm to v0.9.1 ([#180](#180)) ([e5ee4b5](e5ee4b5))
* **deps:** Update module github.com/gorilla/css to v1.0.1 ([#181](#181)) ([a53c93f](a53c93f))
* **deps:** Update module github.com/kataras/golog to v0.1.11 ([#182](#182)) ([63ebf10](63ebf10))
* **deps:** Update module github.com/kataras/iris/v12 to v12.2.8 ([#183](#183)) ([cd22fa7](cd22fa7))
* Handle plugin execute failure case ([#185](#185)) ([4708734](4708734))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants