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: shutdown workers on SIGTERM or SIGINT #92

Merged
merged 3 commits into from
Oct 14, 2024
Merged

Conversation

jyecusch
Copy link
Member

@jyecusch jyecusch commented Oct 4, 2024

No description provided.

@jyecusch jyecusch requested a review from tjholm October 4, 2024 08:52
The test was using a version lower than 1.22.1 (the minimum needed for the project). The lichen license checker relies on the JSON output from `go mod download`, but when the version is to low the output looks like this:

```
go: github.com/nitrictech/nitric/core@v0.0.0-20241003062412-76ea6275fb0b requires go >= 1.22.1; switching to go1.22.8
{
        "Path": "google.golang.org/grpc",
        "Version": "v1.66.0",
...
```

resulting in invalid JSON, breaking the test. Setting the go version used for the test fixes this.
@jyecusch jyecusch merged commit 9290bb2 into main Oct 14, 2024
1 check passed
@jyecusch jyecusch deleted the fix/handle-sigterm-sigint branch October 14, 2024 03:04
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