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

fix: big file uploads #562

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

xen0n
Copy link
Contributor

@xen0n xen0n commented Dec 23, 2024

Sorry for the broken 2.2.0 release, I've now tested this change with actual big file uploads at my testing ground repo with successful test run here.

@chenrui333: please tag a 2.2.1 release after this, thanks!

This allows the uploads to finish without mismatched Content-Length,
likely because the original method implied a wrong body encoding or
something similar. Unfortunately a GitHub server API mock was not
readily available so I had to test manually with a barebones repository.

Fixes: softprops#555
Fixes: softprops#556
Signed-off-by: WANG Xuerui <[email protected]>
Signed-off-by: WANG Xuerui <[email protected]>
Signed-off-by: WANG Xuerui <[email protected]>
@itay-sho
Copy link

Thanks for the fix!
@softprops any plans to get it merged soon?

JP-Ellis added a commit to pact-foundation/pact-python that referenced this pull request Dec 30, 2024
…2.0"

This reverts commit 15f61ca.

There's a bug in softprops 'action-gh-release' action which appears when
uploading larger assets. Reverting to an earlier version until fix is merged.

Ref: softprops/action-gh-release#562
Ref: softprops/action-gh-release#556
Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis added a commit to pact-foundation/pact-python that referenced this pull request Dec 30, 2024
…2.0"

This reverts commit 15f61ca.

There's a bug in softprops 'action-gh-release' action which appears when
uploading larger assets. Reverting to an earlier version until fix is merged.

Ref: softprops/action-gh-release#562
Ref: softprops/action-gh-release#556
Signed-off-by: JP-Ellis <[email protected]>
@pattacini
Copy link

Hi @softprops

I've tested the PR and it worked for my case as reported in #552 (comment).
I would need a proper release for my workflow though.

@xen0n
Copy link
Contributor Author

xen0n commented Jan 1, 2025

Hi @softprops

I've tested the PR and it worked for my case as reported in #552 (comment). I would need a proper release for my workflow though.

Good to hear and Happy New Year 🎉!

I would have to wait for either @softprops or @chenrui333 to make the release though... I'm new to the project so I don't have the permission to tag the release yet. (Or I would have merged this the day I submitted it.)

@clintonsteiner
Copy link

clintonsteiner commented Jan 6, 2025

@chenrui333 @softprops please assist with getting this merged

Find lots of packages experiencing and tagging to 2.1.0 instead of latest due to this issue
#555

This is all work that will need undone once 2.2.1 is released

@clintonsteiner
Copy link

@xen0n can you add changelog notes for the release of 2.2.1 advising users to not take that due to an error

@chenrui333 chenrui333 changed the title Fix big file uploads fix: big file uploads Jan 7, 2025
@chenrui333 chenrui333 merged commit deddb09 into softprops:master Jan 7, 2025
1 check passed
@chenrui333
Copy link
Collaborator

my bad, gonna release this change now.

@chenrui333 chenrui333 added the bug Something isn't working label Jan 7, 2025
@chenrui333
Copy link
Collaborator

cut the new 2.2.1 release, thanks!

@pattacini
Copy link

Thanks heaps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants