Skip to content

improve failsafe on cuttting history #6918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 21, 2024
Merged

Conversation

vporyadke
Copy link
Collaborator

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Additional information

...

Copy link

github-actions bot commented Jul 22, 2024

2024-07-22 08:24:10 UTC Pre-commit check for 0212431 has started.
2024-07-22 08:27:15 UTC Build+Tests linux-x86_64-release-clang14 is running...
🟢 2024-07-22 09:02:19 UTC Build successful.

Copy link

github-actions bot commented Jul 22, 2024

2024-07-22 08:24:18 UTC Pre-commit check for 0212431 has started.
2024-07-22 08:27:15 UTC Build+Tests linux-x86_64-relwithdebinfo is running...
🟢 2024-07-22 10:40:09 UTC Build successful.
🔴 2024-07-22 10:44:27 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39598 34357 0 4 5225 12

🟡 2024-07-22 10:45:05 UTC ydbd size 8.1 GiB changed* by +1.2 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 1c15550 merge: 0212431 diff diff %
ydbd size 8 656 109 112 Bytes 8 657 377 904 Bytes +1.2 MiB +0.015%
ydbd stripped size 471 115 872 Bytes 471 146 816 Bytes +30.2 KiB +0.007%

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

Copy link

github-actions bot commented Jul 22, 2024

2024-07-22 08:24:40 UTC Pre-commit check for 0212431 has started.
2024-07-22 08:27:36 UTC Build+Tests linux-x86_64-release-asan is running...
🟢 2024-07-22 11:00:14 UTC Build successful.
🔴 2024-07-22 11:03:30 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11060 10467 0 94 329 170

🟡 2024-07-22 11:04:23 UTC ydbd size 5.2 GiB changed* by +117.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 5e95651 merge: 0212431 diff diff %
ydbd size 5 556 133 632 Bytes 5 556 254 008 Bytes +117.6 KiB +0.002%
ydbd stripped size 1 197 007 984 Bytes 1 197 031 888 Bytes +23.3 KiB +0.002%

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

Copy link

github-actions bot commented Jul 30, 2024

2024-07-30 12:14:04 UTC Pre-commit check for a5d447e has started.
2024-07-30 12:17:07 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-07-30 14:31:59 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39754 34459 0 3 5277 15

2024-07-30 14:35:46 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-07-30 14:43:25 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 (only retried tests) 9 0 1 0 8

2024-07-30 14:46:56 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-07-30 14:54:56 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10 (only retried tests) 1 0 1 0 8

🟢 2024-07-30 14:58:22 UTC Build successful.
🟡 2024-07-30 14:58:57 UTC ydbd size 8.1 GiB changed* by +237.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 9d12242 merge: a5d447e diff diff %
ydbd size 8 678 518 040 Bytes 8 678 760 912 Bytes +237.2 KiB +0.003%
ydbd stripped size 471 879 392 Bytes 471 890 784 Bytes +11.1 KiB +0.002%

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

Copy link

github-actions bot commented Jul 30, 2024

2024-07-30 12:15:45 UTC Pre-commit check for a5d447e has started.
2024-07-30 12:18:40 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-07-30 12:50:39 UTC Build successful.

Copy link

github-actions bot commented Jul 30, 2024

2024-07-30 12:23:18 UTC Pre-commit check for a5d447e has started.
2024-07-30 12:26:15 UTC Check linux-x86_64-release-asan is running...
🔴 2024-07-30 14:57:07 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11058 10472 0 87 326 173

🟢 2024-07-30 14:58:15 UTC Build successful.
🟡 2024-07-30 14:58:45 UTC ydbd size 5.2 GiB changed* by +415.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: a87900c merge: a5d447e diff diff %
ydbd size 5 570 790 880 Bytes 5 571 216 560 Bytes +415.7 KiB +0.008%
ydbd stripped size 1 199 153 232 Bytes 1 199 241 008 Bytes +85.7 KiB +0.007%

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

Copy link

github-actions bot commented Jul 31, 2024

2024-07-31 07:19:36 UTC Pre-commit check for 066ddf5 has started.
2024-07-31 07:22:46 UTC Check linux-x86_64-release-asan is running...
🔴 2024-07-31 10:11:17 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11058 10478 0 83 325 172

