Repository navigation
Conversation
They have been deprecated since #646 (#628). Use `url` and `timeout` of the [gokart_lock] section instead. The GOKART_REDIS_PASSWORD password is now always sent to the server given by `url`; it was only held back for a host given by the removed redis_host. Part of #685 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CdA6RN3LDMgrAenru85SLe
…the removal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CdA6RN3LDMgrAenru85SLe
kitagry
force-pushed
the
feat/remove-redis-params
branch
from
December 2, 2026 07:36
14d3eb9 to
23282c4
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of #685
Stacked on #733 (which is stacked on #715).
What is removed
redis_host,redis_portandredis_timeoutparameters ofTaskOnKart, deprecated in feat: add the [gokart_lock] config for the lock backend and deprecate TaskOnKart.redis_* #646 (Move redis_host / redis_port / redis_timeout out of TaskOnKart into a dedicated lock config #628).lock_config.py, the merge of these parameters with[gokart_lock]inresolve_redis_lock_settings(), itsFutureWarning, the warning for setting only one ofredis_host/redis_port, and themust be set togethererror. The settings now come only fromurlandtimeoutof[gokart_lock].task.py, the tests for the old parameters, and the deprecation notes indocs/using_task_task_conflict_prevention_lock.rstanddocs/efficient_run_on_multi_workers.rst.use_passwordflag (RedisLockSettings.use_password,TaskLockParams.redis_use_password,redis_connection_kwargs(use_password=...)). It only kept theGOKART_REDIS_PASSWORDpassword from being sent to a host given byredis_host. The password is still sent only to the host ofurl, since that is now the only Redis endpoint.The internal field names of
TaskLockParams(redis_host,redis_port,redis_timeout,redis_key) are kept to keep this diff small.Migration
On the command line,
--redis-host=localhost --redis-port=6379becomes--gokart-lock-url=redis://localhost:6379.redis_host/redis_portleft in the[TaskOnKart]section of a config file are ignored, so move them to[gokart_lock] url.Release note
redis_host,redis_portandredis_timeoutofTaskOnKart. Useurlandtimeoutof the[gokart_lock]section.🤖 Generated with Claude Code
https://claude.ai/code/session_01CdA6RN3LDMgrAenru85SLe