镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Package PR builds and restore official test legs - #6236

Open
max-charlamb wants to merge 5 commits into
mainfrom
dev/max-charlamb/parallel-test-pipelines
Open

max-charlamb wants to merge 5 commits into
mainfrom
dev/max-charlamb/parallel-test-pipelines

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Summary

  • package Debug build outputs in the PR pipeline alongside the normal test legs
  • restore the standard Release test legs in the official pipeline and run them in parallel with packaging
  • test tools installed from the signed PackageArtifacts after packaging completes
  • use one configuration policy across builds, tests, dependencies, and packaging
  • extract the packaging job into a reusable template
  • Sample official run: https://dev.azure.com/dnceng/internal/_build/results?buildId=3134727&view=results

Pipeline layouts

Pull request

+------------------------------------------------------+
| Build stage                                          |
|                                                      |
|  - Cross-platform product builds                     |
|  - Normal local and Helix test legs                  |
|  - Package / sign / publish                          |
+--------------------------+---------------------------+
                           |
                           v
+------------------------------------------------------+
| Prepare Release stage                                |
|                                                      |
|  - Build release tooling                             |
+------------------------------------------------------+

Official and other non-PR builds

                         +----------------------+
                         | Build stage          |
                         +----------+-----------+
                                    |
                    +---------------+---------------+
                    |                               |
                    v                               v
        +----------------------+       +--------------------------+
        | Normal Tests stage   |       | Package / Publish stage  |
        +----------------------+       +------------+-------------+
                                                   |
                                   +---------------+---------------+
                                   |                               |
                                   v                               v
                       +------------------------+       +------------------------+
                       | Installed Tests stage  |       | Validate Build Assets  |
                       +------------------------+       +-----------+------------+
                                                                  |
                                                                  v
                                                      +------------------------+
                                                      | Publish Using DARC     |
                                                      +-----------+------------+
                                                                  |
                                                                  v
                                                      +------------------------+
                                                      | Prepare Release stage  |
                                                      +------------------------+

Validation

  • Azure Pipelines preview expansion succeeded for the official pipeline
  • confirmed Build -> Normal Tests and Package / Publish
  • confirmed Package / Publish -> Installed Tests and Validate Build Assets
  • confirmed official expansion contains Release jobs only, even when Debug is requested

Max Charlamb added 4 commits November 12, 2026 19:05
Run standard tests in official builds and test the signed packaged tools in parallel with build asset validation. Add an assetless validation mode so test runs do not publish product assets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
Avoid building and testing Debug configurations in official diagnostics runs while preserving existing PR and nonofficial matrices.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
Keep PR builds, tests, and packaging in one stage while running non-PR tests and packaging as parallel stages. Extract the shared packaging job and use one configuration policy across build and package jobs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
Official runs now always register assets in BAR and publish through Darc. Remove the misleading validation-only parameter and its assetless publishing configuration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
@max-charlamb max-charlamb changed the title Run official standard and packaged tests Package PR builds and restore official test legs Nov 13, 2026
Add the cross-compiled Linux ARM and musl ARM build legs to public PR builds so packaging receives the same eleven platform outputs as official builds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
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.

1 participant