Repository navigation
Conversation
arkjedrz
requested review from
PandaeDo,
antonkri,
umaucher and
vinodreddy-g
as code owners
October 22, 2026 11:02
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-03-naming
branch
from
October 23, 2026 06:58
eedd577 to
193ce2a
Compare
arkjedrz
force-pushed
the
arkjedrz_style-03-naming
branch
from
October 27, 2026 11:27
193ce2a to
c7111a3
Compare
Ahmed-Elsaka-JC
suggested changes
Oct 27, 2026
Contributor
There was a problem hiding this comment.
this file aldready exist on master , it seems repeated.
Contributor
Author
Contributor
There was a problem hiding this comment.
file already exist also , please rebase
Contributor
There was a problem hiding this comment.
please rebase, because this file also exist.
| // Each one is an alias of its k-prefixed replacement and is removed in a future release. | ||
| UnmappedError [[deprecated("Use kUnmappedError instead. The snake_case API is removed in a future release.")]] = | ||
| kUnmappedError, | ||
| FileNotFound [[deprecated("Use kFileNotFound instead. The snake_case API is removed in a future release.")]] = |
Contributor
There was a problem hiding this comment.
this is not snake please mention nutral wording message , like old name removed to align with rust
| constexpr std::size_t kDefaultMaxSnapshots = 3U; | ||
|
|
||
| /// @deprecated Use `kDefaultMaxSnapshots` instead. | ||
| [[deprecated("Use kDefaultMaxSnapshots instead. The snake_case API is removed in a future release.")]] |
Contributor
There was a problem hiding this comment.
this deprecation message is missleading .
pelase revisit all deprecations messages.
- 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>
arkjedrz
force-pushed
the
arkjedrz_style-03-naming
branch
from
October 28, 2026 07:28
c7111a3 to
cde9407
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.
Apply C++ naming rules:
Keep the snake_case names as [[deprecated]] wrappers.
as [[deprecated]] constants.
OpenJsonNeedFile, KvsValue::Type and ErrorCode with k. Keep the old
enumerators as [[deprecated]] aliases with the same values.
camelCase locals.
Align with Rust API:
Keep the old names as [[deprecated]] type aliases.
Defaults, KvsLoad and WorkingDir.
HashFilePath.
keep the old name as a #[deprecated] constant.
Merge #562 first
Relates to #556