Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI tests for benchmarks. #2

Closed
wants to merge 700 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
700 commits
Select commit Hold shift + click to select a range
273ee22
Fixing info parser to support parsing Redis 7.2 output
barshaul Aug 31, 2023
9c1270d
Merging updates from redis-rs
barshaul Aug 31, 2023
f50aec7
Python - config rewrite command (#380)
shohamazon Aug 31, 2023
dd3d915
Python - refactor config reset stat function (#391)
shohamazon Aug 31, 2023
82175f0
Merge pull request #394 from barshaul/check_babushka_tls
shachlanAmazon Aug 31, 2023
15fa004
Merge pull request #357 from shachlanAmazon/node-errors
shachlanAmazon Aug 31, 2023
02373af
Extended redis version matrix to redis 6.2 & 7.2
barshaul Aug 31, 2023
ad51413
Merge pull request #393 from barshaul/fix_info_parser
shachlanAmazon Aug 31, 2023
65fab05
Use simpler existence checks.
shachlanAmazon Aug 31, 2023
3a8014f
Use contstant timeout error.
shachlanAmazon Aug 31, 2023
cb525c9
Merge pull request #396 from shachlanAmazon/reject-messages
shachlanAmazon Sep 3, 2023
4aba34f
Removed the FFI client from the Python wrapper
barshaul Sep 3, 2023
87a621c
Merge pull request #400 from barshaul/remove_py_ffi
shachlanAmazon Sep 3, 2023
2869447
TSDoc linter added & update the doc comments
Sep 3, 2023
125d67b
fix tsdoc-linter
Sep 3, 2023
c555c9d
check the linter
Sep 3, 2023
1808765
update to error in linter
Sep 3, 2023
7b7f2ab
fix the TSdoc comment in transaction
Sep 3, 2023
69ce79a
Merge pull request #392 from barshaul/node/updateDoc
shachlanAmazon Sep 3, 2023
9392b39
added config rewrite command in node
Sep 3, 2023
857a0c0
Updates from redis-rs
barshaul Sep 5, 2023
a0f7303
Fixed config rewrite tests
barshaul Sep 5, 2023
64e3758
Created protobuf codec for Python
barshaul Sep 4, 2023
42edf14
Merge pull request #410 from barshaul/update_redisrs
shachlanAmazon Sep 5, 2023
d166b05
Merge pull request #411 from barshaul/fix_rewrite_test
shachlanAmazon Sep 5, 2023
10315a2
added incr and incrBy commands in node.
Sep 5, 2023
1b71590
Changed Python Logger set_logger_config and log functions to be a cla…
barshaul Sep 3, 2023
6dae44c
Update cargo dependencies.
shachlanAmazon Sep 6, 2023
fe470df
Update Github actions versions.
shachlanAmazon Sep 6, 2023
77da9be
Changed pip to run with 'python -m pip'
barshaul Sep 6, 2023
e04044c
Merge pull request #414 from barshaul/fix_pip
shachlanAmazon Sep 6, 2023
24820f1
Added init function for the Python's Logger
barshaul Sep 6, 2023
76b2d7b
Merge pull request #413 from shachlanAmazon/update
shachlanAmazon Sep 7, 2023
53eb828
++redis-rs
shachlanAmazon Sep 6, 2023
a099bb1
Write CLIENT SETINFO data for each client.
shachlanAmazon Sep 6, 2023
0152cb1
automatic style updates.
shachlanAmazon Sep 6, 2023
729cff0
Mocks - handle CLIENT SETINFO calls.
shachlanAmazon Sep 6, 2023
4ca1033
add missing configuration
shachlanAmazon Sep 7, 2023
fc21cc8
Merge pull request #415 from shachlanAmazon/client-setinfo
shachlanAmazon Sep 7, 2023
26903e8
Use is_readonly from redis-rs.
shachlanAmazon Sep 6, 2023
d790d46
Merge pull request #420 from shachlanAmazon/readonly
shachlanAmazon Sep 10, 2023
f784f26
Add missing step names.
shachlanAmazon Sep 7, 2023
20d87bf
Merge pull request #419 from shachlanAmazon/rule-names
shachlanAmazon Sep 10, 2023
78c221d
Fixed all Python types and added mypy type check to the CI
barshaul Sep 10, 2023
8359578
Added python support and tests for authentication
barshaul Sep 2, 2023
3085540
Node: fix autoformatting issues.
shachlanAmazon Sep 11, 2023
6dfea3c
separate to BaseClient and RedisClient classes in node
Sep 11, 2023
59ddd20
Merge pull request #421 from barshaul/fixInfo
shachlanAmazon Sep 11, 2023
22b2adc
Update node & C# loggers to match python.
shachlanAmazon Sep 5, 2023
bf331fb
round
shachlanAmazon Sep 11, 2023
473de6a
Merge pull request #412 from shachlanAmazon/node-logger
shachlanAmazon Sep 11, 2023
76c37db
Python - adds client id command
shohamazon Sep 11, 2023
ac047b5
update the pre-requirements for amazon-linux
Sep 11, 2023
a7495fc
Fix CMD read from replica with single replica.
shachlanAmazon Sep 12, 2023
b0c0186
Merge pull request #429 from shachlanAmazon/rfr
shachlanAmazon Sep 12, 2023
9f17bd5
Merge pull request #426 from barshaul/fixInfo
shachlanAmazon Sep 12, 2023
2639bba
Python - adds incr / incrBy commands
shohamazon Sep 12, 2023
8605e9d
ClusterResponse type added in node
Sep 13, 2023
8dd90dd
Merge pull request #435 from barshaul/node/CMEReturnType
shachlanAmazon Sep 13, 2023
7f044cc
Document the -prefix benchmark flag.
shachlanAmazon Sep 13, 2023
74cba40
Merge pull request #442 from shachlanAmazon/fix-doc
shachlanAmazon Sep 14, 2023
418ff68
Python - adds mset / mget commands
shohamazon Sep 14, 2023
f0b4c86
Python adds PING command
shohamazon Sep 14, 2023
9f61ab7
added ping command in node
Sep 18, 2023
700c62e
added incrByFloat command in node.
Sep 18, 2023
7f749b8
Fix Python transaction example
barshaul Sep 18, 2023
14d531b
Renamed python Logger file to logger
barshaul Sep 18, 2023
e5d855e
Fixed Python documented type of BackoffStrategy
barshaul Sep 18, 2023
4bd9463
Merge pull request #444 from barshaul/py_fix
shachlanAmazon Sep 18, 2023
7d7da06
Merge pull request #445 from aws/py_logger
shachlanAmazon Sep 19, 2023
70bc04b
Merge pull request #448 from aws/fix_py_config
shachlanAmazon Sep 19, 2023
8ba43e8
Python - INCRBYFLOAT command
shohamazon Sep 19, 2023
c509110
Python - adds config set/get support
shohamazon Sep 19, 2023
bdbee3a
Remove log directory before tests run.
shachlanAmazon Sep 19, 2023
0a8acfc
Python - adds decr / decrby commands
shohamazon Sep 19, 2023
8b1da3b
Merge pull request #454 from shachlanAmazon/log-tests
shachlanAmazon Sep 19, 2023
3fda2c5
Filter traces from other crates.
shachlanAmazon Sep 19, 2023
235b18b
Merge pull request #453 from shachlanAmazon/logging
shachlanAmazon Sep 19, 2023
928899a
Allow choosing port in benchmark.
shachlanAmazon Sep 18, 2023
4b6d1c6
Replace CMD with Standalone & CME with Cluster.
shachlanAmazon Sep 19, 2023
5ea081b
Merge pull request #451 from shachlanAmazon/standalone-cluster
shachlanAmazon Sep 19, 2023
7c527bf
Merge pull request #449 from shachlanAmazon/add-port
shachlanAmazon Sep 20, 2023
233c65f
added mset and mget command in node.
Sep 20, 2023
2933583
Updates from redis-rs
barshaul Sep 20, 2023
1f966e5
Merge pull request #455 from barshaul/redis-rs-update
shachlanAmazon Sep 20, 2023
d753621
Fix rust benchmark latency calculation.
shachlanAmazon Sep 21, 2023
1cef19a
Move duplicated logic in benchmark JS scripts to a single file, and c…
avifenesh Sep 21, 2023
67a4bbb
added utilities folder to ts linter
avifenesh Sep 21, 2023
68b8237
Python - cluster commands return type
shohamazon Sep 21, 2023
0771779
Update upstream with cluster read from replica.
shachlanAmazon Sep 21, 2023
5cb821a
More CME->cluster fixes.
shachlanAmazon Sep 21, 2023
f1dc24f
Merge pull request #459 from avifenesh/add_utils_to_linter
shachlanAmazon Sep 21, 2023
5ebe12f
Fix Rust benchmark.
Yury-Fridlyand Sep 22, 2023
10a1af0
Remove `port` short arg option too.
Yury-Fridlyand Sep 22, 2023
87f3106
Merge pull request #466 from Bit-Quill/fix-rust-benchmark
shachlanAmazon Sep 22, 2023
cb37ab9
Merge pull request #457 from shachlanAmazon/fix-rust-benchmark
shachlanAmazon Sep 26, 2023
08eab47
Clarify connection timeout docs.
shachlanAmazon Sep 26, 2023
0fa83b7
Replace all regular TS comments with JSDocs.
shachlanAmazon Sep 26, 2023
2c8c480
Merge pull request #461 from shachlanAmazon/update-rfr
shachlanAmazon Sep 26, 2023
4a7da13
Merge pull request #460 from shachlanAmazon/more-cluster
shachlanAmazon Sep 26, 2023
09546b2
Merge pull request #468 from shachlanAmazon/timeout-docs
shachlanAmazon Sep 26, 2023
00811f3
Merge pull request #469 from shachlanAmazon/jsdoc
shachlanAmazon Sep 26, 2023
b26eb09
Add instructions and profiles for stripped builds.
shachlanAmazon Sep 26, 2023
0551d0a
Clarify routing options documentation.
shachlanAmazon Sep 21, 2023
e54ec20
Improving documentation for Python config classes.
barshaul Sep 26, 2023
c7486c3
Merge pull request #472 from shachlanAmazon/strip-build
shachlanAmazon Sep 26, 2023
dc7349b
Merge pull request #458 from shachlanAmazon/route-docs
shachlanAmazon Sep 27, 2023
e4d5368
Add support to select DB in core.
shachlanAmazon Sep 12, 2023
7a4b5fd
Add support to select DB in node.
shachlanAmazon Sep 12, 2023
eecf740
Move connectionBackoff to RedisClient.
shachlanAmazon Sep 26, 2023
d551764
convert cluster response to dict in node.
Sep 27, 2023
d9bb51e
Node - added config get\set.
Sep 27, 2023
a62a8fd
add python support.
shachlanAmazon Sep 26, 2023
2b2d056
fix compilation errors
shachlanAmazon Sep 27, 2023
b0cb1e3
Merge pull request #432 from shachlanAmazon/db-id
shachlanAmazon Sep 27, 2023
40c5bb6
Python - refactor transaction
shohamazon Sep 27, 2023
bf5f3a4
auto-sort imports.
shachlanAmazon Sep 28, 2023
829e94e
Add missing dev dependency to benchmark utilities.
shachlanAmazon Sep 28, 2023
2718b3d
Update callgrind library version.
shachlanAmazon Sep 28, 2023
d0177c5
kill connection instead of server restart in tests
shachlanAmazon Sep 28, 2023
bfd587b
added decr and decrBy in node.
Sep 30, 2023
93bd2b6
added hset and hget commands in node.
Sep 30, 2023
33a0cb4
Merge pull request #482 from shachlanAmazon/client-kill
shachlanAmazon Oct 1, 2023
6180294
Python - HSET/HGET commands
shohamazon Oct 1, 2023
6ca2854
fix the doc of transaction.
Oct 1, 2023
61b4a18
fix the configGet response.
Oct 1, 2023
6fb6dc2
added hdel command in node.
Oct 1, 2023
f72f5aa
Merge pull request #479 from shachlanAmazon/auto-format
shachlanAmazon Oct 1, 2023
43e5284
Merge pull request #478 from shachlanAmazon/missing-import
shachlanAmazon Oct 1, 2023
a6968ca
add import sort and warnings as errors to TS lint.
shachlanAmazon Oct 1, 2023
eecccd0
Run Eslint on each folder, and fail on warnings.
shachlanAmazon Oct 1, 2023
ed550b5
Add missing logs.
shachlanAmazon Sep 27, 2023
e71a5b9
Merge pull request #477 from shachlanAmazon/other-less-logs
shachlanAmazon Oct 1, 2023
170867a
Merge pull request #480 from shachlanAmazon/update-callgrind
shachlanAmazon Oct 2, 2023
5e4c183
Merge pull request #490 from shachlanAmazon/ts-import-lint
shachlanAmazon Oct 2, 2023
f3934c0
Increase lint CI timeout
barshaul Oct 2, 2023
131efa4
Merge pull request #492 from barshaul/lint_timeout
shachlanAmazon Oct 2, 2023
a055eda
added clientGetName command in node.
Oct 4, 2023
da46dbb
Protobuf - add HGETALL , HMSET , HMGET request type (#486)
shohamazon Oct 4, 2023
8f77396
added clientId command in node.
Oct 4, 2023
7c09e49
Fix fill_db.ts to fill all indices
acarbonetto Oct 4, 2023
10e7017
Merge pull request #498 from Bit-Quill/benchmarks/fix_filldb_index
shachlanAmazon Oct 5, 2023
4eb99a7
Create java client project (#494)
acarbonetto Oct 5, 2023
fb2c86b
Protobuf - add HINCRBY, HINCRBYFLOAT.
Oct 5, 2023
873636d
added hmget command in node.
Oct 5, 2023
443da99
Added logger tests
barshaul Oct 5, 2023
43a3137
Added deadcode linter for python and fixed relevant errors
barshaul Oct 5, 2023
ee6b127
Protobuf - add LPush, LPop, RPush, RPop, LLen, LRem, LRange and LTrim.
Oct 10, 2023
02577bb
added hexists command in node.
Oct 11, 2023
cb722c2
added hgetall command in node.
Oct 11, 2023
93b66a6
fix node docs and tests.
Oct 11, 2023
9874630
Java client/add benchmark app (#505)
acarbonetto Oct 12, 2023
94a246b
Protobuf - add SADD, SREM, SMEMBERS and SCARD commands.
Oct 15, 2023
0ee6f21
Python - change type() to isinstance()
shohamazon Oct 15, 2023
ef16ce5
Fixed Java CI not to run Java checks on PRs, added submodules and bab…
barshaul Oct 11, 2023
22a287c
Python - type() fix
shohamazon Oct 16, 2023
72f7564
added hincrBy and hincrByFloat in node.
Oct 17, 2023
ddee561
Fix type hints in python < 3.10 (#520)
alexander-shabanov Oct 17, 2023
4fd9341
PROTOBUF - EXPIREAT, PEXPIREAT, PEXPIRE, UNLINK, EXISTS commands.
Oct 18, 2023
973b6a1
PROTOBUF - add TTL command.
Oct 22, 2023
51140a1
Python - adds client get name command
shohamazon Oct 22, 2023
b60ed98
Python - adds HGETALL command
shohamazon Oct 23, 2023
7c8411e
Python - adds HDEL command
shohamazon Oct 23, 2023
e59397c
Added CODEONWERS file
barshaul Oct 24, 2023
334b1b3
Added a SECURITY file to the repo
barshaul Oct 24, 2023
8785360
added lpush, lpop and lrange commands in node.
Oct 24, 2023
cce3328
added rpush and rpop commands in node.
Oct 24, 2023
3c6f653
Python - adds LPUSH , LPOP , LRANGE commands
shohamazon Oct 24, 2023
a3224c5
Python - adds RPUSH , RPOP commands
shohamazon Oct 24, 2023
18affd0
First revision of CONTRIBUTING.md (#530)
asafpamzn Oct 24, 2023
88d3ddf
Python - adds SADD , SREM , SMEMBERS , SCARD commands
shohamazon Oct 24, 2023
a0aa119
added sadd, srem, smembers and scard in node.
Oct 24, 2023
231a229
Added a CHANGELOG file (#536)
barshaul Oct 24, 2023
fbb9f73
Fixed license files (#542)
barshaul Oct 25, 2023
63e38aa
added ltrim command in node. (#541)
Oct 25, 2023
d4e08ed
Python - adds HMGET command
shohamazon Oct 25, 2023
0b6b33e
update the hgetall and hdel docs in node. (#537)
Oct 25, 2023
b563840
added exists command in node.
Oct 25, 2023
9f0e5f9
added llen command in node.
Oct 25, 2023
d967fb1
Update CHANGELOG.md
asafpamzn Oct 26, 2023
784d196
added lrem command in node.
Oct 29, 2023
262f378
added unlink command in node.
Oct 29, 2023
9ffc4ae
Update redis-rs version.
shachlanAmazon Oct 26, 2023
58b1181
Python - adds HEXISTS command
shohamazon Oct 30, 2023
9b3f251
Python - adds LLEN command
shohamazon Oct 30, 2023
7a7dacf
Python - adds HINCRBY / HINCRBYFLOAT commands
shohamazon Oct 30, 2023
a328347
Python - adds EXISTS command
shohamazon Oct 30, 2023
f1a12f5
Python - adds UNLINK command
shohamazon Oct 30, 2023
0659e39
Python - adds LREM command
shohamazon Oct 30, 2023
183fa24
added ttl, expire, expireAt, pexpire, pexpireAt commands in node.
Oct 30, 2023
2351b32
Python - adds LTRIM command
shohamazon Oct 31, 2023
8b2b131
Node: Changed ConnectionOptions to BaseClientConfigurations, added Cl…
barshaul Oct 30, 2023
5e5afe0
Python: Added ClusterClientConfiguration class
barshaul Oct 30, 2023
a920451
README prelaunch
alexander-shabanov Oct 29, 2023
10720c3
Merge pull request #555 from alexander-shabanov/readme_prelaunch
alexander-shabanov Nov 2, 2023
26b085b
Python: improving documentation and better naming
barshaul Nov 1, 2023
ce0f8e2
Node: improving documentation and better naming
barshaul Nov 1, 2023
f8b2b3f
Rust: improving documentation and better naming
barshaul Nov 1, 2023
46593ec
Protobuf: improve naming
barshaul Nov 1, 2023
3ffca2d
Python - adds expire, expireAt, pexpire, pexpireAt , ttl commands
shohamazon Nov 2, 2023
11dbbfa
Rename StandaloneClientConfiguration.
shachlanAmazon Nov 2, 2023
e51e938
Fixed Python code to work with Python3.8 and above
barshaul Nov 2, 2023
ca922b8
Fix Python ACL test to allow executing CLIENT SETNAME command
barshaul Nov 2, 2023
4d6749b
Update logging level in benchmark.
shachlanAmazon Nov 2, 2023
42713bc
Update README with comments.
shachlanAmazon Nov 2, 2023
1babf05
Python: added timezone for set with EXAT test to ensure consistency i…
barshaul Nov 5, 2023
099cb68
Python: removed 'deadcode' linter due to prohibited license
barshaul Nov 5, 2023
fc3eaaf
Python: Exports RedisCredentials
barshaul Nov 6, 2023
c40f21e
Update README.md
asafpamzn Nov 7, 2023
9b8a614
Extends cluster_manager python script to support redis standalone server
shohamazon Nov 7, 2023
d24ab92
Fixed cluster_manager script to accept --cluster-mode only in the sta…
barshaul Nov 7, 2023
d99d6fb
Added changes in the cluster_manager script to trigger CI workflow in…
barshaul Nov 7, 2023
6bf1b02
Added --cluster-mode flag to node and rust use of the cluster_manager…
barshaul Nov 7, 2023
f778118
Renamed AddressInfo to NodeAddress (#581)
barshaul Nov 7, 2023
b413dd5
Removed unused imports
barshaul Nov 7, 2023
f794aa0
Python: Updated README file (#577)
barshaul Nov 8, 2023
c1a4951
Added third party licenses files
barshaul Nov 7, 2023
fe5e6c0
Updated README.md (#576)
hoterm Nov 8, 2023
fae5b10
Use napi version 2.14.
shachlanAmazon Nov 8, 2023
33b6d80
Throw concrete error types from python client. (#571)
Nov 8, 2023
a9926b6
Fix cluster commands routing documentation
shohamazon Nov 13, 2023
1668ad5
Fixed main and Python README based on the review notes
barshaul Nov 13, 2023
fad22c1
Python: Minor changese to add compatibility with various operating sy…
barshaul Nov 9, 2023
3b4922c
Python: added MacOS and amazonlinux build tests to github actions CI
barshaul Nov 9, 2023
a78e01c
Create bug-report.yml
alexander-shabanov Nov 14, 2023
8056ce0
Merge pull request #616 from aws/alexander-shabanov-bug-report-template
alexander-shabanov Nov 14, 2023
90c43fd
Node: add routing option to exec command
shohamazon Nov 14, 2023
985511b
Python: add --strip flag to remove debug symbols from the readme buil…
barshaul Nov 13, 2023
883f3b6
Added MacOS and AmazonLinux build tests to Node's CI
barshaul Nov 14, 2023
ab29a72
Node: Updated README file
barshaul Nov 14, 2023
7b31ce0
Create feature-request.yml
alexander-shabanov Nov 15, 2023
9ebc3bc
Merge pull request #620 from aws/alexander-shabanov-feature-request-t…
alexander-shabanov Nov 15, 2023
b3c7e9c
Python: Added DEVELOPER.md file
barshaul Nov 15, 2023
a93d999
Remove client_creation_timeout configuration
barshaul Nov 14, 2023
199507f
Run Java's CI only on branch pushes to main. (#624)
shachlanAmazon Nov 16, 2023
3659b67
Fix cargo.toml files
barshaul Nov 16, 2023
f6ac486
Node: Added DEVELOPER.md file
barshaul Nov 16, 2023
1836f4e
Node: Remove timeout on requests.
shachlanAmazon Nov 20, 2023
42dc1b1
Fixed CONTRIBUTING, expended bug-repot.yml
barshaul Nov 23, 2023
f6d2050
Node: mark protected functions as internal.
nihohit Nov 27, 2023
bf75a20
Fix linter comment.
nihohit Nov 27, 2023
c9fcd99
Update README.md
asafpamzn Nov 30, 2023
5f6beb4
Remove usage of deprecated "tls" feature.
nihohit Nov 30, 2023
b6f1d22
Java update readme (#636)
acarbonetto Dec 3, 2023
6668c63
Extand cluster_manager.py script to support replication on standealon…
shohamazon Dec 4, 2023
29bc89b
Fixed yaml format
barshaul Dec 4, 2023
45da499
C# client - updates. (#559)
shachlanAmazon Dec 5, 2023
3d2868b
Allow running minimal number of ops in benchmarks.
nihohit Dec 5, 2023
e5ca5b2
Add CI action to check that benchmarks work.
nihohit Dec 5, 2023
ae55087
Run CI on more file changes.
nihohit Dec 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
benchmarks/node/node_benchmark.js
benchmarks/node/*.js
/node/build-ts/index.js
node/build-ts/src/*.js
/redis-rs/target/*
node/rust-client/index.js
logger_core/target/*
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "eslint-plugin-tsdoc", "import"],
root: true,
env: {
browser: true,
node: true,
jest: true,
},
rules: {
"tsdoc/syntax": "error",
"import/no-unresolved": "off",
},
};
134 changes: 134 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
---
name: "🐛 Bug Report"
description: Report a bug
title: "(topic): (short issue description)"
labels: [bug, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: What is the problem? A clear and concise description of the bug.
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: |
What did you expect to happen?
validations:
required: true

- type: textarea
id: current
attributes:
label: Current Behavior
description: |
What actually happened?

Please include full errors, uncaught exceptions, stack traces, and relevant logs.
If service responses are relevant, please include wire logs.
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Reproduction Steps
description: |
Provide a self-contained, concise snippet of code that can be used to reproduce the issue.
For more complex issues provide a repo with the smallest sample that reproduces the bug.

Avoid including business logic or unrelated code, it makes diagnosis more difficult.
The code sample should be an SSCCE. See http://sscce.org/ for details. In short, please provide a code sample that we can copy/paste, run and reproduce.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Possible Solution
description: |
Suggest a fix/reason for the bug
validations:
required: false

- type: textarea
id: context
attributes:
label: Additional Information/Context
description: |
Anything else that might be relevant for troubleshooting this bug. Providing context helps us come up with a solution that is most useful in the real world.
validations:
required: false

- type: input
id: client-version
attributes:
label: Client version used
validations:
required: true

- type: input
id: redis-version
attributes:
label: Redis Version
description: E.g. 6.2, 7.0
validations:
required: true

- type: input
id: operating-system
attributes:
label: OS
validations:
required: true

- type: dropdown
id: language
attributes:
label: Language
multiple: true
options:
- TypeScript
- Python
validations:
required: true

- type: input
id: language-version
attributes:
label: Language Version
description: E.g. TypeScript (5.2.2) | Python (3.9)
validations:
required: true

- type: textarea
id: cluster-info
attributes:
label: Cluster information
description: |
Redis cluster information, cluster topology, number of shards, number of replicas, used data types.
validations:
required: false

- type: textarea
id: logs
attributes:
label: Logs
description: |
Client and/or Redis logs.
validations:
required: false

- type: textarea
id: other
attributes:
label: Other information
description: |
e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, etc
validations:
required: false
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
name: 🚀 Feature Request
description: Suggest an idea for this project
title: "(topic): (short issue description)"
labels: [feature-request, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the feature
description: A clear and concise description of the feature you are proposing.
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Use Case
description: |
Why do you need this feature?
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: |
Suggest how to implement the addition or change. Please include prototype/workaround/sketch/reference implementation.
validations:
required: false
- type: textarea
id: other
attributes:
label: Other Information
description: |
Any alternative solutions or features you considered, a more detailed explanation, stack traces, related issues, links for context, etc.
validations:
required: false
- type: checkboxes
id: ack
attributes:
label: Acknowledgements
options:
- label: I may be able to implement this feature request
required: false
- label: This feature might incur a breaking change
required: false
- type: input
id: client-version
attributes:
label: Client version used
validations:
required: true
- type: input
id: environment
attributes:
label: Environment details (OS name and version, etc.)
validations:
required: true
42 changes: 42 additions & 0 deletions .github/workflows/build-node-wrapper/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build Node wrapper

inputs:
os:
description: "The current operating system"
required: true
type: string
options:
- macOS
- ubuntu
- amazon-linux
release_mode:
description: "Enable building the wrapper in release mode"
required: false
type: boolean
default: "false"

env:
CARGO_TERM_COLOR: always

runs:
using: "composite"
steps:
- name: Install software dependencies
uses: ./.github/workflows/install-shared-dependencies
with:
os: ${{ inputs.os }}

- name: npm install
shell: bash
working-directory: ./node/rust-client
run: |
rm -rf node_modules && npm install --frozen-lockfile
npm install

- name: Build
shell: bash
run: |
source "$HOME/.cargo/env"
rm -rf node_modules && npm install --frozen-lockfile
npm run build
working-directory: ./node
54 changes: 54 additions & 0 deletions .github/workflows/build-python-wrapper/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build Python wrapper

inputs:
os:
description: "The current operating system"
required: true
type: string
options:
- macOS
- ubuntu
- amazon-linux
release_mode:
description: "Enable building the wrapper in release mode"
required: false
type: boolean
default: "false"

env:
CARGO_TERM_COLOR: always

runs:
using: "composite"
steps:
- name: Install software dependencies
uses: ./.github/workflows/install-shared-dependencies
with:
os: ${{ inputs.os }}

- name: Install Python software dependencies
shell: bash
run: |
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
python3 -m pip install virtualenv mypy-protobuf

- name: Generate protobuf files
shell: bash
working-directory: .
run: |
export PATH="$PATH:$HOME/.local/bin"
MYPY_PROTOC_PATH=`which protoc-gen-mypy`
protoc --plugin=protoc-gen-mypy=${MYPY_PROTOC_PATH} -Iprotobuf=./babushka-core/src/protobuf/ --python_out=./python/python/pybushka --mypy_out=./python/python/pybushka ./babushka-core/src/protobuf/*.proto

- name: Build Pybushka
shell: bash
working-directory: ./python
run: |
source "$HOME/.cargo/env"
python3 -m venv .env
source .env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
RELEASE_FLAG=`if [ ${{ inputs.release_mode }} = 'true' ]; then echo --release; fi`
maturin develop ${RELEASE_FLAG}
Loading
Loading