Skip to content

PR Pipeline - Build and Local Tests#4325

Closed
benrr101 wants to merge 54 commits into
mainfrom
dev/russellben/prci-buildstage
Closed

PR Pipeline - Build and Local Tests#4325
benrr101 wants to merge 54 commits into
mainfrom
dev/russellben/prci-buildstage

Conversation

@benrr101
Copy link
Copy Markdown
Contributor

Description

As the goal of this sprint, we want to create a new PR pipeline that simplifies all the complexities of the old one, reduces the test coverage to tests that can run simply and quickly, and completes quickly. This PR introduces the basics of that with a few more changes to come.

  • Test execution is gated by a build/pack stage - if PR doesn't build/pack successfully, test run fails fast. ~3min
  • Test matrix is split into the following platforms as stages in parallel:
    • [Windows/Linux]
    • [net462/net8.0/net9.0/net10.0]
  • Test projects that run as jobs within each stage in parallel:
    • Abstractions ~2min
    • Azure ~2min
    • SqlClient Funtional ~3min
    • SqlClient Manual - Local ~30min
    • SqlClient Unit ~6min

This puts the total run time at ~40min in its current state. Compared to the current pipeline which has full runtimes of anywhere from 1.5hrs to 3hrs, this is a massive improvement.

Noteworthy notes have been added inline.

Remaining work

  • SqlClient Manual tests against Azure SQL
  • Code coverage collection and publishing
  • Operationalize the pipeline via triggers

Testing

benrr101 added 30 commits May 28, 2026 13:23
# Conflicts:
#	eng/pipelines/common/steps/restore-dotnet-tools.yml
Leaving the unused build step for now just in case we need it later
Move a couple things around
WIP for manual test configuration generation
@benrr101 benrr101 added this to the 7.1.0-preview2 milestone May 29, 2026
Copilot AI review requested due to automatic review settings May 29, 2026 17:22
@benrr101 benrr101 requested a review from a team as a code owner May 29, 2026 17:23
@benrr101 benrr101 added the Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems. label May 29, 2026
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board May 29, 2026
@benrr101 benrr101 closed this May 29, 2026
@github-project-automation github-project-automation Bot moved this from To triage to Done in SqlClient Board May 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants