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

Missing VirtualFile.run usage in DirectoryBrowserSupport #8874

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 17, 2024

I found a failing test in artifact-manager-s3 during a routine dependency bump including a core version change, and bisected the failure to a security fix 8045266. This neglected to use VirtualFile.run to batch together file metadata operations, causing the number of S3 API calls in the test case to jump from 13 to 37. A simple reorganization of method calls restores the previous behavior so far as this test case is concerned.

Testing done

jenkinsci/artifact-manager-s3-plugin#450 (comment)

Proposed changelog entries

  • A security fix in 2.394 caused a substantial slowdown in displaying build artifacts when using remote artifact managers such as in S3.

Before the changes are marked as ready-for-merge:

Maintainer checklist

@jglick jglick requested a review from daniel-beck January 17, 2024 23:01
jglick and others added 2 commits January 17, 2024 18:09
…r for artifact display with either the built-in or pluggable managers, but could improve performance of workspace listing with slow agent connections.
Copy link
Member

@daniel-beck daniel-beck left a comment

Choose a reason for hiding this comment

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

Looks reasonable, thanks! Haven't manually tested.

@MarkEWaite MarkEWaite added the bug For changelog: Minor bug. Will be listed after features label Jan 18, 2024
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

/label ready-for-merge


This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.

Thanks!

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Jan 18, 2024
@MarkEWaite MarkEWaite merged commit a665b45 into jenkinsci:master Jan 25, 2024
17 checks passed
@jglick jglick deleted the DirectoryBrowserSupport branch January 25, 2024 14:44
@MarkEWaite
Copy link
Contributor

Included in Jenkins 2.443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants