Skip to content

Custom compatibility tags (#19415) #19610

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
Jun 24, 2025
Merged

Conversation

PavelEfarinov
Copy link
Collaborator

Changelog category

  • Not for changelog

Description for reviewers

Added new fields in regression compatibility workflow. Disabled default stable branches

-Successful builds

New workflow settings:

image

Copy link

github-actions bot commented Jun 11, 2025

2025-06-11 14:21:09 UTC Pre-commit check linux-x86_64-relwithdebinfo for cec02f3 has started.
2025-06-11 14:21:25 UTC Artifacts will be uploaded here
2025-06-11 14:24:31 UTC ya make is running...
🟡 2025-06-11 14:27:08 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 21 0 1 0 0

2025-06-11 14:27:16 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-11 14:28:27 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

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

2025-06-11 14:28:36 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-06-11 14:31:23 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

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

🟢 2025-06-11 14:31:32 UTC Build successful.

Copy link

🟢 2025-06-11 14:21:32 UTC The validation of the Pull Request description is successful.

Copy link

github-actions bot commented Jun 11, 2025

2025-06-11 14:22:09 UTC Pre-commit check linux-x86_64-release-asan for cec02f3 has started.
2025-06-11 14:22:19 UTC Artifacts will be uploaded here
2025-06-11 14:24:40 UTC ya make is running...
🟡 2025-06-11 14:26:27 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 17 0 1 0 0

2025-06-11 14:26:37 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-11 14:27:49 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

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

2025-06-11 14:27:57 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-06-11 14:30:27 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

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

🟢 2025-06-11 14:30:33 UTC Build successful.

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 5c9d741 to ccb916a Compare June 11, 2025 17:38
Copy link

github-actions bot commented Jun 11, 2025

2025-06-11 17:41:58 UTC Pre-commit check linux-x86_64-relwithdebinfo for 1eafb6f has started.
2025-06-11 17:42:09 UTC Artifacts will be uploaded here
2025-06-11 17:44:35 UTC ya make is running...
🟢 2025-06-11 17:45:24 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-11 17:45:30 UTC Build successful.

Copy link

github-actions bot commented Jun 11, 2025

2025-06-11 17:42:04 UTC Pre-commit check linux-x86_64-release-asan for 1eafb6f has started.
2025-06-11 17:42:14 UTC Artifacts will be uploaded here
2025-06-11 17:44:37 UTC ya make is running...
🟢 2025-06-11 17:45:17 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-11 17:45:24 UTC Build successful.

OUT_NOAUTO ydbd-last-stable ydbd-last-stable-name
)

RUN_PROGRAM(
ydb/tests/library/compatibility/binaries/downloader stable-24-4/release/ydbd ydbd-prelast-stable 24-4
ydb/tests/library/compatibility/binaries/downloader $COMPAT_INIT_REF/release/ydbd ydbd-prelast-stable $COMPAT_INIT_REF
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ну вот сейчас получается, что без задания COMPAT_INIT_REF оно не будет работать. Кроме того, дефолты задаются на уровне воркфлоу. Это приводит к тому, что чтобы запустить "дефолтное" поведение локально придется задавать эти переменные.

Мне кажется корректнее было бы дефолты хранить на уровне этого файла, а вот из воркфлоу это знание убрать. Например, можно поставить здесь условие "если не задано, то используй дефолт", а на уровне воркфлоу просто по дефолту не выставлять эти переременные (или выставлять в "")

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Из воркфлоу передачу этих параметров красиво не убрать, идея передавать пустую строку выглядит зыбко для поддержки в мейках. В ya.make добавил версии по-умолчанию для случаев, когда переменные не заданы вообще

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ну вот все равно не очень красиво получается: у тебя инфа про дефолты в двух местах: в воркфлоу и в ямэйке

Может можно как-то убрать дублирование?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Дублирование убрал, но на страничке воркфлоу сейчас не видно, на каких именно версиях мы запускаемся
image

Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 13:45:59 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2f3496d has started.
2025-06-16 13:46:24 UTC Artifacts will be uploaded here
2025-06-16 13:49:41 UTC ya make is running...
🟢 2025-06-16 13:50:37 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-16 13:50:44 UTC Build successful.

Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 13:46:51 UTC Pre-commit check linux-x86_64-release-asan for 2f3496d has started.
2025-06-16 13:47:03 UTC Artifacts will be uploaded here
2025-06-16 13:49:27 UTC ya make is running...
🟢 2025-06-16 13:50:09 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-16 13:50:16 UTC Build successful.

RUN_PROGRAM(
ydb/tests/library/compatibility/binaries/downloader stable-25-1/release/ydbd ydbd-last-stable 25-1
ydb/tests/library/compatibility/binaries/downloader $COMPAT_INTER_REF/release/ydbd ydbd-last-stable $COMPAT_INTER_REF
Copy link
Collaborator

Choose a reason for hiding this comment

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

А, сорри, что сразу не написал, мне кажется имя переменной, не очень хорошее, лучше сделать префикс YDB_ чтобы было понятно, что наша кастомщина, а не чья-то еще

То есть YDB_COMPAT_INTER_REF

Второй момент, у тебя используется терминология INIT/INTER а в других местах last/prelast. Как будто те же вещи называются разными именами, может было бы неплохо сделать, чтобы одинаково назывались

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Добавил префикс и переименовал last/prelast

try:
result.append(int(elem))
except ValueError:
result.append(float("NaN"))
if idx > 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Вот тут какое-то хакерство, имхо. Может лучше явно

  1. посмотреть первый элемент и если оно состоит из букв, то скипнуть
  2. написать комментарий зачем это нужно (мол обрабатываем случай "stable-25-1")

?

Copy link
Collaborator

@maximyurchuk maximyurchuk Jun 16, 2025

Choose a reason for hiding this comment

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

Воообще, возможно более корректно было бы у самого ydbd спрашивать его версию, но тут требуется исследование и переделки

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Переписал, на явную обработку стейбла, добавил коммент

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 1c890db to cae864b Compare June 16, 2025 18:39
Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 18:40:38 UTC Pre-commit check linux-x86_64-relwithdebinfo for 502f118 has started.
2025-06-16 18:40:49 UTC Artifacts will be uploaded here
2025-06-16 18:43:20 UTC ya make is running...
🟢 2025-06-16 18:44:12 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-16 18:44:18 UTC Build successful.

Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 18:40:48 UTC Pre-commit check linux-x86_64-release-asan for 502f118 has started.
2025-06-16 18:40:59 UTC Artifacts will be uploaded here
2025-06-16 18:43:25 UTC ya make is running...
🟢 2025-06-16 18:44:09 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-16 18:44:16 UTC Build successful.

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from cae864b to 39d2cee Compare June 16, 2025 18:50
Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 18:52:58 UTC Pre-commit check linux-x86_64-release-asan for 0466078 has started.
2025-06-16 18:53:03 UTC Artifacts will be uploaded here
2025-06-16 18:55:32 UTC ya make is running...
🟢 2025-06-16 18:56:15 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-16 18:56:22 UTC Build successful.

Copy link

github-actions bot commented Jun 16, 2025

2025-06-16 18:53:24 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0466078 has started.
2025-06-16 18:53:50 UTC Artifacts will be uploaded here
2025-06-16 18:56:53 UTC ya make is running...
🟢 2025-06-16 18:57:43 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-16 18:57:52 UTC Build successful.

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 39d2cee to 845eaf8 Compare June 17, 2025 12:55
Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 12:56:45 UTC Pre-commit check linux-x86_64-release-asan for 4e6cd5e has started.
2025-06-17 12:56:53 UTC Artifacts will be uploaded here
2025-06-17 12:59:30 UTC ya make is running...
🟢 2025-06-17 13:05:33 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-17 13:05:41 UTC Build successful.
🔴 2025-06-17 13:05:56 UTC ydbd size 3.9 GiB changed* by +5.1 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 0ca2955 merge: 4e6cd5e diff diff %
ydbd size 4 167 354 616 Bytes 4 172 736 416 Bytes +5.1 MiB +0.129%
ydbd stripped size 1 446 053 048 Bytes 1 446 994 872 Bytes +919.8 KiB +0.065%

*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 Jun 17, 2025

2025-06-17 12:56:52 UTC Pre-commit check linux-x86_64-relwithdebinfo for 4e6cd5e has started.
2025-06-17 12:57:03 UTC Artifacts will be uploaded here
2025-06-17 12:59:37 UTC ya make is running...
🟢 2025-06-17 13:02:36 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-17 13:02:43 UTC Build successful.
🟡 2025-06-17 13:02:54 UTC ydbd size 2.2 GiB changed* by +1.2 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7eb7f65 merge: 4e6cd5e diff diff %
ydbd size 2 371 138 248 Bytes 2 372 411 864 Bytes +1.2 MiB +0.054%
ydbd stripped size 497 369 576 Bytes 497 432 328 Bytes +61.3 KiB +0.013%

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

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 845eaf8 to 77976c5 Compare June 17, 2025 16:59
Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 17:02:15 UTC Pre-commit check linux-x86_64-relwithdebinfo for c99725b has started.
2025-06-17 17:02:27 UTC Artifacts will be uploaded here
2025-06-17 17:04:52 UTC ya make is running...
🟢 2025-06-17 17:28:57 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-17 17:29:04 UTC Build successful.
🟡 2025-06-17 17:29:14 UTC ydbd size 2.2 GiB changed* by +467.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 63c2e1f merge: c99725b diff diff %
ydbd size 2 372 422 808 Bytes 2 372 901 256 Bytes +467.2 KiB +0.020%
ydbd stripped size 497 436 424 Bytes 497 506 952 Bytes +68.9 KiB +0.014%

*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 Jun 17, 2025

2025-06-17 17:02:17 UTC Pre-commit check linux-x86_64-release-asan for c99725b has started.
2025-06-17 17:02:28 UTC Artifacts will be uploaded here
2025-06-17 17:04:50 UTC ya make is running...
🟢 2025-06-17 17:29:01 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-17 17:29:08 UTC Build successful.
🟡 2025-06-17 17:29:22 UTC ydbd size 3.9 GiB changed* by +768.1 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 617d03a merge: c99725b diff diff %
ydbd size 4 172 736 512 Bytes 4 173 523 072 Bytes +768.1 KiB +0.019%
ydbd stripped size 1 446 994 936 Bytes 1 447 231 672 Bytes +231.2 KiB +0.016%

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

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 77976c5 to ba1996f Compare June 17, 2025 17:30
Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 19:04:43 UTC Pre-commit check linux-x86_64-release-asan for 90711a6 has started.
2025-06-17 19:04:53 UTC Artifacts will be uploaded here
2025-06-17 19:07:14 UTC ya make is running...
🟢 2025-06-17 19:08:50 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-17 19:08:56 UTC Build successful.
🟢 2025-06-17 19:09:09 UTC ydbd size 3.9 GiB changed* by +16.7 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 71f3186 merge: 90711a6 diff diff %
ydbd size 4 173 537 456 Bytes 4 173 554 552 Bytes +16.7 KiB +0.000%
ydbd stripped size 1 447 238 456 Bytes 1 447 240 504 Bytes +2.0 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

Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 19:05:17 UTC Pre-commit check linux-x86_64-relwithdebinfo for 90711a6 has started.
2025-06-17 19:05:28 UTC Artifacts will be uploaded here
2025-06-17 19:07:54 UTC ya make is running...
🟢 2025-06-17 19:09:22 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-17 19:09:30 UTC Build successful.
🟢 2025-06-17 19:09:40 UTC ydbd size 2.2 GiB changed* by +6.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 71f3186 merge: 90711a6 diff diff %
ydbd size 2 372 906 744 Bytes 2 372 913 808 Bytes +6.9 KiB +0.000%
ydbd stripped size 497 507 848 Bytes 497 509 960 Bytes +2.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

Copy link

github-actions bot commented Jun 18, 2025

2025-06-18 13:40:49 UTC Pre-commit check linux-x86_64-relwithdebinfo for ac25a57 has started.
2025-06-18 13:41:06 UTC Artifacts will be uploaded here
2025-06-18 13:41:26 UTC Check cancelled

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 499b178 to 4332673 Compare June 18, 2025 13:41
Copy link

github-actions bot commented Jun 18, 2025

2025-06-18 13:41:53 UTC Pre-commit check linux-x86_64-relwithdebinfo for 913a474 has started.
2025-06-18 13:41:56 UTC Artifacts will be uploaded here
2025-06-18 13:44:42 UTC ya make is running...
2025-06-18 13:47:20 UTC Check cancelled

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 4332673 to 62e1d2e Compare June 18, 2025 13:46
Copy link

github-actions bot commented Jun 18, 2025

2025-06-18 13:48:48 UTC Pre-commit check linux-x86_64-relwithdebinfo for a85ab28 has started.
2025-06-18 13:48:54 UTC Artifacts will be uploaded here
2025-06-18 13:51:17 UTC ya make is running...
🟢 2025-06-18 14:14:32 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-18 14:14:38 UTC Build successful.
🟡 2025-06-18 14:14:48 UTC ydbd size 2.2 GiB changed* by +280.9 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: f08e9a4 merge: a85ab28 diff diff %
ydbd size 2 373 000 552 Bytes 2 373 288 144 Bytes +280.9 KiB +0.012%
ydbd stripped size 497 531 656 Bytes 497 578 216 Bytes +45.5 KiB +0.009%

*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 Jun 18, 2025

2025-06-18 13:51:35 UTC Pre-commit check linux-x86_64-release-asan for a85ab28 has started.
2025-06-18 13:54:26 UTC Artifacts will be uploaded here
2025-06-18 13:57:34 UTC ya make is running...
🟢 2025-06-18 14:22:23 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-18 14:22:30 UTC Build successful.
🟡 2025-06-18 14:22:44 UTC ydbd size 3.9 GiB changed* by +220.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 0ee880e merge: a85ab28 diff diff %
ydbd size 4 174 045 320 Bytes 4 174 270 848 Bytes +220.2 KiB +0.005%
ydbd stripped size 1 447 369 528 Bytes 1 447 452 408 Bytes +80.9 KiB +0.006%

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

ydb/tests/library/compatibility/binaries
)
IF(${YDB_COMPAT_TARGET_REF} == "current" OR NOT ${YDB_COMPAT_TARGET_REF})
DEPENDS(
ydb/apps/ydb
Copy link
Collaborator

Choose a reason for hiding this comment

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

ydb/apps/ydb -- это cli и кажется он должен быть всегда в зависимостях

То есть надо из под условия убрать

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Перенес

IF(${YDB_COMPAT_TARGET_REF} == "current" OR NOT ${YDB_COMPAT_TARGET_REF})
DEPENDS(
ydb/apps/ydb
ydb/apps/ydbd
Copy link
Collaborator

Choose a reason for hiding this comment

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

Я еще вот такой ПР влил: #19869 кажется теперь правильно зависеть от
ydb/apps/ydbd
По другому)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Добавил INCLUDE

current_name = "current"
current_binary_version = (float("+inf"), )

inter_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-inter-stable")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Надо бы тогда и в readme.md поправить терминологию, там вроде использовались last/prelast

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Нашел и исправил

prelast_stable_name = open(yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-prelast-stable-name")).read().strip()
prelast_stable_version = string_version_to_tuple(prelast_stable_name)
try:
current_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-target-stable")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Мне кажется, что по хорошему тут не должно быть этого try-except, то есть обвязка должна гарантировать, что
ydb/tests/library/compatibility/binaries/ydbd-target-stable
всегда есть

Этого можно достичь, если ya.make в случае current будет просто копироать собранный ydbd по этому пути

Copy link
Collaborator

Choose a reason for hiding this comment

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

Но это не принципиально, имхо

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Избавился, теперь downloader формирует бинари

prelast_stable_name = open(yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-prelast-stable-name")).read().strip()
prelast_stable_version = string_version_to_tuple(prelast_stable_name)
try:
current_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-target-stable")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Мне кажется слово -stable в названии файла лишнее. Это же необязательно стэйбл, какую семантику оно несет, может уберем?

Copy link
Collaborator

Choose a reason for hiding this comment

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

И в названии переменных тоже

Copy link
Collaborator Author

@PavelEfarinov PavelEfarinov Jun 20, 2025

Choose a reason for hiding this comment

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

Удалил

Added tags param to yamake file of compatibility downloader. Added tag inoput to workflow

Refs: #19415
Removed default stable branches input in compatibility workflow

Ref: #19498
Added default compatibility version to ya.make
Renamed old variables

Refs: #19498
Added ref dependent run_name for compatibility workflow
@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from f38505c to d123b30 Compare June 23, 2025 09:46
Copy link

github-actions bot commented Jun 23, 2025

2025-06-23 09:53:16 UTC Pre-commit check linux-x86_64-relwithdebinfo for 5d90900 has started.
2025-06-23 09:53:27 UTC Artifacts will be uploaded here
2025-06-23 09:55:56 UTC ya make is running...
🟡 2025-06-23 09:58:00 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 20 0 2 0 0

2025-06-23 09:58:08 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-23 09:59:18 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4 (only retried tests) 2 0 2 0 0

2025-06-23 09:59:29 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-06-23 10:00:31 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4 (only retried tests) 2 0 2 0 0

🟢 2025-06-23 10:00:40 UTC Build successful.
🟢 2025-06-23 10:00:51 UTC ydbd size 2.2 GiB changed* by +90.7 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 50de348 merge: 5d90900 diff diff %
ydbd size 2 378 943 960 Bytes 2 379 036 816 Bytes +90.7 KiB +0.004%
ydbd stripped size 498 353 384 Bytes 498 376 520 Bytes +22.6 KiB +0.005%

*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 Jun 23, 2025

2025-06-23 09:53:57 UTC Pre-commit check linux-x86_64-release-asan for 5d90900 has started.
2025-06-23 09:54:10 UTC Artifacts will be uploaded here
2025-06-23 09:56:46 UTC ya make is running...
🟡 2025-06-23 09:59:37 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 17 0 1 0 0

2025-06-23 09:59:46 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-23 10:00:47 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

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

2025-06-23 10:00:56 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-06-23 10:01:38 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

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

🟢 2025-06-23 10:01:46 UTC Build successful.
🟡 2025-06-23 10:02:01 UTC ydbd size 3.9 GiB changed* by +158.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: ec291c2 merge: 5d90900 diff diff %
ydbd size 4 185 150 104 Bytes 4 185 311 848 Bytes +158.0 KiB +0.004%
ydbd stripped size 1 450 983 192 Bytes 1 451 045 496 Bytes +60.8 KiB +0.004%

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

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from d123b30 to 8085ffb Compare June 23, 2025 10:42
Copy link

github-actions bot commented Jun 23, 2025

2025-06-23 10:47:32 UTC Pre-commit check linux-x86_64-relwithdebinfo for a23d0cc has started.
2025-06-23 10:47:43 UTC Artifacts will be uploaded here
2025-06-23 10:50:09 UTC ya make is running...
🟡 2025-06-23 11:17:48 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 21 0 1 0 0

2025-06-23 11:17:58 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-23 11:19:12 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

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

2025-06-23 11:19:20 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-06-23 11:20:46 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

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

🟢 2025-06-23 11:20:55 UTC Build successful.
🟡 2025-06-23 11:21:07 UTC ydbd size 2.2 GiB changed* by +219.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: e45a3f0 merge: a23d0cc diff diff %
ydbd size 2 379 036 816 Bytes 2 379 261 392 Bytes +219.3 KiB +0.009%
ydbd stripped size 498 376 520 Bytes 498 407 112 Bytes +29.9 KiB +0.006%

*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 Jun 23, 2025

2025-06-23 10:47:50 UTC Pre-commit check linux-x86_64-release-asan for a23d0cc has started.
2025-06-23 10:48:02 UTC Artifacts will be uploaded here
2025-06-23 10:50:30 UTC ya make is running...
🟢 2025-06-23 11:15:21 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-23 11:15:28 UTC Build successful.
🟡 2025-06-23 11:15:42 UTC ydbd size 3.9 GiB changed* by +535.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 50de348 merge: a23d0cc diff diff %
ydbd size 4 185 150 272 Bytes 4 185 698 440 Bytes +535.3 KiB +0.013%
ydbd stripped size 1 450 983 512 Bytes 1 451 146 904 Bytes +159.6 KiB +0.011%

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

@PavelEfarinov PavelEfarinov force-pushed the custom-compatibility-tags-19415 branch from 8085ffb to 9e64fd6 Compare June 24, 2025 08:20
Copy link

github-actions bot commented Jun 24, 2025

2025-06-24 08:22:58 UTC Pre-commit check linux-x86_64-relwithdebinfo for 747fa2f has started.
2025-06-24 08:23:04 UTC Artifacts will be uploaded here
2025-06-24 08:25:30 UTC ya make is running...
🟢 2025-06-24 08:26:54 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 22 0 0 0 0

🟢 2025-06-24 08:27:01 UTC Build successful.
🟢 2025-06-24 08:27:11 UTC ydbd size 2.2 GiB changed* by +42.4 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: e250218 merge: 747fa2f diff diff %
ydbd size 2 380 256 632 Bytes 2 380 300 056 Bytes +42.4 KiB +0.002%
ydbd stripped size 498 608 904 Bytes 498 613 992 Bytes +5.0 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

Copy link

github-actions bot commented Jun 24, 2025

2025-06-24 08:24:30 UTC Pre-commit check linux-x86_64-release-asan for 747fa2f has started.
2025-06-24 08:24:42 UTC Artifacts will be uploaded here
2025-06-24 08:27:09 UTC ya make is running...
🟢 2025-06-24 08:28:56 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 18 0 0 0 0

🟢 2025-06-24 08:29:03 UTC Build successful.
🟡 2025-06-24 08:29:17 UTC ydbd size 3.9 GiB changed* by +233.5 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 9585d7b merge: 747fa2f diff diff %
ydbd size 4 187 731 512 Bytes 4 187 970 632 Bytes +233.5 KiB +0.006%
ydbd stripped size 1 451 725 496 Bytes 1 451 814 488 Bytes +86.9 KiB +0.006%

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

@PavelEfarinov PavelEfarinov merged commit 4541608 into main Jun 24, 2025
13 checks passed
@PavelEfarinov PavelEfarinov deleted the custom-compatibility-tags-19415 branch June 24, 2025 10:29
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.

Запускать regression compatibility только из main Add ability to test arbitrary version in regression-compatibility
2 participants