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

feat: cherry-pick upstream commits #3

Merged
merged 10 commits into from
May 13, 2024
Merged

Conversation

rufusnufus
Copy link

No description provided.

alin-at-dfinity and others added 10 commits May 13, 2024 16:52
* Better Jira error handling

* Return HTTP 400 Bad Request for non-retriable errors. It is inaccurate, but
  will prevent alertmanager from retrying.
* Turns out go-jira does actually produce useful error messages (and it consumes
  the response body in the process). Log that instead of the empty body.

Signed-off-by: Alin Sinpalean <alin.sinpalean@gmail.com>

* Also include HTTP response status 429 among retriable errors.

Signed-off-by: Alin Sinpalean <alin.sinpalean@gmail.com>

* Include both the go-jira error and the response body in errors. Sometimes go-jira consumes the body and includes it in its error, sometimes it doesn't.

Signed-off-by: Alin Sinpalean <alin.sinpalean@gmail.com>

---------

Signed-off-by: Alin Sinpalean <alin.sinpalean@gmail.com>
Co-authored-by: Alin Sinpalean <alin.sinpalean@gmail.com>
…ity#150)

* Bump all dependencies (prometheus-community#133)

Signed-off-by: Jan-Otto Kröpke <jok@cloudeteer.de>

Signed-off-by: Jan-Otto Kröpke <jok@cloudeteer.de>
Signed-off-by: Holger Waschke <holger.waschke@dvag.com>

* parameter to disable update jira issues

Signed-off-by: Holger Waschke <holger_2000@hotmail.com>
Signed-off-by: Holger Waschke <holger.waschke@dvag.com>

* rename parameter to make it more clear and avoid double negation. fix bug with missing return value.

Signed-off-by: Holger Waschke <holger.waschke@dvag.com>

* Update main.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* Update notify.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* Update main.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* Update main.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* Update main.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* Update notify.go

Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>

* fix for notify test

Signed-off-by: Holger Waschke <holger.waschke@dvag.com>

---------

Signed-off-by: Jan-Otto Kröpke <jok@cloudeteer.de>
Signed-off-by: Holger Waschke <holger.waschke@dvag.com>
Signed-off-by: Holger Waschke <holger_2000@hotmail.com>
Signed-off-by: dvag-holger-waschke <85643002+dvag-holger-waschke@users.noreply.github.com>
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
Co-authored-by: Holger Waschke <holger_2000@hotmail.com>
Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
Signed-off-by: Herman Ewert <longtomjr@gmail.com>
Co-authored-by: Herman Ewert <hewert@mezzanineware.com>
… label value) (prometheus-community#147)

Signed-off-by: jzajic <jan.zajic@corpus.cz>
Signed-off-by: Julian Beck <ju-fa-beck@t-online.de>
…KB) (prometheus-community#165)

* truncate descriptions that exceed -max-description-length (default 32,768)

Signed-off-by: Jason Wells <spinmaster@gmail.com>

* Update main.go

size was off by 1

Signed-off-by: Jason Wells <spinmaster@gmail.com>

---------

Signed-off-by: Jason Wells <spinmaster@gmail.com>
…nsition state (prometheus-community#176)

Signed-off-by: Nathan Gotz <nathan.gotz@gmail.com>
)

* search for existing issue in multiple projects

Signed-off-by: Jason Wells <spinmaster@gmail.com>

* Apply suggestions from code review

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Jason Wells <spinmaster@gmail.com>

---------

Signed-off-by: Jason Wells <spinmaster@gmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
@rufusnufus rufusnufus marked this pull request as ready for review May 13, 2024 14:08
@rufusnufus rufusnufus merged commit e01463c into master May 13, 2024
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.

9 participants