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

[auto 2.5.1] Fix automation - mercury v0.3 response decoding #10806

Merged
merged 4 commits into from
Sep 27, 2023

Conversation

infiloop2
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@@ -506,6 +506,7 @@ func (r *EvmRegistry) multiFeedsRequest(ctx context.Context, ch chan<- MercuryDa
} else if resp.StatusCode == 420 {
// in 0.3, this will happen when missing/malformed query args, missing or bad required headers, non-existent feeds, or no permissions for feeds
retryable = false
state = encoding.InvalidMercuryRequest
Copy link
Contributor Author

@infiloop2 infiloop2 Sep 27, 2023

Choose a reason for hiding this comment

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

this is unrelated to the bug but was missing before (different bug)

@infiloop2 infiloop2 changed the title Fix mercury v0.3 decoding [auto 2.5.1] Fix automation mercury v0.3 decoding Sep 27, 2023
@github-actions
Copy link
Contributor

@infiloop2 infiloop2 marked this pull request as ready for review September 27, 2023 14:39
@infiloop2 infiloop2 requested a review from a team as a code owner September 27, 2023 14:39
@infiloop2 infiloop2 changed the title [auto 2.5.1] Fix automation mercury v0.3 decoding [auto 2.5.1] Fix automation - mercury v0.3 decoding Sep 27, 2023
@infiloop2 infiloop2 changed the title [auto 2.5.1] Fix automation - mercury v0.3 decoding [auto 2.5.1] Fix automation - mercury v0.3 response decoding Sep 27, 2023
@RyanRHall
Copy link
Contributor

I think this is a good example of where making the streams lookup code more modular would be a significant benefit. IIUC, these changes now have to be c/p'd to monitoring and to the debugging script. IMHO it would be a more efficient use of dev time and safer if we could export a single streamslookup module from core and import that in chaincli and monitoring - it would help keep everything in sync.

@cl-sonarqube-production
Copy link

@infiloop2
Copy link
Contributor Author

I think this is a good example of where making the streams lookup code more modular would be a significant benefit. IIUC, these changes now have to be c/p'd to monitoring and to the debugging script. IMHO it would be a more efficient use of dev time and safer if we could export a single streamslookup module from core and import that in chaincli and monitoring - it would help keep everything in sync.

Fully agree! Just needs time to refactor and properly test

@infiloop2 infiloop2 merged commit e1bb7ab into release/2.5.1-automation Sep 27, 2023
135 checks passed
@infiloop2 infiloop2 deleted the bugfix/mercury-decoding branch September 27, 2023 15:56
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.

3 participants