Skip to content

feat(redis): typed config objects, sentinel support, and autoloader fix#4

Open
ralflang wants to merge 2 commits into
FRAMEWORK_6_0from
fix/redis-tester-autoloader
Open

feat(redis): typed config objects, sentinel support, and autoloader fix#4
ralflang wants to merge 2 commits into
FRAMEWORK_6_0from
fix/redis-tester-autoloader

Conversation

@ralflang
Copy link
Copy Markdown
Member

@ralflang ralflang commented May 25, 2026

Summary

  • Fix autoloader resolution in bin/horde-redis-tester for composer-installed deployments
  • Add typed Redis config layer (RedisConfig, SingleNodeConfig, SentinelConfig, RedisNode, RedisConfigMapper, RedisClientFactory) in Horde\HashTable\Redis\Config\
  • Support both ext-redis (RedisSentinel) and Predis for sentinel topology
  • Update diagnostic tester to accept RedisConfig with sentinel-aware testing (probes sentinels, resolves master, tests data commands)
  • Companion PRs: horde/Core and horde/base

Refs #3

ralflang added 2 commits May 25, 2026 12:22
Use $_composer_autoload_path when available (set by Composer's bin
proxy). Fall back to git-checkout path first, then production path
(vendor/horde/hashtable/bin/../../../autoload.php).
Introduce RedisConfig interface, SingleNodeConfig, SentinelConfig,
RedisNode value object, RedisConfigMapper (legacy array bridge),
and RedisClientFactory. Supports both ext-redis and Predis for
single-node and sentinel topologies.

Update diagnostic tester to accept RedisConfig with sentinel-aware
testing (probes sentinels, resolves master, then tests data commands).

Refs #3
@ralflang ralflang changed the title fix(bin): correct autoloader resolution in horde-redis-tester feat(redis): typed config objects, sentinel support, and autoloader fix May 25, 2026
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.

1 participant