Skip to content

kvs: fix small C++ issues - #571

Open
arkjedrz wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:arkjedrz_style-05-fixes
Open

arkjedrz wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:arkjedrz_style-05-fixes

Conversation

@arkjedrz

@arkjedrz arkjedrz commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor
  • Replace 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.
  • Rename the snake_case helpers in kvs_test.cpp and kvs_builder_test.cpp to PascalCase.
  • Brace-initialize two declarations that reached main after the idiom pass.

Merge #566 first.

Relates to #556

@arkjedrz arkjedrz self-assigned this Oct 22, 2026
@arkjedrz
arkjedrz deployed to workflow-approval October 22, 2026 13:27 — with GitHub Actions Active
@arkjedrz
arkjedrz deployed to workflow-approval October 22, 2026 13:27 — with GitHub Actions Active
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Starting local Bazel server (8.7.0) and connecting to it...
INFO: Invocation ID: 115a925c-4ddf-4e03-b532-f7fd263964af
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Loading: 2 packages loaded
    currently loading: 
Loading: 2 packages loaded
    currently loading: 
Loading: 2 packages loaded
    currently loading: 
Loading: 2 packages loaded
    currently loading: 
Analyzing: target //:license-check (3 packages loaded, 0 targets configured)
Analyzing: target //:license-check (3 packages loaded, 0 targets configured)

Analyzing: target //:license-check (96 packages loaded, 14 targets configured)

Analyzing: target //:license-check (100 packages loaded, 14 targets configured)

Analyzing: target //:license-check (100 packages loaded, 14 targets configured)

Analyzing: target //:license-check (201 packages loaded, 5532 targets configured)

Analyzing: target //:license-check (202 packages loaded, 11375 targets configured)

Analyzing: target //:license-check (202 packages loaded, 11375 targets configured)

Analyzing: target //:license-check (208 packages loaded, 11785 targets configured)

INFO: Analyzed target //:license-check (213 packages loaded, 17903 targets configured).
[12 / 16] [Prepa] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes ... (2 actions, 0 running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 50 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/tools/formatted.txt
[15 / 16] [Prepa] Building tools/license.check.license_check.jar ()
INFO: Found 1 target...
Target //tools:license.check.license_check up-to-date:
  bazel-bin/tools/license.check.license_check
  bazel-bin/tools/license.check.license_check.jar
INFO: Elapsed time: 43.111s, Critical Path: 1.98s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/tools/license.check.license_check tools/formatted.txt <args omitted>
[main] INFO Querying Eclipse Foundation for license data for 42 items.
[main] INFO Found 32 items.
[main] INFO Querying ClearlyDefined for license data for 10 items.
[main] INFO Found 10 items.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO 
[main] INFO crate/cratesio/-/lazy_static/1.5.1
[main] INFO 
[main] INFO This content is either not correctly mapped by the system, or requires review.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-571: https://eclipse-score.github.io/persistency/pr-571/

@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from 5a69b3b to 8323335 Compare October 23, 2026 06:58
@arkjedrz
arkjedrz deployed to workflow-approval October 23, 2026 06:58 — with GitHub Actions Active
@arkjedrz
arkjedrz deployed to workflow-approval October 23, 2026 06:58 — with GitHub Actions Active
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from 8323335 to 5b8037a Compare October 27, 2026 11:27
@arkjedrz
arkjedrz deployed to workflow-approval October 27, 2026 11:27 — with GitHub Actions Active
@arkjedrz
arkjedrz deployed to workflow-approval October 27, 2026 11:27 — with GitHub Actions Active
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from 5b8037a to c2fda3a Compare October 28, 2026 07:28
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from c2fda3a to 8868938 Compare October 28, 2026 12:43
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from 8868938 to dd2ea42 Compare October 28, 2026 15:00
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from dd2ea42 to 8668609 Compare October 28, 2026 16:08
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from 8668609 to ede5de6 Compare October 28, 2026 16:17
Comment thread score/kvs/kvs.cpp Fixed
Comment thread score/kvs/kvs.cpp Fixed
Comment thread score/kvs/kvs.cpp Fixed
Comment thread score/kvs/kvs_builder.cpp Fixed
Comment thread score/kvs/kvs_builder.cpp Fixed
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch 3 times, most recently from 34c152f to c9b7bc7 Compare November 3, 2026 08:07
- Replace 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.
- Rename the snake_case helpers in kvs_test.cpp and
  kvs_builder_test.cpp to PascalCase.
- Brace-initialize two declarations that reached main after the
  idiom pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arkjedrz
arkjedrz force-pushed the arkjedrz_style-05-fixes branch from c9b7bc7 to be60b7b Compare November 3, 2026 08:42

This branch is waiting to be deployed

1 waiting (outdated) deployment
workflow-approval — 62f6875c Waiting Oct 30, 2026 by arkjedrz via qnx-build (score-qnx-aarch64) / approval #1662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants