{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":908893,"defaultBranch":"master","name":"node-redis","ownerLogin":"redis","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-09-14T02:05:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1529926?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1707143177.0","currentOid":""},"activityList":{"items":[{"before":"88ef3b87ed1e4a830862bc9eeebeb21db9bb5844","after":"f9252356aeeecf02adc107fb0cc3a25a8aca3518","ref":"refs/heads/v5","pushedAt":"2024-02-28T19:33:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"docs","shortMessageHtmlLink":"docs"}},{"before":"3e167912fbf55e20c9ffb8a8f09bb6778ce33b2c","after":"88ef3b87ed1e4a830862bc9eeebeb21db9bb5844","ref":"refs/heads/v5","pushedAt":"2024-02-28T15:26:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"exclude ./lib/sentinel/test-util.ts from build","shortMessageHtmlLink":"exclude ./lib/sentinel/test-util.ts from build"}},{"before":"7e27f72f72eb79dbb7822babc3313c83e6c8bbfe","after":"3e167912fbf55e20c9ffb8a8f09bb6778ce33b2c","ref":"refs/heads/v5","pushedAt":"2024-02-21T08:29:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sjpotter","name":"Shaya Potter","path":"/sjpotter","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1659735?s=80&v=4"},"commit":{"message":"More fixes for socket issue (#2710)\n\n* more typing fixes\r\n\r\n* try to redo typing a bit and genericize to make better\r\n\r\n* use genericized cluster options for cluster as well","shortMessageHtmlLink":"More fixes for socket issue (#2710)"}},{"before":"06ba71370643d2995aab27f1c557c76685893417","after":"7e27f72f72eb79dbb7822babc3313c83e6c8bbfe","ref":"refs/heads/v5","pushedAt":"2024-02-19T21:28:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"cf5587ec4a44d349964610f8f047efc9e5928306","after":"06ba71370643d2995aab27f1c557c76685893417","ref":"refs/heads/v5","pushedAt":"2024-02-19T21:26:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"copy #2628 into v5","shortMessageHtmlLink":"copy #2628 into v5"}},{"before":"5ba5e093a87b2c4353f1338dd6b4956597d74368","after":"cf5587ec4a44d349964610f8f047efc9e5928306","ref":"refs/heads/v5","pushedAt":"2024-02-19T21:18:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Update pub-sub.md","shortMessageHtmlLink":"Update pub-sub.md"}},{"before":"2309d09ca1072b179dc0e06194f87f5393c2e7c2","after":"5ba5e093a87b2c4353f1338dd6b4956597d74368","ref":"refs/heads/v5","pushedAt":"2024-02-19T21:10:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Update pub-sub.md","shortMessageHtmlLink":"Update pub-sub.md"}},{"before":"cc85112e54d555b0daabcb5a5399b44b3d0a499f","after":"2309d09ca1072b179dc0e06194f87f5393c2e7c2","ref":"refs/heads/v5","pushedAt":"2024-02-15T14:57:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix socket type issues","shortMessageHtmlLink":"fix socket type issues"}},{"before":"ec33759e8ace5b15a2c19920c5767a25af641465","after":"cc85112e54d555b0daabcb5a5399b44b3d0a499f","ref":"refs/heads/v5","pushedAt":"2024-02-12T23:38:22.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"remove console.log","shortMessageHtmlLink":"remove console.log"}},{"before":"8340a9e8301c9343784b9de134ef46ce3343f898","after":"ec33759e8ace5b15a2c19920c5767a25af641465","ref":"refs/heads/v5","pushedAt":"2024-02-05T16:26:33.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Merge branch 'master' of github.com:redis/node-redis into v5","shortMessageHtmlLink":"Merge branch 'master' of github.com:redis/node-redis into v5"}},{"before":"8f3a2765099b2508a3e3e550bb8424ea8128cfee","after":"8340a9e8301c9343784b9de134ef46ce3343f898","ref":"refs/heads/v5","pushedAt":"2024-02-05T16:18:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"some cleanups","shortMessageHtmlLink":"some cleanups"}},{"before":"0cd69156985a24e1bc1dcaf7245d8cfa7c6dbf9d","after":"8f3a2765099b2508a3e3e550bb8424ea8128cfee","ref":"refs/heads/v5","pushedAt":"2024-02-05T14:48:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Sentinel Support (#2664)\n\n* redis client socket changes needed for sentinel\r\n\r\n* Sentinel Implementation [EXPERIMENTAL]\r\n\r\n* add pooling\r\n\r\n* improve typing with SENTINEL_ client members\r\n\r\n* cleanup - remove unused comments / commented code\r\n\r\n* small sendCommand change + revert change to tsconfig\r\n\r\n* add more sentinel commands needed for testing.\r\n\r\n* lots of fixups and a reasonable first pass test suite\r\n\r\n* add a timer option to update topology in background\r\n\r\n+ don't need both sentinel client and pubsubclient\r\n+ nits\r\n\r\n* format all the things\r\n\r\n* more progress\r\n\r\n* small cleanup\r\n\r\n* try to group promises together to minimize the internal await points\r\n\r\n* redo events, to keep a single topology event to listen on\r\n\r\n* nits + readme\r\n\r\n* add RedisSentinelFactory to provide lower level access to sentinel\r\n\r\n* nit\r\n\r\n* update\r\n\r\n* add RedisSentinelClient/Type for leased clients\r\n\treturned by aquire()\r\n\tused by function passed to use()\r\n\r\n* add self for private access + improve emitting\r\n\r\n* nit\r\n\r\n* nits\r\n\r\n* improve testing\r\n\r\n- improve steady state waiting between tests\r\n- get masternode from client, not from sentinels themselves (not consistent and then client isn't changing as we expect\r\n- provide extensive logging/tracing on test errors\r\n\t- provide a very low impact tracing mechanism withinthe code that only really impacts code when tracing is in use.\r\n\r\n* ismall nit for typing\r\n\r\n* bunch of changes\r\n\r\n- harden testing\r\n\t- don't use sentinel[0] for debug error dump as could be downed by a test\r\n\t- increase time for sentinel down test to 30s (caused a long taking failover)\r\n- add client-error even / don't pass throuh client errors as errors option for pubsub proxy\r\n- when passing through cient errors as error events, dont pass the event, but the Error object, as only Error objects are supposed to be on 'error'\r\n\t-\r\n\r\n* improve pub sub proxy.\r\n\r\nsave the refference to all channel/pattern listeners up front on creation, dont hve to fetch the object each time, as it doesn't change.\r\n\r\nremoves race condition between setting up the listener and the pub sub node going down and being recreated.\r\n\r\n* wrap the passed through RedisClient error to make clear where its coming from.\r\n\r\n* refactor sentinel object / factory tests apart\r\n\r\n* harden tests a little bit more\r\n\r\n* add pipeline test\r\n\r\n* add scripts/function tests + fixups / cleanups to get them to work\r\n\r\n* change to use redis-stack-server for redis nodes to enable module testing\r\n\r\n* fix test, forgot to return in use function with module\r\n\r\n* rename test\r\n\r\n* improve tests to test with redis/sentinel nodes with and withput passwords\r\n\r\nthis tests that we are handling the nodeClientOptions and sentinelClientOptions correctly\r\n\r\n* cleanup for RedisSentinel type generic typing in tests\r\n\r\n* remove debugLog, just rely on traace mechanism\r\n\r\n* added multi tests for script/function/modules\r\n\r\n* don't emit errors on lease object, only on main object\r\n\r\n* improve testing\r\n\r\n* extract out common code to reduce duplication\r\n\r\n* nit\r\n\r\n* nits\r\n\r\n* nit\r\n\r\n* remove SENTINEL_... commands from main client, load them via module interface\r\n\r\n* missed adding RedisSentinelModule to correct places in RedisSentinelFactory\r\n\r\n* nits\r\n\r\n* fix test logging on error\r\n\r\n1) it takes a lot of time now, so needs larger timeout\r\n2) docker logs can be large, so need to increase maxBuffer size so doesn't error (and break test clean up)\r\n\r\n* invalidate watches when client reconnects\r\n\r\n+ provide API for other wrapper clients to also create invalid watch states programatically.\r\n\r\nReasoning: if a user does a WATCH and then the client reconnects, the watch is no longer active, but if a user does a MULTI/EXEC after that, they wont know, and since the WATCH is no longer active, the request has no protection.\r\n\r\nThe API is needed for when a wrapper client (say sentinel, cluster) might close the underlying client and reopen a new one transparently to the user. Just like in the reconnection case, this should result in an error, but its up to the wrapping client to provide the appropriate error\r\n\r\n* remove WATCH and UNWATCH command files, fix WATCH and UNWATCH return type, some more cleanups\r\n\r\n* missing file in last commit :P\r\n\r\n* support for custom message in `WatchError`\r\n\r\n* setDirtyWatch\r\n\r\n* update watch docs\r\n\r\n* fixes needed\r\n\r\n* wip\r\n\r\n* get functions/modules to work again\r\n\r\nself -> _self change\r\n\r\n* reuse leased client on pipelined commands.\r\n\r\nthough I realize this implementation, really only works after the first write command.\r\n\r\nunsure this is worth it.\r\n\r\n* test tweaks\r\n\r\n* nit\r\n\r\n* change how \"sentinel\" object client works, allow it to be reserved\r\n\r\nno more semaphore type counting\r\n\r\n* review\r\n\r\n* fixes to get more tests to pass\r\n\r\n* handle dirtyWatch and watchEpoch in reset and resetIfDirty\r\n\r\n* \"fix\", but not correct, needs more work\r\n\r\n* fix pubsub proxy\r\n\r\n* remove timeout from steadyState function in test, caused problems\r\n\r\n* improve restarting nodes\r\n\r\n* fix pubsub proxy and test\r\n\r\n---------\r\n\r\nCo-authored-by: Leibale Eidelman ","shortMessageHtmlLink":"Sentinel Support (#2664)"}},{"before":"4aba393bd9ace567158db5ecb15d6522e72b8d14","after":"8e72438c60df7e6715a9b6f9ee8111b276e2aadf","ref":"refs/heads/gh-pages","pushedAt":"2024-02-05T14:27:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Updates","shortMessageHtmlLink":"Updates"}},{"before":"03ab4fbd6c3ceb7500cf95a3465685b0fd8c7152","after":"dbf8f59a47573e6a1c75b78e566af8c493015d5d","ref":"refs/heads/master","pushedAt":"2024-02-05T14:26:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Release redis@4.6.13","shortMessageHtmlLink":"Release redis@4.6.13"}},{"before":"506d9dcc2cbc1cb0625c46982497143868768800","after":"4aba393bd9ace567158db5ecb15d6522e72b8d14","ref":"refs/heads/gh-pages","pushedAt":"2024-02-05T14:25:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Updates","shortMessageHtmlLink":"Updates"}},{"before":"0f29f4238f9eebea9fc0f5267c0f424870b7c526","after":"03ab4fbd6c3ceb7500cf95a3465685b0fd8c7152","ref":"refs/heads/master","pushedAt":"2024-02-05T14:24:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Release client@1.5.14","shortMessageHtmlLink":"Release client@1.5.14"}},{"before":"abc1aa245506aa57fdd417ae3c1c0c4f2425a526","after":"506d9dcc2cbc1cb0625c46982497143868768800","ref":"refs/heads/gh-pages","pushedAt":"2024-02-05T14:15:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Updates","shortMessageHtmlLink":"Updates"}},{"before":"295647cf9d7ddc93b9b516a45098765084a0c2d8","after":"0f29f4238f9eebea9fc0f5267c0f424870b7c526","ref":"refs/heads/master","pushedAt":"2024-02-05T14:14:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Change json docker version to 2.6.9","shortMessageHtmlLink":"Change json docker version to 2.6.9"}},{"before":"baef3486ad0e15d0364bc92cab94fbfa825efe85","after":"0cd69156985a24e1bc1dcaf7245d8cfa7c6dbf9d","ref":"refs/heads/v5","pushedAt":"2024-01-31T20:08:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix client.reset","shortMessageHtmlLink":"fix client.reset"}},{"before":"1006e3b29f14753886391be99cec50823804c630","after":"baef3486ad0e15d0364bc92cab94fbfa825efe85","ref":"refs/heads/v5","pushedAt":"2024-01-31T18:27:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix client.reset","shortMessageHtmlLink":"fix client.reset"}},{"before":"f7f51b9c92408e026733afe0e029342122b874f7","after":"1006e3b29f14753886391be99cec50823804c630","ref":"refs/heads/v5","pushedAt":"2024-01-29T13:30:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix dirty selected DB check","shortMessageHtmlLink":"fix dirty selected DB check"}},{"before":"dded3de090ebed5c9a4e0666c38e00b402907bda","after":"f7f51b9c92408e026733afe0e029342122b874f7","ref":"refs/heads/v5","pushedAt":"2024-01-29T13:25:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix pubsub handler","shortMessageHtmlLink":"fix pubsub handler"}},{"before":"c2747dea1cb4c068499e28c84a1fcf80077998f9","after":"dded3de090ebed5c9a4e0666c38e00b402907bda","ref":"refs/heads/v5","pushedAt":"2024-01-29T09:37:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix monitor, add client.reset & client.resetState, some fixes","shortMessageHtmlLink":"fix monitor, add client.reset & client.resetState, some fixes"}},{"before":"3e891766d81aa18bfea01fecd7c42543cb45e031","after":"abc1aa245506aa57fdd417ae3c1c0c4f2425a526","ref":"refs/heads/gh-pages","pushedAt":"2024-01-29T08:26:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Updates","shortMessageHtmlLink":"Updates"}},{"before":"5a96058c2f77c1278a0438ca5923f0772cf74790","after":"295647cf9d7ddc93b9b516a45098765084a0c2d8","ref":"refs/heads/master","pushedAt":"2024-01-29T08:25:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"fix(clustered pubsub): check that `client.isOpen` before calling `client.disconnect()` when unsubscribing (#2687)\n\n* Confirm the client isOpen before disconnecting\r\n\r\n* Write tests\r\n\r\n* fix tests\r\n\r\n* fix tests\r\n\r\n---------\r\n\r\nCo-authored-by: Leibale Eidelman ","shortMessageHtmlLink":"fix(clustered pubsub): check that client.isOpen before calling `cli…"}},{"before":"c1fc0feed011b69a4d19a493ba5ff9ef0d0f4f06","after":"c2747dea1cb4c068499e28c84a1fcf80077998f9","ref":"refs/heads/v5","pushedAt":"2024-01-24T08:31:34.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"Merge branch 'v5' of github.com:leibale/node-redis into v5","shortMessageHtmlLink":"Merge branch 'v5' of github.com:leibale/node-redis into v5"}},{"before":"6686f44d3b83d29888daccf75007de90617c6eb8","after":"c1fc0feed011b69a4d19a493ba5ff9ef0d0f4f06","ref":"refs/heads/v5","pushedAt":"2024-01-03T16:46:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"leibale","name":"Leibale Eidelman","path":"/leibale","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7086055?s=80&v=4"},"commit":{"message":"#2670 #2668 - add note about command modifiers that changes the reply type","shortMessageHtmlLink":"#2670 #2668 - add note about command modifiers that changes the reply…"}},{"before":"f3a93070ebdae42c11a4efe7e87c79a45b0561e1","after":"3e891766d81aa18bfea01fecd7c42543cb45e031","ref":"refs/heads/gh-pages","pushedAt":"2023-12-20T10:33:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Updates","shortMessageHtmlLink":"Updates"}},{"before":"ad48d5cfce767c37cc762859f89972e3f4f1c264","after":null,"ref":"refs/heads/ck-rlinker","pushedAt":"2023-12-20T10:32:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chayim","name":"Chayim","path":"/chayim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1333958?s=80&v=4"}},{"before":"ccd96101773c7332c01a2eb45cfbd21868a7490b","after":"5a96058c2f77c1278a0438ca5923f0772cf74790","ref":"refs/heads/master","pushedAt":"2023-12-20T10:32:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chayim","name":"Chayim","path":"/chayim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1333958?s=80&v=4"},"commit":{"message":"Linking to Redis learning resources (#2628)","shortMessageHtmlLink":"Linking to Redis learning resources (#2628)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAECAD46AA","startCursor":null,"endCursor":null}},"title":"Activity · redis/node-redis"}