Skip to content

CLI: support HTTP/HTTPS YT export proxies with regression tests - #57101

Open
weres-sa wants to merge 4 commits into
mainfrom
dev/weres-sa/yt-export-https-test
Open

weres-sa wants to merge 4 commits into
mainfrom
dev/weres-sa/yt-export-https-test

Conversation

@weres-sa

@weres-sa weres-sa commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

ydb export yt --proxy https://<proxy> failed because ParseYtProxy treated the scheme separator as the separator between hostname and numeric port. The parser now preserves HTTP/HTTPS schemes, defaults HTTPS to port 443, and respects explicit ports while retaining legacy proxy behavior.

This PR contains both the regression tests and the fix. Fix PR #57102 was merged into this branch at the CLI owner's request. The regression test and build registration are unchanged from the original test-only layer. Public CLI changelog entry removed: ydb export yt is an internal command.

Validation:

Target: ydb/public/lib/ydb_cli/common/ut, filter YtProxyParsing::*.

Changelog entry

  • Not needed: internal command absent from opensource CLI.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

⚪ 2026-10-27 17:53:28 UTC Pre-commit check linux-x86_64-relwithdebinfo for 60d26f6 has started.
⚪ 2026-10-27 17:53:42 UTC Artifacts will be uploaded here
⚪ 2026-10-27 17:55:41 UTC ya make is running...
🟡 2026-10-27 17:56:45 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
251 248 0 3 0 0

⚪ 2026-10-27 17:56:50 UTC ya make is running... (failed tests rerun, try 2)
🟡 2026-10-27 17:57:38 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

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

⚪ 2026-10-27 17:57:43 UTC ya make is running... (failed tests rerun, try 3)
🔴 2026-10-27 17:58:32 UTC Some tests failed, follow the links below.

Ya make output

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

🟢 2026-10-27 17:58:37 UTC Build successful.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Run-tests started

  • Build Preset: relwithdebinfo
  • Test Size: small
  • Test Targets: ydb/public/lib/ydb_cli/common/ut
  • Commit: 60d26f6
  • Workflow run: link

⚪ 2026-10-27 17:55:30 UTC Artifacts will be uploaded here
⚪ 2026-10-27 17:55:54 UTC ya make is running...
🟡 2026-10-27 17:56:47 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10 7 0 3 0 0

⚪ 2026-10-27 17:56:54 UTC ya make is running... (failed tests rerun, try 2)
🟡 2026-10-27 17:57:10 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10 (only retried tests) 7 0 3 0 0

⚪ 2026-10-27 17:57:16 UTC ya make is running... (failed tests rerun, try 3)
🔴 2026-10-27 17:57:31 UTC Some tests failed, follow the links below.

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10 (only retried tests) 7 0 3 0 0

🟢 2026-10-27 17:57:37 UTC Build successful.

pnv1
pnv1 previously approved these changes Nov 18, 2026
@weres-sa weres-sa changed the title CLI: reproduce HTTPS YT proxy parsing failure CLI: support HTTP/HTTPS YT export proxies with regression tests Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

⚪ 2026-11-18 18:33:04 UTC Pre-commit check linux-x86_64-relwithdebinfo for 6fec320 has started.
⚪ 2026-11-18 18:34:06 UTC Artifacts will be uploaded here
⚪ 2026-11-18 18:35:31 UTC ya make is running...
🟡 2026-11-18 19:45:21 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
56121 54313 0 8 1793 7

⚪ 2026-11-18 19:45:44 UTC ya make is running... (failed tests rerun, try 2)
🟡 2026-11-18 19:50:00 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Ya make output

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

⚪ 2026-11-18 19:50:04 UTC ya make is running... (failed tests rerun, try 3)
🔴 2026-11-18 19:54:00 UTC Some tests failed, follow the links below.

Ya make output

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

🟢 2026-11-18 19:54:04 UTC Build successful.
🟡 2026-11-18 19:54:30 UTC ydbd size 2.9 GiB changed* by +30.6 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7c1bcec merge: 6fec320 diff diff %
ydbd size 3 045 473 272 Bytes 3 077 540 256 Bytes +30.6 MiB +1.053%
ydbd stripped size 643 672 192 Bytes 647 348 160 Bytes +3.5 MiB +0.571%

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...public/lib/ydb_cli/commands/ydb_service_export.cpp 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants