Skip to content

Conversation

znewman01
Copy link
Contributor

@znewman01 znewman01 commented Sep 21, 2022

Signed-off-by: Zachary Newman z@znewman.net

Context: linting in CI (golangci-lint) occasionally times out on
Windows (flaky). Most of the time, it's fast enough (~1min). But
occasionally it hits the 3 minute timeout. It's somewhat expected that
golangci-lint is slow:

golangci/golangci-lint-action#297

This PR does 3 things:

  1. Bump the timeout from 3 to 5 minutes (why solve the problem when you
    can band-aid it?)
  2. Add the --verbose flag, so if we start to see this again we'll have
    much better information with which to figure out what specifically is
    taking so long.
  3. Remove the patch number from the golangci-lint version; it's
    disallowed, according to the golangci-lint action README.

Fixes #390 (for now).

@znewman01 znewman01 marked this pull request as draft September 21, 2022 19:28
Context: linting in CI (`golangci-lint`) occasionally times out on
Windows (flaky). Most of the time, it's fast enough (~1min). But
occasionally it hits the 3 minute timeout. It's somewhat expected that
`golangci-lint` is slow:

golangci/golangci-lint-action#297

This PR does 3 things:

1. Bump the timeout from 3 to 5 minutes (why solve the problem when you
   can band-aid it?)
2. Add the `--verbose` flag, so if we start to see this again we'll have
   much better information with which to figure out what specifically is
   taking so long.
3. Remove the patch number from the `golangci-lint` version; it's
   disallowed, according to the `golangci-lint` action README.

Fixes theupdateframework#390 (for now).

Signed-off-by: Zachary Newman <z@znewman.net>
@znewman01 znewman01 changed the title DO NOT SUBMIT: testing CI tests: update lint CI parameters Sep 21, 2022
@znewman01 znewman01 changed the title tests: update lint CI parameters test: update lint CI parameters Sep 21, 2022
@znewman01 znewman01 requested a review from mnm678 September 21, 2022 20:10
@mnm678 mnm678 marked this pull request as ready for review September 21, 2022 20:11
@trishankatdatadog trishankatdatadog merged commit 8a4aabf into theupdateframework:master Sep 21, 2022
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.

Increase lint test timeout
3 participants