Skip to content

Implement file size limit in the PostObject method of api/controllers/storage.go for cloud storage.#380

Merged
mikehquan19 merged 4 commits into
developfrom
feature/upload-limit
Apr 30, 2026
Merged

Implement file size limit in the PostObject method of api/controllers/storage.go for cloud storage.#380
mikehquan19 merged 4 commits into
developfrom
feature/upload-limit

Conversation

@SiddhaarthB11
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@mikehquan19 mikehquan19 left a comment

Choose a reason for hiding this comment

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

Hey @SiddhaarthB11 , this looks good, especially with the unit-tests! However, I just need some clarification in the upload size limiting approach.

Comment thread api/controllers/storage.go Outdated
Comment thread api/controllers/storage.go
Comment thread api/controllers/storage.go Outdated
Copy link
Copy Markdown
Member

@TyHil TyHil left a comment

Choose a reason for hiding this comment

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

Just a couple more things I noticed, looking good tho

Comment thread api/controllers/storage.go
Comment thread api/controllers/storage.go
Comment thread api/routes/storage.go
@mikehquan19
Copy link
Copy Markdown
Contributor

@SiddhaarthB11 Could you help me resolve the merge conflicts in the env example file? It shouldn't be so hard.

@mikehquan19 mikehquan19 self-requested a review April 27, 2026 21:49
Copy link
Copy Markdown
Contributor

@mikehquan19 mikehquan19 left a comment

Choose a reason for hiding this comment

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

Ok! LGTM now. Great job with the signed url as well, I didn't expect that.

@mikehquan19
Copy link
Copy Markdown
Contributor

@TyHil Can you check if everything is alright? The solution to upload size for signed url turns out to be really neat.

Copy link
Copy Markdown
Member

@TyHil TyHil left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@mikehquan19 mikehquan19 merged commit 60f2c84 into develop Apr 30, 2026
2 checks passed
@mikehquan19 mikehquan19 deleted the feature/upload-limit branch April 30, 2026 19:19
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