Skip to content
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

add viewer query script handlers #9423

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

StekPerepolnen
Copy link
Collaborator

@StekPerepolnen StekPerepolnen commented Sep 18, 2024

Changelog entry

  • added query script execute and fetch handlers
    POST /query/script/execute
    GET /query/script/fetch
  • each handler evokes grpc service QueryService
  • changed grpc_services for the work

Changelog category

  • New feature

Additional information

target scenario:

  • user evokes /query/script/execute - he gets operation id
  • waits until operation/get returns 200
  • evokes /query/script/fetch to get result

@StekPerepolnen StekPerepolnen requested a review from a team as a code owner September 18, 2024 09:18
@StekPerepolnen StekPerepolnen force-pushed the query-script branch 4 times, most recently from edb7ba0 to d9bc0b0 Compare September 24, 2024 10:13
Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:14:30 UTC Pre-commit check linux-x86_64-release-clang14 for e6af2bc has started.
2024-09-24 10:15:19 UTC Artifacts will be uploaded here
2024-09-24 10:18:59 UTC ya make is running...
2024-09-24 10:22:14 UTC Check cancelled

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:15:05 UTC Pre-commit check linux-x86_64-relwithdebinfo for e6af2bc has started.
2024-09-24 10:16:11 UTC Artifacts will be uploaded here
2024-09-24 10:19:47 UTC ya make is running...
2024-09-24 10:22:11 UTC Check cancelled

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:15:39 UTC Pre-commit check linux-x86_64-release-asan for e6af2bc has started.
2024-09-24 10:16:14 UTC Artifacts will be uploaded here
2024-09-24 10:19:44 UTC ya make is running...
2024-09-24 10:22:14 UTC Check cancelled

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:25:18 UTC Pre-commit check linux-x86_64-release-clang14 for c786fa9 has started.
2024-09-24 10:25:28 UTC Artifacts will be uploaded here
2024-09-24 10:28:26 UTC ya make is running...
🔴 2024-09-24 10:34:21 UTC Build failed, see the logs.

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:25:30 UTC Pre-commit check linux-x86_64-relwithdebinfo for c786fa9 has started.
2024-09-24 10:25:41 UTC Artifacts will be uploaded here
2024-09-24 10:28:33 UTC ya make is running...
🔴 2024-09-24 10:34:02 UTC Build failed, see the logs.

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 10:25:34 UTC Pre-commit check linux-x86_64-release-asan for c786fa9 has started.
2024-09-24 10:25:45 UTC Artifacts will be uploaded here
2024-09-24 10:28:37 UTC ya make is running...
🔴 2024-09-24 10:36:18 UTC Build failed, see the logs.

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 11:51:19 UTC Pre-commit check linux-x86_64-release-clang14 for 1bfc1d7 has started.
2024-09-24 11:51:33 UTC Artifacts will be uploaded here
2024-09-24 11:54:32 UTC ya make is running...
🟢 2024-09-24 12:06:57 UTC Build successful.

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 11:51:51 UTC Pre-commit check linux-x86_64-release-asan for 1bfc1d7 has started.
2024-09-24 11:51:55 UTC Artifacts will be uploaded here
2024-09-24 11:54:51 UTC ya make is running...
🔴 2024-09-24 13:46:45 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11786 11589 0 32 44 121

🟢 2024-09-24 13:47:45 UTC Build successful.
🟡 2024-09-24 13:48:22 UTC ydbd size 5.7 GiB changed* by +746.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: a19277a merge: 1bfc1d7 diff diff %
ydbd size 6 080 164 376 Bytes 6 080 928 496 Bytes +746.2 KiB +0.013%
ydbd stripped size 1 520 042 160 Bytes 1 520 278 096 Bytes +230.4 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

Copy link

github-actions bot commented Sep 24, 2024

2024-09-24 11:52:03 UTC Pre-commit check linux-x86_64-relwithdebinfo for 1bfc1d7 has started.
2024-09-24 11:52:46 UTC Artifacts will be uploaded here
2024-09-24 11:56:19 UTC ya make is running...
🟡 2024-09-24 13:13:34 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41143 35476 0 10 5539 118

2024-09-24 13:17:18 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-09-24 13:28:42 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
207 (only retried tests) 118 0 0 0 89

🟢 2024-09-24 13:28:48 UTC Build successful.
🟡 2024-09-24 13:29:28 UTC ydbd size 8.5 GiB changed* by +1.4 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4b0a8a2 merge: 1bfc1d7 diff diff %
ydbd size 9 073 135 848 Bytes 9 074 617 592 Bytes +1.4 MiB +0.016%
ydbd stripped size 490 581 768 Bytes 490 654 088 Bytes +70.6 KiB +0.015%

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