🟢 2024-07-31 10:12:22 UTC Build successful.
🟡 2024-07-31 10:12:53 UTC ydbd size 5.2 GiB changed* by +151.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: a0de26d merge: 066ddf5 diff diff %
ydbd size 5 571 364 520 Bytes 5 571 519 440 Bytes +151.3 KiB +0.003%
ydbd stripped size 1 199 269 424 Bytes 1 199 304 752 Bytes +34.5 KiB +0.003%

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

Copy link

github-actions bot commented Jul 31, 2024

2024-07-31 07:19:46 UTC Pre-commit check for 066ddf5 has started.
2024-07-31 07:22:59 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-07-31 08:00:08 UTC Build successful.

Copy link

github-actions bot commented Jul 31, 2024

2024-07-31 07:19:46 UTC Pre-commit check for 066ddf5 has started.
2024-07-31 07:22:59 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-07-31 09:42:33 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39768 34457 0 1 5287 23

2024-07-31 09:46:28 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-07-31 09:54:10 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
21 (only retried tests) 12 0 1 0 8

2024-07-31 09:57:37 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-07-31 10:05:50 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10 (only retried tests) 1 0 1 0 8

🟢 2024-07-31 10:09:09 UTC Build successful.
🟡 2024-07-31 10:09:52 UTC ydbd size 8.1 GiB changed* by +233.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: a0de26d merge: 066ddf5 diff diff %
ydbd size 8 678 668 728 Bytes 8 678 907 648 Bytes +233.3 KiB +0.003%
ydbd stripped size 471 903 072 Bytes 471 910 496 Bytes +7.2 KiB +0.002%

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

@vporyadke vporyadke requested a review from ijon August 5, 2024 08:31
@vporyadke
Copy link
Collaborator Author

@ijon ijon changed the title imporve failsafe on cuttting history improve failsafe on cuttting history Aug 8, 2024
Copy link
Collaborator

@ijon ijon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не хватает теста на deny/allow списки -- на парсинг и поведение

Comment on lines 905 to 913
if (!denyList.empty()) {
auto found = std::find(denyList.begin(), denyList.end(), type);
allowed &= (found != denyList.end());
}
const auto& allowList = CutHistoryAllowList;
if (!allowList.empty()) {
auto found = std::find(allowList.begin(), allowList.end(), type);
allowed &= (found == allowList.end());
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь в (found != denyList.end()) и (found == allowList.end()) сравнения не надо ли поменять на противоположные?
Сейчас получается:

  • разрешить, если есть в deny-list
  • запретить, если нет в allow-list

Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 13:18:28 UTC Pre-commit check for 4dc5ea3 has started.
2024-08-12 13:21:27 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-12 15:56:39 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11104 11058 0 8 23 15

🟢 2024-08-12 15:57:56 UTC Build successful.
🟡 2024-08-12 15:58:24 UTC ydbd size 5.4 GiB changed* by +113.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 77e599f merge: 4dc5ea3 diff diff %
ydbd size 5 847 085 232 Bytes 5 847 201 568 Bytes +113.6 KiB +0.002%
ydbd stripped size 1 468 640 368 Bytes 1 468 666 736 Bytes +25.8 KiB +0.002%

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

Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 13:20:45 UTC Pre-commit check for 4dc5ea3 has started.
2024-08-12 13:23:47 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-12 15:21:11 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39919 34590 0 5 5308 16

2024-08-12 15:25:45 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-12 15:33:34 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
24 (only retried tests) 15 0 0 1 8

🟢 2024-08-12 15:33:41 UTC Build successful.
🟡 2024-08-12 15:34:16 UTC ydbd size 8.1 GiB changed* by +216.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 77e599f merge: 4dc5ea3 diff diff %
ydbd size 8 694 393 272 Bytes 8 694 615 104 Bytes +216.6 KiB +0.003%
ydbd stripped size 472 909 928 Bytes 472 917 672 Bytes +7.6 KiB +0.002%

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

Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 13:21:20 UTC Pre-commit check for 4dc5ea3 has started.
2024-08-12 13:24:18 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-12 13:58:22 UTC Build successful.

@vporyadke
Copy link
Collaborator Author

@vporyadke vporyadke requested a review from ijon August 16, 2024 08:56
@vporyadke vporyadke merged commit 892d691 into ydb-platform:main Aug 21, 2024
10 of 12 checks passed
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