Closed lumjjb closed 2 years ago
hey, could I work on this?
Go for it!!! 😄 I'll assign you!
On Wed, Oct 19, 2022, 12:20 AM Krishna Indani @.***> wrote:
hey, could I work on this?
— Reply to this email directly, view it on GitHub https://github.com/guacsec/guac/issues/163#issuecomment-1283403244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXLDBQRVZ2YHDUAWJATVSTWD5ZH5ANCNFSM6AAAAAARIPEMLA . You are receiving this because you authored the thread.Message ID: @.***>
thank you, I will start working on this
Currently golanglint
usually takes ~57000ms
. For the safer side, we can set the timeout limit to 60000ms
. This could be an easy quick fix.
Proposed solution:
.golangci.yaml
in root of the repository.run:
timeout: 2m
Note: 2 minutes to be on the safer side. other examples: 30s, 5m, default is 1m
.golangci.yaml
, default concurrency is an available CPU number. example: 4run:
timeout: 2m
concurrency: 4
I can send out the PR.
Sounds good to me 2 minute seems like plenty of time!
On Sat, Oct 22, 2022, 11:56 PM Siddhant Khare @.***> wrote:
Currently golanglint usually takes ~57000ms https://github.com/guacsec/guac/actions/runs/3301617490/jobs/5447291798#step:6:29. For the safer side, we can set the timeout limit to 60000ms. This could be an easy quick fix.
Proposed solution:
- Introducing a new file .golangci.yaml in root of the repository.
- file content:
run: timeout: 2m
- We do not need to define this file in our workflow https://github.com/guacsec/guac/blob/a61422c7892b7f231e5e42b3d398fc47bf78df93/.github/workflows/ci.yaml#L90-L91. It will be configured automatically.
Note: 2 minutes to be on the safer side.
I can send out the PR.
— Reply to this email directly, view it on GitHub https://github.com/guacsec/guac/issues/163#issuecomment-1287997426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXLDBTFRBIBT2TIK4SJE73WESZNNANCNFSM6AAAAAARIPEMLA . You are receiving this because you authored the thread.Message ID: @.***>
Fixed by #181
Thanks @krishnaindani for raising out the PR 🙌🏼
It's @krishnaindani who did the work, thank you @krishnaindani
Golang lint CI seems to timeout sometimes.. We should increase the timeout threshold!
https://github.com/guacsec/guac/blob/main/.github/workflows/ci.yaml#L90