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

Typing notification store #15331

Merged
merged 18 commits into from
Jan 10, 2025
Merged

Typing notification store #15331

merged 18 commits into from
Jan 10, 2025

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented Jan 9, 2025

Description

While QAing, I found an existing issue for apps trying to access pg instances that are not available. On that case the API returns the following response:
image

The current code, when the errors don't contain a message, it falls back to showing the "error" field. In this case it can be objects, displaying a confusing message to the end user:
image

While diagnosing the issue, I typed the notification store and the related client stores.

The end result is not ideal, as the server should probably throw a better formatted error, but this makes sure that errors throwned to the client are at least readable:
image

Launchcontrol

Add a small description in layman's terms of what this PR achieves. This will be used in the release notes.

Copy link

qa-wolf bot commented Jan 9, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/s labels Jan 9, 2025
@adrinr adrinr requested a review from PClmnt January 10, 2025 12:10
Copy link
Collaborator

@mike12345567 mike12345567 left a comment

Choose a reason for hiding this comment

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

LGTM!

@adrinr adrinr enabled auto-merge January 10, 2025 14:25
@adrinr adrinr merged commit 8213ab9 into master Jan 10, 2025
20 checks passed
@adrinr adrinr deleted the ts/notification-store branch January 10, 2025 14:32
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants