Skip to content

Conversation

@polRk
Copy link
Member

@polRk polRk commented Nov 18, 2025

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Other information

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.65%. Comparing base (70fd60b) to head (b7dc59c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1939      +/-   ##
==========================================
- Coverage   74.01%   72.65%   -1.36%     
==========================================
  Files         392      392              
  Lines       34343    34343              
==========================================
- Hits        25418    24951     -467     
- Misses       7807     8253     +446     
- Partials     1118     1139      +21     
Flag Coverage Δ
experiment ?
go-1.21.x 72.59% <ø> (-0.13%) ⬇️
go-1.25.x 72.14% <ø> (-1.86%) ⬇️
integration 54.91% <ø> (-0.43%) ⬇️
macOS 47.21% <ø> (-0.02%) ⬇️
ubuntu 72.63% <ø> (-1.38%) ⬇️
unit 47.23% <ø> (-0.02%) ⬇️
windows 47.19% <ø> (-0.03%) ⬇️
ydb-24.4 54.01% <ø> (-0.55%) ⬇️
ydb-25.2 54.75% <ø> (-0.27%) ⬇️
ydb-latest 54.50% <ø> (-0.18%) ⬇️
ydb-nightly ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

github-actions bot commented Nov 18, 2025

github.com/ydb-platform/ydb-go-sdk/v3/query

compatible changes

ImplicitTxControl: added

summary

Inferred base version: v3.120.0
Suggested version: v3.121.0

@polRk polRk force-pushed the update-slo-action branch 2 times, most recently from 85df6d0 to b7dc59c Compare November 19, 2025 07:15
@github-actions
Copy link

github-actions bot commented Nov 20, 2025

🌋 SLO Test Results

Status: ⚪ 6 workloads tested • All clear| | Workload | Metrics | Regressions | Improvements | Links |
|-|----------|---------|-------------|--------------|-------|
| ⚪ | database-sql-query | 8 | 0 | 0 | ReportCheck |
| ⚪ | native-table | 8 | 0 | 0 | ReportCheck |
| ⚪ | native-query | 8 | 0 | 0 | ReportCheck |
| ⚪ | database-sql-table | 8 | 0 | 0 | ReportCheck |
| ⚪ | native-bulk-upsert | 8 | 0 | 0 | ReportCheck |
| ⚪ | native-table-over-query-service | 8 | 0 | 0 | ReportCheck |

Generated by ydb-slo-action

@polRk polRk requested a review from kprokopenko November 26, 2025 13:43
polRk and others added 17 commits November 26, 2025 17:25
- Update workflow to build current and baseline workload images
- Add ref parameter to track version in metrics
- Replace Prometheus push with OTLP HTTP export
- Update dependencies to use OpenTelemetry SDK
- Configure PeriodicReader for automatic metric export
- Add ref as metric attribute for baseline comparison
- Add parallel testing of current and baseline SDK versions
- Build Docker images for workloads instead of binary compilation
- Auto-detect baseline commit using git merge-base with master
- Add ref labels to metrics for version tracking in Prometheus
- Migrate from Prometheus client to OpenTelemetry OTLP HTTP
- Copy current build infrastructure (Dockerfile, go.mod, internal) to baseline
- Add container log collection for debugging
- Update workload execution to run in Docker containers
- Configure proper network connectivity with YDB cluster
- Add extra time for graceful shutdown during container waits
- Implement timeout for waiting on current and baseline containers to improve reliability
- Add workload_current_ref to capture the current reference
- Introduce workload_baseline_ref to track the baseline reference from outputs
- Comment out conditional for workflow run success
- Enhance timeout handling for current and baseline containers
- Introduce error handling for container wait timeouts
- Update exit code checks to determine overall success
- Update logging to show the last 15 lines for current and baseline containers
- Adjust timeout for graceful shutdown from 120 seconds to 30 seconds
- Remove overall success determination logic for cleaner workflow execution
- Decrease read timeout from 1000ms to 500ms
- Reduce write timeout from 1000ms to 100ms for improved performance
- Remove unnecessary timeout logic for container waits
- Simplify shutdown process by directly killing running containers
- Enhance logging for container status during shutdown
…tions

- Add write permission for checks in slo-report.yml
- Modify slo.yml to conditionally use self-hosted runner for specific user
- Remove unnecessary sleep commands before logging
- Simplify container stop logic with a direct timeout option
- Enhance shutdown handling by ensuring graceful termination of containers
- Change the runner configuration to always use 'ubuntu-latest' instead of conditionally using a self-hosted runner for a specific user.
- Update the SLO workflow to include steps for removing existing Docker packages, installing Docker, and adding yq for YAML processing.
- Ensure version checks for Docker and yq are displayed for verification.
- Change the action references in slo-report.yml and slo.yml to a specific commit for consistency and stability.
- Remove unnecessary Docker package removal step from the SLO workflow.
…d yq

- Change the installation steps to use specific versions for yq, Docker Buildx, and Docker Compose for consistency.
- Remove outdated installation commands and streamline the dependency installation process.
…er configuration

- Increase default write requests per second (RPS) from 100 to 1000 for improved performance.
- Decrease read timeout from 500ms to 100ms to optimize response times.
- Add an additional host entry for the YDB service to the container configuration.
…mproved stability

- Change action references in slo-report.yml and slo.yml to the new commit version for consistency.
-write-timeout 100 \
$EXTRA_ARGS"
echo "Starting ydb-app-current..."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Хорошо бы вынести в отдельный shell файл. Проще потом будет редактировать.

Copy link
Member Author

Choose a reason for hiding this comment

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

Да, я думаю можно, но кода меньше не станет :) Только подсветка синтаксиса появится

@polRk polRk merged commit 5392c4d into master Nov 26, 2025
22 checks passed
@polRk polRk deleted the update-slo-action branch November 26, 2025 15:10
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.

6 participants