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

Added response size contraints in Gitrest #23474

Merged
merged 8 commits into from
Jan 6, 2025

Conversation

dhr-verma
Copy link
Contributor

Description

This PR adds a response size constraint in Gitrest. This would mean that if an API call to Gitrest ends up returning a response body that is greater than the responseSizeLimitInMegabytes, then the client will receive a 413. This is added to prevent large summaries being returned to Historian. Previously these large summaries have caused Historian OOM errors.

@Copilot Copilot bot review requested due to automatic review settings January 6, 2025 22:46
@github-actions github-actions bot added area: server Server related issues (routerlicious) base: main PRs targeted against main branch labels Jan 6, 2025

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • server/gitrest/packages/gitrest-base/package.json: Language not supported
  • server/historian/packages/historian-base/package.json: Language not supported
@dhr-verma dhr-verma enabled auto-merge (squash) January 6, 2025 23:04
@dhr-verma dhr-verma merged commit 34904dd into microsoft:main Jan 6, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: server Server related issues (routerlicious) base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants