Skip to content

Conversation

fhqvst
Copy link
Contributor

@fhqvst fhqvst commented Sep 23, 2025

Summary

While uncommon, there are indeed cases where we create a product account and then fail to create price account. In such cases the price_account field (plus a few others) will be undefined, which breaks the zod schema.

Typically we'd remove these products manually, but we might as well just filter them out.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@fhqvst fhqvst requested a review from a team as a code owner September 23, 2025 15:13
Copy link

linear bot commented Sep 23, 2025

@fhqvst fhqvst self-assigned this Sep 23, 2025
@fhqvst fhqvst requested a review from alexcambose September 23, 2025 15:17
@fhqvst fhqvst force-pushed the fhqvst/ui-241-publisher-page-throwing-errors-in-conformance-cluster branch 2 times, most recently from bf11ef9 to e151575 Compare September 23, 2025 15:42
Copy link

vercel bot commented Sep 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
component-library Ready Ready Preview Comment Sep 24, 2025 7:59am
insights Ready Ready Preview Comment Sep 24, 2025 7:59am
5 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
api-reference Skipped Skipped Sep 24, 2025 7:59am
developer-hub Skipped Skipped Sep 24, 2025 7:59am
entropy-explorer Skipped Skipped Sep 24, 2025 7:59am
proposals Skipped Skipped Sep 24, 2025 7:59am
staking Skipped Skipped Sep 24, 2025 7:59am

@fhqvst fhqvst force-pushed the fhqvst/ui-241-publisher-page-throwing-errors-in-conformance-cluster branch from e151575 to b9f85f0 Compare September 24, 2025 07:57
@vercel vercel bot temporarily deployed to Preview – api-reference September 24, 2025 07:57 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer September 24, 2025 07:57 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub September 24, 2025 07:57 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals September 24, 2025 07:57 Inactive
@vercel vercel bot temporarily deployed to Preview – staking September 24, 2025 07:57 Inactive
@fhqvst fhqvst changed the title fix: Mark price feeds fields as optional fix: Exclude feeds for which there are product accounts but no price account Sep 24, 2025
@fhqvst fhqvst enabled auto-merge September 24, 2025 08:07
Copy link
Contributor

@alexcambose alexcambose left a comment

Choose a reason for hiding this comment

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

lgtm, tagging @cprussin for viz

@fhqvst fhqvst merged commit 67fb0f1 into main Sep 24, 2025
10 checks passed
@fhqvst fhqvst deleted the fhqvst/ui-241-publisher-page-throwing-errors-in-conformance-cluster branch September 24, 2025 13:06
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.

2 participants