-
Notifications
You must be signed in to change notification settings - Fork 474
feat: unify php_server logic #2499
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
Open
AlliBalliBaba
wants to merge
82
commits into
main
Choose a base branch
from
refactor/phpserver
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,432
−693
Open
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
fba37f6
new phpserver
AlliBalliBaba 39db699
more cleanup
AlliBalliBaba 8e12812
linting
AlliBalliBaba 7e1ddb8
removes unnecessary code.
AlliBalliBaba 346887e
naming.
AlliBalliBaba 2ab4772
more unnecessary code
AlliBalliBaba 300e2e7
corerctly orders autoscaling chan registration
AlliBalliBaba 2c4f818
go fmt
AlliBalliBaba ddd6245
reuses split-path normalization logic.
AlliBalliBaba 19069bc
removes unnecessary locking.
AlliBalliBaba 53e30a8
improves assertions.
AlliBalliBaba 9b38f1d
pre-computes worker matches.
AlliBalliBaba 178df07
naming.
AlliBalliBaba c3a340f
removes unnecessary matchrelpath
AlliBalliBaba 8066a30
adds dedicated phpserver tests.
AlliBalliBaba adf2fed
refines tests.
AlliBalliBaba 48bfab4
adds missing test file.
AlliBalliBaba 8810352
fixes worker match logic and disallows duplicates again
AlliBalliBaba 7384a57
Merge branch 'main' into refactor/phpserver
AlliBalliBaba e0896d8
prepared env merge.
AlliBalliBaba 82eb1b4
fixes env logic
AlliBalliBaba 3b1bc73
suggestions by @dunglas
AlliBalliBaba c7ea1f7
fixes the module
AlliBalliBaba 4871ea4
cleanup
AlliBalliBaba 0401c62
closes admin body immediately
AlliBalliBaba 9b7967f
removes ServerOption.
AlliBalliBaba 6987c1e
fixes tests.
AlliBalliBaba ea35f2a
preallocates the fallback server
AlliBalliBaba 47f45ce
precomputes the fallback server
AlliBalliBaba ce095d4
error cleanup
AlliBalliBaba 48ac7d2
context cleanup.
AlliBalliBaba bb8ce0b
naming
AlliBalliBaba 94fe75e
linting
AlliBalliBaba e56326c
ensures context and logger must be defined
AlliBalliBaba 081ef2a
more context cleanup.
AlliBalliBaba e2a1e9d
makes original request logic more consistent.
AlliBalliBaba a81552d
pipeline test
AlliBalliBaba 17c2823
ensures $_ENV is populated for the test
AlliBalliBaba 9c987cc
refactors server public api and fixes restart configuration
AlliBalliBaba 0040560
final cleanup.
AlliBalliBaba a8917ee
better Server api
AlliBalliBaba 500ab79
resets test
AlliBalliBaba e7f597c
fixes startup failure issues
AlliBalliBaba e860449
logger cleanup
AlliBalliBaba 486a1bd
suggestions by @henderkes
AlliBalliBaba a30638e
idx fix as suggested by @alexandre-dauboi
AlliBalliBaba e2afc13
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 5a894b4
typo
AlliBalliBaba 76b5605
removes the "m#" prefix for module workers
AlliBalliBaba 1c1519b
leaves options logic unchanged for reloads.
AlliBalliBaba a2161d2
avoid persisting configuration from startup errors.
AlliBalliBaba b4ba37c
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 4d64936
allows phpserver-specific loggers.
AlliBalliBaba 46a0118
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 69fc9e2
Merge branch 'main' into refactor/phpserver
henderkes e05b809
sets the logger from the server
AlliBalliBaba 65ea698
use the globallogger on the fallback server
AlliBalliBaba 9e6a7d5
adds a logger test.
AlliBalliBaba 861eccf
fmt
AlliBalliBaba 8a04733
Merge branch 'refactor/phpserver' of https://github.com/dunglas/frank…
AlliBalliBaba fa5ffe2
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 83cd944
fix: make Server.isRegistered atomic (#2532)
nicolas-grekas 3c799c5
test(caddy): cover server_idx registration scenarios (#2530)
nicolas-grekas a351e1e
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 333b188
fixes conflict
AlliBalliBaba 96df685
Merge branch 'refactor/phpserver' of https://github.com/dunglas/frank…
AlliBalliBaba 7e2460d
feat: name Server instances and attribute workers to them (#2529)
nicolas-grekas 2d36507
prepends "server_" to default name
AlliBalliBaba a9f2a23
allow custom module names
AlliBalliBaba 5d1f25d
docs: document using FrankenPHP as a Go library (#2531)
nicolas-grekas 7ef6d29
Merge branch 'refactor/phpserver' of https://github.com/dunglas/frank…
AlliBalliBaba 09e3b4b
fixes naming tests
AlliBalliBaba e42bbbe
spelling
henderkes 9481d29
fix locally flaky test and remove incorrect comment
henderkes b72328c
update docs and comments
henderkes 0f13ac6
fix: review follow-ups on the php_server refactor (#2565)
nicolas-grekas 065baa8
Merge branch 'main' into refactor/phpserver
AlliBalliBaba 5586086
make startups completely safe and stall all requests before Init() ha…
AlliBalliBaba dc0e52f
blocks for 10s max on startup
AlliBalliBaba ab0cff0
makes app() resets redundant
AlliBalliBaba 4ece6ee
suggestions by @dunglas
AlliBalliBaba 8d4f634
adds new example to main.go
AlliBalliBaba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes much more sense to not return the same app instance. Probably was the root cause of many subtle bugs in tests