Skip to content

Conversation

@serbel324
Copy link
Collaborator

@serbel324 serbel324 commented Dec 12, 2025

Changelog entry

Add ctor with named args for TEvPut, remove unsafe ctor, add internal relevance watcher alongside external one

Changelog category

  • Not for changelog (changelog entry is not required)

Copilot AI review requested due to automatic review settings December 12, 2025 14:10
@github-actions
Copy link

github-actions bot commented Dec 12, 2025

2025-12-12 14:11:06 UTC Pre-commit check linux-x86_64-relwithdebinfo for 24714fe has started.
2025-12-12 14:11:19 UTC Artifacts will be uploaded here
2025-12-12 14:12:40 UTC ya make is running...
🔴 2025-12-12 14:47:45 UTC Build failed, see the logs. Also see fail summary

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

2025-12-12 14:11:31 UTC Pre-commit check linux-x86_64-release-asan for 24714fe has started.
2025-12-12 14:11:49 UTC Artifacts will be uploaded here
2025-12-12 14:15:18 UTC ya make is running...
🔴 2025-12-12 14:51:40 UTC Build failed, see the logs. Also see fail summary

@ydbot
Copy link
Collaborator

ydbot commented Dec 12, 2025

Run Extra Tests

Run additional tests for this PR. You can customize:

  • Test Size: small, medium, large (default: all)
  • Test Targets: any directory path (default: ydb/)
  • Sanitizers: ASAN, MSAN, TSAN
  • Coredumps: enable for debugging (default: off)
  • Additional args: custom ya make arguments

▶  Run tests

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

🟢 2025-12-15 10:20:16 UTC The validation of the Pull Request description is successful.

Copy link
Contributor

Copilot AI left a comment

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 refactors the TEvBlobStorage::TEvPut constructor API to use a named parameters pattern via a new TParameters struct, while maintaining backward compatibility through delegating constructors. The unsafe constructor with many positional parameters (including externalRelevanceWatcher) has been removed in favor of the more explicit TParameters approach.

  • Introduced TParameters struct with named fields for safer and more readable constructor calls
  • Refactored existing convenience constructors to delegate to the TParameters-based constructor
  • Updated test code to demonstrate the new usage pattern with named parameters

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
ydb/core/base/blobstorage.h Added TParameters struct and refactored TEvPut constructors to use it, removing the unsafe constructor with positional parameters
ydb/core/blobstorage/ut_blobstorage/cancellation.cpp Updated test to use the new TParameters constructor with named arguments for better clarity

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

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

2025-12-12 15:24:26 UTC Pre-commit check linux-x86_64-release-asan for 9dc7baa has started.
2025-12-12 15:24:42 UTC Artifacts will be uploaded here
2025-12-12 15:26:54 UTC ya make is running...
🟡 2025-12-12 17:13:56 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13476 13379 0 73 7 17

🟢 2025-12-12 17:14:04 UTC Build successful.
🟢 2025-12-12 17:14:35 UTC ydbd size 3.9 GiB changed* by +4.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 9885800 merge: 9dc7baa diff diff %
ydbd size 4 134 704 632 Bytes 4 134 709 688 Bytes +4.9 KiB +0.000%
ydbd stripped size 1 534 656 920 Bytes 1 534 656 472 Bytes -448 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

2025-12-12 15:25:39 UTC Pre-commit check linux-x86_64-relwithdebinfo for 9dc7baa has started.
2025-12-12 15:25:56 UTC Artifacts will be uploaded here
2025-12-12 15:28:05 UTC ya make is running...
🟡 2025-12-12 17:42:37 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41903 38951 0 2 2918 32

2025-12-12 17:42:51 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-12-12 17:55:15 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
82 (only retried tests) 70 0 0 0 12

🟢 2025-12-12 17:55:23 UTC Build successful.
🟢 2025-12-12 17:55:47 UTC ydbd size 2.3 GiB changed* by -3.0 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 9885800 merge: 9dc7baa diff diff %
ydbd size 2 469 110 800 Bytes 2 469 107 744 Bytes -3.0 KiB -0.000%
ydbd stripped size 525 386 880 Bytes 525 385 792 Bytes -1.1 KiB -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

2025-12-15 05:41:44 UTC Pre-commit check linux-x86_64-release-asan for 558ae1b has started.
2025-12-15 05:42:01 UTC Artifacts will be uploaded here
2025-12-15 05:44:10 UTC ya make is running...
🟡 2025-12-15 07:33:40 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13498 13345 0 62 79 12

🟢 2025-12-15 07:33:50 UTC Build successful.
🟢 2025-12-15 07:34:20 UTC ydbd size 3.9 GiB changed* by -63.7 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 98e37a5 merge: 558ae1b diff diff %
ydbd size 4 139 760 328 Bytes 4 139 695 056 Bytes -63.7 KiB -0.002%
ydbd stripped size 1 536 618 648 Bytes 1 536 600 280 Bytes -17.9 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

2025-12-15 05:43:32 UTC Pre-commit check linux-x86_64-relwithdebinfo for 558ae1b has started.
2025-12-15 05:43:50 UTC Artifacts will be uploaded here
2025-12-15 05:46:00 UTC ya make is running...
🟡 2025-12-15 07:59:05 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41927 38992 0 1 2902 32

2025-12-15 07:59:18 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-12-15 08:12:10 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
54 (only retried tests) 40 0 0 0 14

🟢 2025-12-15 08:12:16 UTC Build successful.
🟢 2025-12-15 08:12:40 UTC ydbd size 2.3 GiB changed* by -41.1 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 98e37a5 merge: 558ae1b diff diff %
ydbd size 2 473 464 288 Bytes 2 473 422 168 Bytes -41.1 KiB -0.002%
ydbd stripped size 526 564 320 Bytes 526 561 440 Bytes -2.8 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@serbel324 serbel324 changed the title Add TParameters constructor with named arguments, remove unsafe ctor Refactor TEvPut ctors, return relevance trackers for request actors Dec 15, 2025
@github-actions
Copy link

github-actions bot commented Dec 15, 2025

2025-12-15 10:33:31 UTC Pre-commit check linux-x86_64-relwithdebinfo for cb1d04c has started.
2025-12-15 10:33:44 UTC Artifacts will be uploaded here
2025-12-15 10:35:03 UTC ya make is running...
🟡 2025-12-15 12:42:46 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
42050 39126 0 1 2902 21

2025-12-15 12:43:03 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-12-15 12:56:46 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 (only retried tests) 25 0 0 0 13

🟢 2025-12-15 12:56:53 UTC Build successful.
🟢 2025-12-15 12:57:15 UTC ydbd size 2.3 GiB changed* by -45.1 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 32a2f32 merge: cb1d04c diff diff %
ydbd size 2 473 674 448 Bytes 2 473 628 224 Bytes -45.1 KiB -0.002%
ydbd stripped size 526 632 960 Bytes 526 625 984 Bytes -6.8 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

2025-12-15 10:34:25 UTC Pre-commit check linux-x86_64-release-asan for cb1d04c has started.
2025-12-15 10:34:41 UTC Artifacts will be uploaded here
2025-12-15 10:36:47 UTC ya make is running...
🟡 2025-12-15 12:24:19 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13549 13470 0 59 7 13

🟢 2025-12-15 12:24:28 UTC Build successful.
🟢 2025-12-15 12:24:56 UTC ydbd size 3.9 GiB changed* by -68.5 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 32a2f32 merge: cb1d04c diff diff %
ydbd size 4 139 975 488 Bytes 4 139 905 320 Bytes -68.5 KiB -0.002%
ydbd stripped size 1 536 678 680 Bytes 1 536 656 024 Bytes -22.1 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@serbel324 serbel324 enabled auto-merge (squash) December 15, 2025 10:52
@serbel324 serbel324 merged commit afa999a into ydb-platform:main Dec 15, 2025
9 checks passed
@ydbot
Copy link
Collaborator

ydbot commented Dec 15, 2025

Backport

To backport this PR, click the button next to the target branch and then click "Run workflow" in the Run Actions UI.

Branch Run
stable-25-2, stable-25-2-1, stable-25-3, stable-25-3-1 ▶  Backport
stable-25-3, stable-25-3-1 ▶  Backport
stable-25-3 ▶  Backport

▶  Backport manual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants