Skip to content

fix: cherry pick fix of plugin output size (#484) to release-1.3 branch#494

Merged
1 commit merged intorelease-1.3from
unknown repository
Dec 13, 2024
Merged

fix: cherry pick fix of plugin output size (#484) to release-1.3 branch#494
1 commit merged intorelease-1.3from
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 13, 2024

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 #187

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

@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

@ghost ghost merged commit 24baed8 into notaryproject:release-1.3 Dec 13, 2024
@ghost ghost deleted the release-1.3 branch December 13, 2024 03:31
@ghost ghost mentioned this pull request Dec 13, 2024
6 tasks
This pull request was closed.
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