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

Streamwrapper: Move logic out into the open #4595

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

rebeccahum
Copy link
Contributor

@rebeccahum rebeccahum commented Jun 14, 2023

Description

Similar to #4589, we should move this logic out into the open since it is already enabled for everyone. There is still the option to disable it with the constant VIP_FILESYSTEM_USE_STREAM_WRAPPER though.

@rebeccahum rebeccahum force-pushed the move/VIP_FILESYSTEM_USE_STREAM_WRAPPER branch from f336520 to cc267ae Compare June 14, 2023 17:26
@rebeccahum rebeccahum marked this pull request as ready for review June 14, 2023 17:27
@rebeccahum rebeccahum requested a review from a team as a code owner June 14, 2023 17:27
@rebeccahum rebeccahum force-pushed the move/VIP_FILESYSTEM_USE_STREAM_WRAPPER branch from cc267ae to 3daa544 Compare June 15, 2023 22:15
@sonarcloud
Copy link

sonarcloud bot commented Jun 15, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #4595 (3824c48) into develop (30bbce1) will not change coverage.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             develop    #4595   +/-   ##
==========================================
  Coverage      29.12%   29.12%           
  Complexity      4704     4704           
==========================================
  Files            276      276           
  Lines          20751    20751           
==========================================
  Hits            6044     6044           
  Misses         14707    14707           
Files Changed Coverage Δ
a8c-files.php 17.86% <0.00%> (ø)
stats.php 0.00% <ø> (ø)
wp-cli/vip-filesystem.php 0.00% <0.00%> (ø)
files/class-wp-filesystem-vip.php 19.01% <100.00%> (ø)

@rinatkhaziev
Copy link
Contributor

This flips the logic and may result in breakage in Local Dev Env which didn't have the stream wrapper constant. This is being addressed here: Automattic/vip-container-images#517

But even when that's merged we don't update wp-config for existing environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants