GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add AGENTS.md coding-conventions guide for agents by ggivo · Pull Request #4585 · redis/jedis

Conversation

@ggivo

@ggivo ggivo commented Jun 30, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

What

Adds AGENTS.md, a coding-conventions guide for AI agents and contributors, plus a CLAUDE.md that sources it.

Why

Gives agents and new contributors a single, in-repo reference for Jedis's build/test workflow, naming rules

Changes

  • AGENTS.md — conventions covering: JDK 8 compatibility, build & test commands (make start/mvn verify/make test), *IT/*Test naming, code style (@since/imports/comments), the command-wiring matrix, and a UnifiedJedis architecture overview.
  • CLAUDE.md — one line (@AGENTS.md) so Claude and other agents read the same conventions.

Note

Low Risk
Documentation and site config only; no changes to client behavior, APIs, or tests.

Overview
Adds in-repo guidance for AI agents and contributors, plus a published architecture reference for the modern client stack.

AGENTS.md centralizes Jedis workflow expectations: JDK 8 compatibility, CI-aligned JDK usage, Docker-backed make test / mvn verify, unit vs integration test naming (*Test / *IT), @since on new public API, docs/migration updates, and the full command-wiring checklist (commands/ → CommandObjects → UnifiedJedis / PipeliningBase → Jedis). It also summarizes UnifiedJedis, builders, legacy Jedis, and encoding rules (SafeEncoder, Protocol).

CLAUDE.md is a one-line @AGENTS.md include so Claude-style agents load the same conventions.

docs/redis-client-components-overview.md is a new MkDocs page documenting executors, connection providers, client builders, and end-to-end GET flows (standalone, retry, cluster, multi-DB failover), including a Mermaid diagram.

mkdocs.yml enables Mermaid fences in superfences and adds Redis Client Components Overview under Development guide.

Reviewed by Cursor Bugbot for commit 543fc40. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ggivo ggivo added the maintenance label Jun 30, 2026
@jit-ci

jit-ci Bot commented Jun 30, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jun 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Test Results

  159 files   -    47    159 suites   - 47   32s ⏱️ - 9m 47s
3 114 tests  - 4 735  3 108 ✅  - 4 675  6 💤  - 60  0 ❌ ±0 
3 095 runs   - 4 774  3 089 ✅  - 4 714  6 💤  - 60  0 ❌ ±0 

Results for commit 543fc40. ± Comparison against base commit 79f6bce.

This pull request removes 7849 and adds 3114 tests. Note that renamed tests count towards both.
redis.clients.jedis.ACLJedisPoolTest ‑ allowUrlWithNoDBAndNoPassword
redis.clients.jedis.ACLJedisPoolTest ‑ checkCloseableConnections
redis.clients.jedis.ACLJedisPoolTest ‑ checkConnections
redis.clients.jedis.ACLJedisPoolTest ‑ checkPoolOverflow
redis.clients.jedis.ACLJedisPoolTest ‑ checkPoolRepairedWhenJedisIsBroken
redis.clients.jedis.ACLJedisPoolTest ‑ checkResourceIsClosableAndReusable
redis.clients.jedis.ACLJedisPoolTest ‑ checkResourceWithConfigIsClosableAndReusable
redis.clients.jedis.ACLJedisPoolTest ‑ customClientName
redis.clients.jedis.ACLJedisPoolTest ‑ customClientNameNoSSL
redis.clients.jedis.ACLJedisPoolTest ‑ nonDefaultDatabase
…
ALL_AVAILABLE Policy Tests ‑ shouldContinueWhenAllPending
ALL_AVAILABLE Policy Tests ‑ shouldContinueWhenPending
ALL_AVAILABLE Policy Tests ‑ shouldFailImmediatelyWithAnyFailure
ALL_AVAILABLE Policy Tests ‑ shouldFailWhenAllConnectionsFail
ALL_AVAILABLE Policy Tests ‑ shouldFailWhenAnyConnectionFails
ALL_AVAILABLE Policy Tests ‑ shouldFailWithEmptyContext
ALL_AVAILABLE Policy Tests ‑ shouldFailWithSingleFailure
ALL_AVAILABLE Policy Tests ‑ shouldSucceedWhenAllAvailable
ALL_AVAILABLE Policy Tests ‑ shouldSucceedWithSingleConnection
ConformsTo Policy Evaluation Tests ‑ shouldDelegateToPolicy
…
This pull request removes 66 skipped tests and adds 6 skipped tests. Note that renamed tests count towards both.
redis.clients.jedis.MultiDbClientTest[2] ‑ testCachePreservedAcrossDatabaseSwitches()[2]
redis.clients.jedis.MultiDbClientTest[2] ‑ testCacheWithDynamicDatabaseAddition()[2]
redis.clients.jedis.MultiDbClientTest[2] ‑ testCacheWithMultiDbClient()[2]
redis.clients.jedis.MultiDbClientTest[2] ‑ testCacheWithMultiDbClientPoolRecreation()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonArrLenRoot()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonDebugMemoryRoot()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonGetWithClass()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonObjKeysRoot()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonObjLenRoot()[2]
redis.clients.jedis.commands.commandobjects.CommandObjectsJsonCommandsTest[2] ‑ testJsonStrAppendRootPath()[2]
…
redis.clients.jedis.PushMessageNotificationTest ‑ testConnectionResp3PushNotifications
redis.clients.jedis.PushMessageNotificationTest ‑ testConnectionResp3PushNotificationsWithCustomListener
redis.clients.jedis.UdsTest ‑ jedisConnectsToUds
redis.clients.jedis.UdsTest ‑ jedisConnectsToUdsResp3
redis.clients.jedis.UdsTest ‑ redisClientConnectsToUds
redis.clients.jedis.UdsTest ‑ redisClientConnectsToUdsResp3

♻️ This comment has been updated with latest results.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ggivo
Add AGENTS.md coding-conventions guide for agents
45d6277
A coding-conventions guide for AI agents and contributors (build/test commands, test naming, command-wiring matrix, and architecture overview),
CLAUDE.md sources AGENTS.md so both Claude and other agents read the
same conventions.
@ggivo
ggivo force-pushed the topic/ggivo/add-agents-md branch from ffea741 to e40ee33 Compare July 1, 2026 06:54
@ggivo
Add Redis client components overview doc
bb962b5
  High-level walkthrough of the client architecture — UnifiedJedis and
  CommandExecutor/ConnectionProvider abstractions, client implementations
  builder hierarchy, and command execution flows.
@ggivo
ggivo force-pushed the topic/ggivo/add-agents-md branch from e40ee33 to bb962b5 Compare July 1, 2026 06:58
@ggivo
ggivo marked this pull request as ready for review July 1, 2026 07:01
@ggivo
ggivo requested review from atakavci and uglide July 1, 2026 07:01
uglide and others added 2 commits July 17, 2026 13:37
@uglide
Merge branch 'master' into topic/ggivo/add-agents-md
59ff3a5
@uglide @claude
Fix API inaccuracies in components overview doc and enable mermaid re…
543fc40
…ndering

Review fixes for the architecture overview:
- Rewrite RedisClient, RedisSentinelClient, and MultiDbClient usage examples
  against the real builder APIs (clientConfig-based auth, MultiDbConfig
  builder, DatabaseConfig.builder(endpoint, clientConfig))
- Correct SentineledConnectionProvider constructor signature
- Correct AbstractClientBuilder template-method list (createClient()/self()
  are abstract; createDefaultCommandExecutor() is concrete) and move retry
  settings to ClusterClientBuilder where they actually live
- Fix SimpleCommandExecutor/ManagedConnectionProvider use cases (Pipeline and
  Transaction bypass executors/providers)
- Describe RetryableCommandExecutor backoff as deadline-proportional, not
  exponential, and note it only sleeps after consecutive failures
- Add RedisSentinelClient to the intro, diagram, and client implementations
- Configure pymdownx.superfences mermaid custom fence so the architecture
  diagram renders on the docs site
- Grammar fix in AGENTS.md opening line

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@uglide
uglide merged commit 02c0ede into master Jul 17, 2026
17 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@uglide
uglide deleted the topic/ggivo/add-agents-md branch July 17, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@uglide uglide Awaiting requested review from uglide
@atakavci atakavci Awaiting requested review from atakavci

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ggivo @uglide
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.