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

Pass through settings to the realtime compiler #1450

Merged
merged 54 commits into from
Nov 12, 2023

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Nov 11, 2023

Adds a few new options to the php hyde serve command to allow some settings to be specified with command-line options. This is done by creating environment variables passed through to the Symfony process, and which are then injected into the configuration repository by our custom runtime configuration loader originally used for Yaml configuration. This makes so that the options are fully integrated into the request lifecycle. Also cleans up some adjacent code.

Copy link

codecov bot commented Nov 11, 2023

Codecov Report

Merging #1450 (1b4b1a8) into master (dfdc1dd) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##              master     #1450     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
- Complexity      1719      3456   +1737     
=============================================
  Files            180       360    +180     
  Lines           4662      9386   +4724     
=============================================
+ Hits            4662      9386   +4724     
Files Coverage Δ
...es/framework/src/Console/Commands/ServeCommand.php 100.00% <100.00%> (ø)
...work/src/Foundation/Internal/LoadConfiguration.php 100.00% <100.00%> (ø)

... and 180 files with indirect coverage changes

@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from e0b3b8d to e65d191 Compare November 11, 2023 12:58
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from a94786a to 3fe6ad8 Compare November 11, 2023 14:42
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from 586c159 to 52571f6 Compare November 11, 2023 14:51
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from 249cc2f to 03ef853 Compare November 12, 2023 08:59
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from 4b0cf09 to 586cf18 Compare November 12, 2023 09:42
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from 47b57e1 to 401c78b Compare November 12, 2023 11:22
@caendesilva caendesilva force-pushed the pass-through-settings-to-realtime-compiler branch from 8435e1e to e666159 Compare November 12, 2023 11:42
@caendesilva caendesilva marked this pull request as ready for review November 12, 2023 14:30
@caendesilva caendesilva merged commit 0594ddc into master Nov 12, 2023
19 checks passed
@caendesilva caendesilva deleted the pass-through-settings-to-realtime-compiler branch November 12, 2023 14:30
@caendesilva caendesilva changed the title Pass through settings to realtime compiler Pass through settings to the realtime compiler Nov 12, 2023
caendesilva added a commit that referenced this pull request Nov 12, 2023
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.

2 participants