@StekPerepolnen StekPerepolnen changed the title query script add viewer query script handlers Sep 24, 2024
Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 01:08:23 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0ad9a4d has started.
2024-09-26 01:08:33 UTC Artifacts will be uploaded here
2024-09-26 01:11:35 UTC ya make is running...
🔴 2024-09-26 01:19:43 UTC Build failed, see the logs.

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 01:08:42 UTC Pre-commit check linux-x86_64-release-asan for 0ad9a4d has started.
2024-09-26 01:08:51 UTC Artifacts will be uploaded here
2024-09-26 01:11:45 UTC ya make is running...
🔴 2024-09-26 01:17:49 UTC Build failed, see the logs.

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 01:22:42 UTC Pre-commit check linux-x86_64-release-clang14 for 038064e has started.
2024-09-26 01:23:00 UTC Artifacts will be uploaded here
2024-09-26 01:26:00 UTC ya make is running...
🟢 2024-09-26 01:38:45 UTC Build successful.

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 01:24:42 UTC Pre-commit check linux-x86_64-relwithdebinfo for 038064e has started.
2024-09-26 01:24:53 UTC Artifacts will be uploaded here
2024-09-26 01:27:52 UTC ya make is running...
🟡 2024-09-26 02:45:39 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41180 35613 0 8 5462 97

2024-09-26 02:49:10 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-09-26 03:00:21 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
110 (only retried tests) 19 0 0 1 90

🟢 2024-09-26 03:00:28 UTC Build successful.
🟡 2024-09-26 03:01:06 UTC ydbd size 8.5 GiB changed* by +1.4 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 8ebf595 merge: 038064e diff diff %
ydbd size 9 077 662 216 Bytes 9 079 153 888 Bytes +1.4 MiB +0.016%
ydbd stripped size 490 757 384 Bytes 490 823 080 Bytes +64.2 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

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 01:24:51 UTC Pre-commit check linux-x86_64-release-asan for 038064e has started.
2024-09-26 01:25:01 UTC Artifacts will be uploaded here
2024-09-26 01:27:53 UTC ya make is running...
🟡 2024-09-26 03:24:21 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11802 11570 0 52 55 125

🟢 2024-09-26 03:25:21 UTC Build successful.
🟡 2024-09-26 03:25:56 UTC ydbd size 5.7 GiB changed* by +717.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 8ebf595 merge: 038064e diff diff %
ydbd size 6 082 713 256 Bytes 6 083 447 808 Bytes +717.3 KiB +0.012%
ydbd stripped size 1 520 446 192 Bytes 1 520 669 456 Bytes +218.0 KiB +0.015%

*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 Sep 26, 2024

2024-09-26 09:17:07 UTC Pre-commit check linux-x86_64-release-clang14 for 573ed04 has started.
2024-09-26 09:17:16 UTC Artifacts will be uploaded here
2024-09-26 09:19:35 UTC Check cancelled

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 09:17:41 UTC Pre-commit check linux-x86_64-relwithdebinfo for 573ed04 has started.
2024-09-26 09:17:52 UTC Artifacts will be uploaded here
2024-09-26 09:19:36 UTC Check cancelled

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 09:17:46 UTC Pre-commit check linux-x86_64-release-asan for 573ed04 has started.
2024-09-26 09:18:30 UTC Artifacts will be uploaded here
2024-09-26 09:19:35 UTC Check cancelled

Copy link

github-actions bot commented Sep 26, 2024

2024-09-26 09:20:32 UTC Pre-commit check linux-x86_64-release-asan for 9158c75 has started.
2024-09-26 09:20:35 UTC Artifacts will be uploaded here
2024-09-26 09:23:27 UTC ya make is running...
🟡 2024-09-26 11:40:58 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10508 10291 0 48 46 123

🟢 2024-09-26 11:41:53 UTC Build successful.
🟡 2024-09-26 11:42:27 UTC ydbd size 5.7 GiB changed* by +1.7 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 6bec40a merge: 9158c75 diff diff %
ydbd size 6 082 867 336 Bytes 6 084 598 088 Bytes +1.7 MiB +0.028%
ydbd stripped size 1 520 480 336 Bytes 1 520 932 240 Bytes +441.3 KiB +0.030%

*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 Sep 26, 2024

2024-09-26 09:21:21 UTC Pre-commit check linux-x86_64-relwithdebinfo for 9158c75 has started.
2024-09-26 09:21:25 UTC Artifacts will be uploaded here
2024-09-26 09:24:13 UTC ya make is running...
🟡 2024-09-26 10:52:49 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15149 13656 0 7 1386 100

2024-09-26 10:54:04 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-09-26 11:05:30 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
117 (only retried tests) 27 0 0 0 90

🟢 2024-09-26 11:05:37 UTC Build successful.
🔴 2024-09-26 11:06:17 UTC ydbd size 8.5 GiB changed* by +2.9 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 6bec40a merge: 9158c75 diff diff %
ydbd size 9 077 792 816 Bytes 9 080 863 728 Bytes +2.9 MiB +0.034%
ydbd stripped size 490 775 816 Bytes 490 892 392 Bytes +113.8 KiB +0.024%

*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 Sep 26, 2024

2024-09-26 09:22:05 UTC Pre-commit check linux-x86_64-release-clang14 for 9158c75 has started.
2024-09-26 09:22:17 UTC Artifacts will be uploaded here
2024-09-26 09:25:20 UTC ya make is running...
🟢 2024-09-26 10:06:45 UTC Build successful.

@StekPerepolnen StekPerepolnen merged commit c0ce5ac into ydb-platform:main Sep 26, 2024
12 checks passed
adameat pushed a commit to adameat/ydb that referenced this pull request Oct 1, 2024
adameat pushed a commit to adameat/ydb that referenced this pull request Oct 4, 2024
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