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

deps(amazonq): upgrade adm-zip to 0.5.16 #6463

Closed
wants to merge 1 commit into from

Conversation

avi-alpert
Copy link
Contributor

@avi-alpert avi-alpert commented Jan 29, 2025

Problem

Users get an error uploading files when using /dev or /doc if files modified/created time is before the MSDOS epoch. Logs show an out of range exception thrown from the adm-zip package. Adm-zip issue reported here

Solution

Upgrade adm-zip to the latest version. Use posix join to test paths in a zip, since adm-zip was updated to be POSIX compliant cthackers/adm-zip#438


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@avi-alpert
Copy link
Contributor Author

/runIntegrationTests

@avi-alpert avi-alpert closed this Jan 29, 2025
@avi-alpert avi-alpert reopened this Jan 29, 2025
@jpinkney-aws
Copy link
Contributor

I think this change is fine but just for a heads up, instead of using adm-zip we should be migrating to our zipStream utility instead. It will allow us to eventually run agents in the browser + I think? resolve some memory issues as well

@avi-alpert
Copy link
Contributor Author

Will look into switching to zipstream

@avi-alpert avi-alpert closed this Jan 30, 2025
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.

2 participants