Repository navigation
Conversation
arkjedrz
requested review from
PandaeDo,
antonkri,
umaucher and
vinodreddy-g
as code owners
October 22, 2026 13:27
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
Contributor
|
Documentation preview for this pull request is available at: |
arkjedrz
force-pushed
the
arkjedrz_style-05-fixes
branch
from
October 23, 2026 06:58
5a69b3b to
8323335
Compare
arkjedrz
force-pushed
the
arkjedrz_style-05-fixes
branch
from
October 27, 2026 11:27
8323335 to
5b8037a
Compare
- Rename public Kvs, KvsBuilder and KvsValue methods to PascalCase. Keep the snake_case names as [[deprecated]] wrappers. - Rename public constants to k-prefixed names and keep the old ones as [[deprecated]] constants. - Prefix the enumerators of OpenNeedDefaults, OpenNeedKvs, OpenJsonNeedFile, KvsValue::Type and ErrorCode with k. Keep the old enumerators as [[deprecated]] aliases with the same values. - Rename private methods, internal helpers and file-local constants. - Rename unit-test and test-scenario helpers, constants and camelCase locals. - Add kvs_deprecated_api tests for the deprecated names. - Update examples/README.md to the new API. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Rename OpenNeedDefaults and OpenNeedKvs to KvsDefaults and KvsLoad. Keep the old names as [[deprecated]] type aliases. - Rename KvsBuilder::NeedDefaultsFlag, NeedKvsFlag and Dir to Defaults, KvsLoad and WorkingDir. - Rename Kvs::GetKvsFilename and GetHashFilename to KvsFilePath and HashFilePath. - Forward the deprecated snake_case wrappers to the new names. - Rename the C++ test-scenario helpers that have a Rust counterpart. - Rust: rename KVS_MAX_KEY_LENGTH_BYTES to MAX_KEY_LENGTH_BYTES and keep the old name as a #[deprecated] constant. - Update the compat test, docs and examples/README.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The deprecated names cover methods, constants, enumerators and type aliases, and only the methods were snake_case. Replace "The snake_case API is removed in a future release." with "This name is removed in a future release." in every message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Brace-initialize declarations. Count/value constructors and initializer_list types keep parentheses. - Declare one variable per declaration. - Order class sections and members as the style guide requires. Move the KvsValue::ValueVariant alias next to Array and Object. - Initialize InstanceId, SnapshotId and KvsValue members in the initializer list. - Define members in .cpp files in declaration order and group file-local helpers at the top. - Name repeated file suffixes and the hash size. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Replace false == x and Yoda comparisons in kvs.cpp. - Drop stray this-> in the KvsBuilder setters. - Stop copy-assigning KvsBuilder to itself in the test scenarios. - Replace the C++20 designated initializer in KvsParameters. - Move using namespace out of kvs_general_test.h. - Drop redundant static in anonymous namespaces. - Remove a debug directory listing from kvs_test.cpp. - Rename shadowing locals in kvs_test.cpp and multiple_kvs.cpp. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
arkjedrz
force-pushed
the
arkjedrz_style-05-fixes
branch
from
October 28, 2026 07:28
5b8037a to
c2fda3a
Compare
arkjedrz
requested a deployment
to
workflow-approval
October 28, 2026 07:28 — with
GitHub Actions
Waiting
arkjedrz
requested a deployment
to
workflow-approval
October 28, 2026 07:28 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Merge #566 first.
Closes #556