[Feature]: KiviDB module
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 66/100
Research direction
Read the module guide and compare modules/valkey with modules/redis/examples; use modulegen as described in the issue. Implement the KiviDB module with the specified port, wait conditions, command, options, and connection helpers, then add driver-free raw RESP parent tests and nested go-redis examples. Done means the module and examples build and the documented behavior works with the specified image.
Written by the indexing model from the issue text.
Description
Problem
There is no module for KiviDB (https://kividb.io), a Redis-compatible
in-memory database (RESP2/RESP3, AGPL-3.0, source at
https://github.com/kividbio/kividb). The redis and valkey modules do not
fit its image: KiviDB listens on 6380, not 6379; it logs
Ready to accept connections on <addr> rather than Redis's
* Ready to accept connections; the image is distroless (no shell, no
redis-cli), so exec-based checks cannot run; and any command of your own
replaces the image's --protected-mode no, after which clients from outside
the container are refused.
Solution
A kividb module created with modulegen, following the module guide:
Run(ctx, img, opts...) returning *Container; port 6380; wait for the
port (host side only, since there is no shell) and the ready log line;
--protected-mode no kept in the command; options WithPassword,
WithLogLevel, WithConfigFile; ConnectionString (with the password when
set) and Password. Parent tests are driver-free (raw RESP, as in
modules/valkey); go-redis examples go in a nested examples module, as
in modules/redis/examples. Default image kividb/kividb:v1.2.0
(Docker Hub, amd64 + arm64; also ghcr.io/kividbio/kividb).
Benefit
KiviDB users get a ready container for integration tests without working
out the port, protected-mode and wait-strategy details above.
Alternatives
GenericContainer with a hand-written request; or the redis module with
the port, command and wait strategy all overridden. Or hosting the module
outside this repository and listing it in the community module registry.
Would you like to help contributing this feature?
Yes. We maintain KiviDB and would maintain the module; a module built with modulegen is ready, linted and tested (race detector, repeated runs, docs page built). Disclosure: I work on KiviDB.
- Dominant language
- Go
- Stars
- 5k
- Forks
- 660
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 48
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from testcontainers/testcontainers-go
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
testcontainers/testcontainers-go#4143 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
testcontainers/testcontainers-go#4142 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
testcontainers/testcontainers-go#4120 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: `DockerImageAuth` fails in FIPS 140-only mode: `configKey` uses `crypto/md5`, so image pulls fall back to empty credentialsPossibly taken @spor3006 claimed this 27 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
testcontainers/testcontainers-go#4080 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: root module still requires vulnerable github.com/moby/go-archive v0.2.0 (GHSA-hfg8-hc9c-6c3h)Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
testcontainers/testcontainers-go#3913 · 1 comment · 6 reactions ·
Maintainers usually reply within 1 day
All issues in testcontainers/testcontainers-go
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/crabbox#3249 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scanPossibly taken @toabctl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
gruntwork-io/cloud-nuke#1208 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snowflakedb/gosnowflake#1872 ·