Skip to content

FIX: Improve release pipeline reliability and build throughput - #910

Merged
Jahnvi Thakkar (jahnvi480) merged 6 commits into
mainfrom
jahnvi/release-pipeline-failure
Nov 24, 2026
Merged

Jahnvi Thakkar (jahnvi480) merged 6 commits into
mainfrom
jahnvi/release-pipeline-failure

Conversation

@jahnvi480

@jahnvi480 Jahnvi Thakkar (jahnvi480) commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Work Item / Issue Reference

AB#50320


Summary

Port the release-pipeline improvements from ADO PR 9063 as one clean commit, retaining all 41 driver wheels, seven ODBC wheels, existing test coverage, blocking pooling benchmark, signing, and security gates.

  • Split Linux ARM64 builds into two isolated three-version shards per distribution; keep x64 interpreter loops sequential.
  • Stage and verify exact-version Rust runtime wheels early, retry transient downloads, and remove ODBC consolidation from the platform critical path while retaining its compatibility artifact.
  • Cache pip downloads on macOS, Linux, and Windows; overlap macOS SQL setup with dependency installation and universal2 compilation.
  • Use bounded, ownership-aware SQL readiness and cleanup, with opt-in Colima startup retry for release builds.
  • Require manylinux CP949 conversion modules and verify conversion fidelity, fixing the Korean VARCHAR regression caused by missing glibc-gconv-extra.
  • Add regression coverage and optional resource-capped Linux compiler parallelism (default 1; measured trials used 2).

Validation:

  • .\.ado-pipeline-test\.venv\Scripts\python.exe -m pytest --noconftest tests\test_release_pipeline_resilience.py tests\test_release_build_dependencies.py tests\test_037_rs_wheel_download.py -q — passed, 67 tests.
  • .\.ado-pipeline-test\.venv\Scripts\python.exe -m pre_commit run black-check --all-files --hook-stage pre-push — passed.
  • Changed YAML parsed and 25 Bash steps syntax-checked — passed.
  • ADO run 194367 — succeeded for all selected manylinux configurations; Korean regression passed for every Python version on x64 and ARM64.
  • ADO run 194345 — all six macOS configurations and all musllinux configurations passed; this was not a successful full release.
  • All 11 ported files match the validated ADO snapshot. Full runtime pytest was not rerun locally; SQL/native validation evidence is from those ADO jobs. Windows and full-release consolidation remain unverified.

Measured build/test-job improvements versus run 193770: manylinux x64 52.0 → 37.6 min; manylinux ARM64 188.9 → 103.2 min; musllinux ARM64 188.5 → 100.4 min. ARM64 comparisons use the slower parallel shard. These exclude queues, approval gates, and post-build jobs and do not establish full-release speedup or reduced flakiness.

Port validated release pipeline improvements from ADO PR 9063 as one commit. Preserve all wheel configurations, integration checks, signing and security gates; add bounded setup retries, pip caches, ARM64 shards, early runtime staging and required CP949 modules.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 12:10
@github-actions github-actions Bot added the pr-size: large Substantial code update label Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Performance Report

✅ No regression detected

No consistent slowdowns detected across all 2 environments.

0 IMPROVEMENTS 0 SLOWDOWNS 2/2 ENVIRONMENTS

Coverage: 2 of 2 environments completed. Advisory result; does not block merging.

Performance diagnostics

Phase times are inclusive diagnostics and must not be added together. They identify where measured time changed, not why it changed.

No affected phases or call-count changes were recorded.

All database tasks and timings

Unix / SQL Server 2022

Database task Before After Paired change Result
Connection opening 11.072 ms 10.550 ms -3.5% no signal
SELECT queries 1.124 ms 1.005 ms -10.1% no signal
Row insertion 30.597 ms 30.686 ms +0.4% no signal
Executemany inserts 159.846 ms 157.817 ms -0.8% no signal
Fetch-all queries 124.393 ms 122.543 ms -1.2% no signal
Row-by-row fetching 5.032 ms 5.025 ms +1.5% no signal
Batched row fetching 117.334 ms 118.031 ms +0.4% no signal
Transaction commit and rollback 104.558 ms 104.407 ms -0.1% no signal