Skip to content

Misc Cleanup & Refactor#1576

Merged
vazois merged 10 commits into
devfrom
vazois/dev-cleanup
Feb 26, 2026
Merged

Misc Cleanup & Refactor#1576
vazois merged 10 commits into
devfrom
vazois/dev-cleanup

Conversation

@vazois

@vazois vazois commented Feb 24, 2026

Copy link
Copy Markdown
Contributor
  • Refactor resp.bench and add support for InProc benchmarking
  • Add missing license statement from files.
  • Add support for internal client setname and setinfo.

Copilot AI review requested due to automatic review settings February 24, 2026 23:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs miscellaneous cleanup and refactoring across the Garnet codebase with three main objectives:

Changes:

  • Adds support for InProc benchmarking in Resp.benchmark by integrating embedded server capabilities
  • Adds missing MIT license headers to 43 files across test, sample, module, library, and benchmark code
  • Implements CLIENT SETNAME and SETINFO support in GarnetClient and GarnetClientSession for better client identification

Reviewed changes

Copilot reviewed 75 out of 84 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/Garnet.test/* (9 files) Added MIT license headers to test utilities and JSON path tests
samples/ETag/* (4 files) Added MIT license headers to ETag sample code
playground/ClusterStress/* (7 files) Removed entire ClusterStress project from solution
playground/Bitmap/BitOp.cs Fixed label indentation for consistency
modules/GarnetJSON/JSONPath/* (14 files) Added MIT license headers to JSON path implementation files
modules/GarnetJSON/GarnetJSON.csproj Removed unused Azure.Storage.Blobs package reference
libs/storage/Tsavorite/* (5 files) Standardized license headers removing "All rights reserved" phrase
libs/server/TLS/GarnetTlsOptions.cs Removed trailing whitespace
libs/server/Properties/AssemblyInfo.cs Added InternalsVisibleTo attribute for Resp.benchmark
libs/server/Objects/SortedSetGeo/GeoSearchOptions.cs Added MIT license header
libs/server/Lua/* (2 files) Fixed license header formatting and indentation
libs/server/Custom/ObjectInputExtensions.cs Added MIT license header
libs/resources/ResourceUtils.cs Added MIT license header
libs/cluster/Server/Gossip/GarnetServerNode.cs Added clientName parameter for gossip client identification
libs/cluster/Server/ClusterConfig.cs Added LocalNodeEndpoint property
libs/client/GarnetClient.cs Implemented CLIENT SETNAME/SETINFO support with new clientName parameter
libs/client/ClientSession/GarnetClientSession.cs Implemented CLIENT SETNAME/SETINFO support with new clientName parameter
benchmark/Resp.benchmark/* (multiple files) Major refactoring: added InProc client type, reorganized files into Common/OfflineBench/OnlineBench folders, added server options, removed unused imports
benchmark/Device.benchmark/Device.benchmark.csproj Removed duplicate BenchmarkLoggerProvider.cs link
benchmark/BDN.benchmark/* (2 files) Added MIT license header and GetRespSessions method for multi-session support
Garnet.slnx Removed ClusterStress project reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread libs/client/GarnetClient.cs
Comment thread libs/client/ClientSession/GarnetClientSession.cs Outdated
Comment thread libs/server/Lua/LuaRunner.Functions.Struct.cs
@vazois vazois force-pushed the vazois/dev-cleanup branch from a533bdc to 3d15ab6 Compare February 24, 2026 23:26
* Parallel ACL tests sometimes run forever, cleaned up to properly use async and also check server responses.

* nit

* format

* timeouts

* reduce timeout

* address comments

* nit

* nit
@vazois vazois merged commit 1ffe37f into dev Feb 26, 2026
30 checks passed
@vazois vazois deleted the vazois/dev-cleanup branch February 26, 2026 21:26
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants