-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(preprod): Add granular installable app error codes (EME-883) #113440
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
Changes from all commits
7da0b69
156e0af
8315dc9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| import logging | ||
| from typing import Any, cast | ||
|
|
||
| from pydantic import BaseModel, Field | ||
| from pydantic import BaseModel | ||
| from rest_framework.request import Request | ||
| from rest_framework.response import Response | ||
|
|
||
|
|
@@ -24,7 +24,7 @@ | |
|
|
||
|
|
||
| class PutDistribution(BaseModel): | ||
| error_code: int = Field(ge=0, le=3) | ||
| error_code: PreprodArtifact.InstallableAppErrorCode | ||
| error_message: str | ||
|
Comment on lines
+27
to
28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixTo align the implementation with the stated intent, make the Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to keep the
switchin the frontend? If not could just put the right messages here.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but following from you other comment, I'll emit the messages from launchpad. Started a PR to do that here: getsentry/launchpad#603
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These ones I don't think can some from launchpad - because if we skip for quota/disabled I'm not sure the launchpad code ever runs.