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

Remove Metadata length constraint and update dependencies #219

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

jujaga
Copy link
Member

@jujaga jujaga commented Oct 11, 2023

Description

  • The S3 spec only limits user metadata total header length to 2KB in size. It does not limit key nor value lengths to 255, so this PR lifts that constraint across the schema, model, and validation layers.
  • Also performs routine npm dependency, base image and security updates

SHOWCASE-3375

Types of changes

Bug fix (non-breaking change which fixes an issue)

Documentation (non-breaking change with enhancements to documentation)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Signed-off-by: Jeremy Ho <jujaga@gmail.com>
The S3 spec only limits user metadata total header length to 2KB in size.
It does not limit key nor value lengths to 255, so this PR lifts that
constraint across the schema, model, and validation layers.

Signed-off-by: Jeremy Ho <jujaga@gmail.com>
@jujaga jujaga added bug Something isn't working documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Oct 11, 2023
@jujaga jujaga self-assigned this Oct 11, 2023
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 7810 lines exceeds the maximum allowed for the inline comments feature.

@codeclimate
Copy link

codeclimate bot commented Oct 11, 2023

Code Climate has analyzed commit 238b708 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 3

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 64.7% (0.0% change).

View more on Code Climate.

@github-actions
Copy link

github-actions bot commented Oct 11, 2023

Coverage Report

Totals Coverage
Statements: 58.04% ( 2649 / 4564 )
Methods: 47.98% ( 297 / 619 )
Lines: 64.74% ( 1592 / 2459 )
Branches: 51.14% ( 760 / 1486 )

Signed-off-by: Jeremy Ho <jujaga@gmail.com>
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 7815 lines exceeds the maximum allowed for the inline comments feature.

@TimCsaky TimCsaky merged commit db622ae into master Oct 13, 2023
12 checks passed
@jujaga jujaga deleted the bugfix/metadata-length branch October 13, 2023 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants