summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-21Uniform all configsValery Piashchynski
Add debug server Check nil's for all plugin intialization
2021-01-19Merge pull request #487 from spiral/refactor/server_log_messagesv2.0.0-beta9Valery Piashchynski
refactor(errors, logs): Uniform all errors operations, Update server log level of the server log messages
2021-01-19Add TODO for the event packageValery Piashchynski
2021-01-19Add worker_destruct handling in the mocked loggerValery Piashchynski
2021-01-19Uniform all errors operationsValery Piashchynski
Add new ExecTTL event Update tests Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-19Merge pull request #486 from spiral/refactor/better_http_debug_logsValery Piashchynski
refactor(http): Uniform debug message from the http hanlder
2021-01-19Revert .rr-resetter.yamlValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-19Uniform debug message from the http hanlderValery Piashchynski
Update tests Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Merge pull request #485 from spiral/bug/nil_http_configValery Piashchynski
bug(http): NPE when config didn't contain HTTP section
2021-01-18Update CI, fix typoValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Update CI (remove memcached from macOS tests)Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Update CIValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Add PR templateValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Update Alpine version in DockerfileValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-01-18Remove old .changes fileValery Piashchynski
2021-01-18Return macOS tests to the CI (without docker)Valery Piashchynski
2021-01-18Add a little delay to the TestHTTPNoConfigSection testValery Piashchynski
2021-01-18Fix NPE when .rr.yaml didn't contain HTTP sectionValery Piashchynski
Add tests
2021-01-18Merge pull request #483 from spiral/bug/incorrect_env_variablesValery Piashchynski
bug(server): Incorrectly set environment variables
2021-01-18Fix golangci lint warningsValery Piashchynski
2021-01-18Fix incorrectly set environment variables in the server pluginValery Piashchynski
2021-01-16upd(CI): Update golangci to version 1.35Valery Piashchynski
2021-01-15Merge pull request #477 from spiral/feature/worker_watcher_testsv2.0.0-beta8Valery Piashchynski
feat(worker_watcher): Add stack tests
2021-01-15Slightly increase timeout for the GHAValery Piashchynski
2021-01-15Reduce number of concurrent iterations on KV public API to 100Valery Piashchynski
2021-01-15Add SpawnWorker tests to the pipes and socketsValery Piashchynski
2021-01-15Fix coverage calculationValery Piashchynski
2021-01-15Use uniform snake case in the configs, fix critical issue with wrongValery Piashchynski
calculation of workers in stack at the Destroy stage
2021-01-15gofmt stack_test.goValery Piashchynski
2021-01-15Update worker_watcher stack testsValery Piashchynski
2021-01-15Move stack data structure to the separate fileValery Piashchynski
2021-01-15Merge pull request #476 from spiral/fix/use_mapstructure_instead_yaml_tagsv2.0.0-beta7Valery Piashchynski
fix(yaml): Use mapstructure structure tags instead of yaml
2021-01-15Merge remote-tracking branch 'origin/master' into ↵Valery Piashchynski
fix/use_mapstructure_instead_yaml_tags # Conflicts: # .rr.yaml # CHANGELOG.md
2021-01-15Viper doesn't support `yaml` structure tags, it uses mapstructureValery Piashchynski
instead
2021-01-14Remove rr binary (accidentally committed)Valery Piashchynski
2021-01-14Merge pull request #475 from spiral/1.9.2v1.9.2Valery Piashchynski
1.9.2 release milestone
2021-01-141.9.2 release milestoneValery Piashchynski
2021-01-13Merge remote-tracking branch 'origin/master' into 2.0v2.0.0-beta6Valery Piashchynski
# Conflicts: # .github/workflows/build.yml # .rr.yaml # cmd/rr/cmd/root.go # cmd/rr/cmd/serve.go # cmd/rr/http/debug.go # cmd/rr/http/metrics.go # cmd/rr/http/workers.go # cmd/util/config.go # cmd/util/cprint.go # cmd/util/debug.go # cmd/util/rpc.go # config.go # config_test.go # controller.go # controller_test.go # error_buffer_test.go # errors_test.go # pipe_factory_test.go # pkg/socket/socket_factory_test.go # plugins/http/config.go # plugins/http/handler.go # plugins/http/request.go # plugins/http/response.go # plugins/http/uploads.go # plugins/metrics/config_test.go # plugins/reload/config.go # plugins/rpc/config.go # protocol.go # protocol_test.go # server.go # server_config.go # server_config_test.go # server_test.go # service/container.go # service/container_test.go # service/entry_test.go # service/env/config_test.go # service/env/service_test.go # service/gzip/config_test.go # service/gzip/service.go # service/gzip/service_test.go # service/headers/config_test.go # service/headers/service.go # service/headers/service_test.go # service/health/config_test.go # service/health/service.go # service/health/service_test.go # service/http/config_test.go # service/http/fcgi_test.go # service/http/rpc_test.go # service/http/service.go # service/http/service_test.go # service/http/ssl_test.go # service/limit/config.go # service/limit/config_test.go # service/limit/controller.go # service/limit/state_filter.go # service/metrics/rpc_test.go # service/metrics/service_test.go # service/rpc/service.go # service/rpc/service_test.go # service/static/config.go # service/static/config_test.go # service/static/service.go # service/static/service_test.go # socket_factory.go # state_test.go # static_pool.go # static_pool_test.go # tests/plugins/http/attributes_test.go # tests/plugins/http/handler_test.go # tests/plugins/http/uploads_config_test.go # tests/plugins/http/uploads_test.go # tests/plugins/reload/config_test.go # tests/plugins/rpc/config_test.go # tools/worker_table.go # util/state.go # util/state_test.go # worker.go # worker_test.go
2021-01-13Merge pull request #473 from spiral/feature/env_variablesValery Piashchynski
feat(env): Add RR system environment variables
2021-01-13Add IdleTTL testValery Piashchynski
Add removed state to the worker before it being removed
2021-01-13exclude tests from codecovValery Piashchynski
2021-01-13slightly increase wait time for the KV ttl (for the GHA)Valery Piashchynski
2021-01-13Update styly of the .rr.yamlValery Piashchynski
Add comments Add support for the automatically set RR_RPC, RR_HTTP env variables for the worker process.
2021-01-13Merge #472bors[bot]
472: feat(http): Distinct app and internal error codes in the handleError function r=48d90782 a=48d90782 This PR introduces distinct error codes for the app and internal RR errors. Errors: ```go roadrunner.ErrNoAssociatedPool roadrunner.ErrAllocateWorker roadrunner.ErrWorkerNotReady roadrunner.ErrEmptyPayload roadrunner.ErrPoolStopped roadrunner.ErrWorkerAllocateTimeout roadrunner.ErrAllWorkersAreDead ``` now associated with the internal error codes. All other errors are application errors. Some types of errors are impossible to distinguish in the RR1, for example `json.Unmarshall` internal error or similar. The `.rr.yaml` now contain two more options for the errors. ```yaml http: internalErrorCode: 502, appErrorCode: 502 ``` Default behavior unchanged (500 error code as before), but now might be overridden. closes #471 Co-authored-by: Valery Piashchynski <[email protected]>
2021-01-13Update bors.tomlValery Piashchynski
2021-01-12Few improwementsValery Piashchynski
2021-01-11return missed `ssl` config section in the .rr.yamlValery Piashchynski
2021-01-11Move http error codes in the .rr.yaml to the correct placeValery Piashchynski
2021-01-11Update CIValery Piashchynski
Format imports and code Distinct internal and app errors
2021-01-09Disable typecheck golangci optionValery Piashchynski