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

Update status codes on proofs API for better monitoring #922

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

ricardoMogg
Copy link
Collaborator

What changed? Why?
Updating to something more standardized.
409 means user has already claimed
500 means server or unexpected error

This will help us have better monitoring and alerts
Notes to reviewers

How has it been tested?
local testing directly to API calls

Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 0:12am
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 0:12am

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Aug 22, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@ricardoMogg ricardoMogg marked this pull request as ready for review August 22, 2024 23:42
@ricardoMogg ricardoMogg changed the title Update status codes for better monitoring Update status codes on proofs API for better monitoring Aug 22, 2024
dneilroth
dneilroth previously approved these changes Aug 22, 2024
@cb-heimdall cb-heimdall dismissed dneilroth’s stale review August 23, 2024 00:03

Approved review 2255982522 from dneilroth is now dismissed due to new commit. Re-request for approval.

@ricardoMogg ricardoMogg requested a review from dneilroth August 23, 2024 00:03
@ricardoMogg ricardoMogg merged commit 6841e02 into master Aug 23, 2024
7 checks passed
@ricardoMogg ricardoMogg deleted the proofs_api_st_code branch August 23, 2024 16:13
kirkas pushed a commit that referenced this pull request Oct 21, 2024
* Update status codes for better monitoring

* move the try/catch scope

* error on missing trustedSignerAddress

* update avatar upload status code
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