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: cherry pick fix of plugin output size (#484) to release-1.3 branch #494

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

Two-Hearts
Copy link
Contributor

This PR is for release-1.3 branch.

Fix:
- set the plugin output limit for STDOUT and STDERR to be 10MiB

Test:
- when the plugin output size exceeds 64MiB, the output pipe breaks, and
the plugin process outputs an error to STDERR

Spec changes: notaryproject/specifications#320
Resolves notaryproject#187

Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.97%. Comparing base (f952b58) to head (2765132).
Report is 2 commits behind head on release-1.3.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.3     #494      +/-   ##
===============================================
+ Coverage        80.88%   80.97%   +0.08%     
===============================================
  Files               33       34       +1     
  Lines             3066     3080      +14     
===============================================
+ Hits              2480     2494      +14     
  Misses             455      455              
  Partials           131      131              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM. Note that this PR should be merged by creating a merge commit without squashing.

Copy link

@gokarnm gokarnm left a comment

Choose a reason for hiding this comment

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

LGTM

@Two-Hearts Two-Hearts merged commit 24baed8 into notaryproject:release-1.3 Dec 13, 2024
9 checks passed
@Two-Hearts Two-Hearts deleted the release-1.3 branch December 13, 2024 03:31
@Two-Hearts Two-Hearts mentioned this pull request Dec 13, 2024
6 tasks
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.

4 participants