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

revise error messages with regards to DerivationIndex #2269

Merged
merged 2 commits into from
Oct 26, 2020

Conversation

KtorZ
Copy link
Member

@KtorZ KtorZ commented Oct 26, 2020

Issue Number

ADP-509

Overview

  • 0d1f207
    📍 revise error messages and error code for DerivationIndex
    The current errors were saying black and white at the same time. Understanding what was a valid a value for derivation index and what was not was unclear.

  • 96c62fb
    📍 remove 409 Conflict from possible errors of the new signature endpoint.

Comments

@KtorZ KtorZ self-assigned this Oct 26, 2020
@KtorZ KtorZ requested a review from piotr-iohk October 26, 2020 09:59
@KtorZ KtorZ changed the title Ktor z/adp 509/error revisions revise error messages with regards to DerivationIndex Oct 26, 2020
Copy link
Contributor

@piotr-iohk piotr-iohk left a comment

Choose a reason for hiding this comment

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

LGTM.

KtorZ added 2 commits October 26, 2020 13:47
  The current errors were saying black and white at the same time. Understanding what was a valid a value for derivation index and what was not was unclear.
@KtorZ KtorZ force-pushed the KtorZ/ADP-509/error-revisions branch from 96c62fb to bb6528d Compare October 26, 2020 12:47
@KtorZ
Copy link
Member Author

KtorZ commented Oct 26, 2020

bors merge

iohk-bors bot added a commit that referenced this pull request Oct 26, 2020
2269: revise error messages with regards to DerivationIndex r=KtorZ a=KtorZ

# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->

ADP-509

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- 0d1f207
  📍 **revise error messages and error code for DerivationIndex**
    The current errors were saying black and white at the same time. Understanding what was a valid a value for derivation index and what was not was unclear.

- 96c62fb
  📍 **remove 409 Conflict from possible errors of the new signature endpoint.**

# Comments

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


2270: Drop `PoolMetadataFetchAttempts` in `removePoolMetadata` r=hasufell a=hasufell

When removing pool metadata, there's no point in keeping
the last fetch attempts. In fact, this might delay re-syncing
further.

Co-authored-by: KtorZ <[email protected]>
Co-authored-by: Julian Ospald <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 26, 2020

This PR was included in a batch that timed out, it will be automatically retried

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 26, 2020

Build succeeded:

@iohk-bors iohk-bors bot merged commit d2c1c0c into master Oct 26, 2020
@iohk-bors iohk-bors bot deleted the KtorZ/ADP-509/error-revisions branch October 26, 2020 19:41
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.

4 participants