Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix metadata in local server #112

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

Merged
eduardoboucas merged 1 commit into main from fix/metadata-delete
Nov 14, 2023
Merged

Conversation

Copy link
Member

@eduardoboucas eduardoboucas commented Nov 14, 2023

Which problem is this pull request solving?

Fixes a couple of issues with the local server:

  1. When we deleted an entry, we were not deleting its metadata
  2. When we're in API access, a HEAD request should return the metadata right away and not a signed URL
  3. When getting the metadata for a key that doesn't exist, we were returning 500 instead of 404
  4. When listing an empty store, we were returning 500 instead of a 200 with no entries

@eduardoboucas eduardoboucas requested a review from a team as a code owner November 14, 2023 15:49
Copy link

netlify bot commented Nov 14, 2023
edited
Loading

Deploy Preview for blobs-js ready!

Name Link
🔨 Latest commit 8f9aadf
🔍 Latest deploy log https://app.netlify.com/sites/blobs-js/deploys/65539718bbf4960007a1b42c
😎 Deploy Preview https://deploy-preview-112--blobs-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Nov 14, 2023
expect(parachutesSongs2.directories).toEqual([])
})

test('Supports the API access interface', async () => {
Copy link
Member Author

@eduardoboucas eduardoboucas Nov 14, 2023

Choose a reason for hiding this comment

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

We now have one single test with the same set of assertions testing both the API and Edge interfaces.

Copy link
Contributor

@ascorbic ascorbic left a comment

Choose a reason for hiding this comment

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

Great stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@ascorbic ascorbic ascorbic approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
type: bug code to address defects in shipped code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /