Skip to content

Conversation

@nshestakov
Copy link
Collaborator

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

...

Copilot AI review requested due to automatic review settings November 7, 2025 17:38
@nshestakov nshestakov requested a review from a team as a code owner November 7, 2025 17:38
@nshestakov nshestakov requested a review from ubyte November 7, 2025 17:38
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

🟢 2025-11-07 17:41:36 UTC The validation of the Pull Request description is successful.

@nshestakov nshestakov enabled auto-merge (squash) November 7, 2025 17:41
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 test utilities for snapshot/WAL testing and adds new test cases for SlowZone retention behavior. It also fixes a missing DLQ message count increment and adds a new method to retrieve locked message groups.

  • Introduces Begin(), End(), and AssertLoad() helper methods to reduce test code duplication
  • Adds three new test cases to verify SlowZone retention behavior with different message counts
  • Fixes DLQ message count metric initialization in snapshot loading

Reviewed Changes

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

File Description
mlp_storage_ut.cpp Refactors test utilities with Begin/End/AssertLoad pattern, updates existing tests to use the new pattern, adds retention period change and new SlowZone retention tests
mlp_storage__serialization.cpp Adds missing DLQ message count increment during snapshot initialization
mlp_storage.h Declares new GetLockedMessageGroupsId() method for test assertions
mlp_storage.cpp Implements GetLockedMessageGroupsId() method

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

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

2025-11-07 17:42:25 UTC Pre-commit check linux-x86_64-relwithdebinfo for a78471f has started.
2025-11-07 17:42:41 UTC Artifacts will be uploaded here
2025-11-07 17:45:01 UTC ya make is running...
2025-11-07 17:46:28 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

2025-11-07 17:42:38 UTC Pre-commit check linux-x86_64-release-asan for a78471f has started.
2025-11-07 17:42:55 UTC Artifacts will be uploaded here
2025-11-07 17:45:13 UTC ya make is running...
2025-11-07 17:46:28 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

2025-11-07 17:46:55 UTC Pre-commit check linux-x86_64-relwithdebinfo for c8096bd has started.
2025-11-07 17:47:01 UTC Artifacts will be uploaded here
2025-11-07 17:48:17 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

2025-11-07 17:50:21 UTC Pre-commit check linux-x86_64-release-asan for 77dc942 has started.
2025-11-07 17:50:38 UTC Artifacts will be uploaded here
2025-11-07 17:53:01 UTC ya make is running...
🟡 2025-11-07 19:48:11 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?
15453 15069 0 147 218 19

🟢 2025-11-07 19:48:23 UTC Build successful.
🟢 2025-11-07 19:48:49 UTC ydbd size 3.8 GiB changed* by +112 Bytes, which is < 100.0 KiB vs main: OK

ydbd size dash main: 87094f8 merge: 77dc942 diff diff %
ydbd size 4 073 018 520 Bytes 4 073 018 632 Bytes +112 Bytes +0.000%
ydbd stripped size 1 511 849 832 Bytes 1 511 849 832 Bytes 0 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 Nov 7, 2025

2025-11-07 17:52:13 UTC Pre-commit check linux-x86_64-relwithdebinfo for 77dc942 has started.
2025-11-07 17:52:38 UTC Artifacts will be uploaded here
2025-11-07 17:55:01 UTC ya make is running...
🟡 2025-11-07 19:17:35 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31592 30174 0 3 1386 29

2025-11-07 19:17:55 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-11-07 19:26:14 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59 (only retried tests) 46 0 0 0 13

🟢 2025-11-07 19:26:24 UTC Build successful.
🟢 2025-11-07 19:26:47 UTC ydbd size 2.3 GiB changed* by +48 Bytes, which is < 100.0 KiB vs main: OK

ydbd size dash main: 87094f8 merge: 77dc942 diff diff %
ydbd size 2 431 822 416 Bytes 2 431 822 464 Bytes +48 Bytes +0.000%
ydbd stripped size 516 531 824 Bytes 516 531 824 Bytes 0 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

@nshestakov nshestakov merged commit 0eca578 into ydb-platform:main Nov 7, 2025
11 checks passed
@nshestakov nshestakov deleted the MLP-tests branch November 12, 2025 10:34
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.

2 participants