Skip to content

Fix hydration pipeline queue parameter defaults - #687

Open
Scott Jones (Scottj1s) wants to merge 1 commit into
mainfrom
copilot/fix-hydration-queue-parameters
Open

Scott Jones (Scottj1s) wants to merge 1 commit into
mainfrom
copilot/fix-hydration-queue-parameters

Conversation

@Scottj1s

Copy link
Copy Markdown
Member

Summary

  • Use . instead of empty defaults for mode-specific queue parameters.
    Azure DevOps rejects empty string inputs even when the mode ignores them.
  • Preserve triggering-branch selection and explicit protected release branches.
  • Show normal NuGet diagnostics and explain upstream availability failures.

Investigation

Build 394362 requested Microsoft.WindowsAppSDK 2.7.0. That version is published
on nuget.org, but authenticated Azure Artifacts requests returned 404 with the
NuGet Gallery upstream enabled. The upstream reported healthy and the package
allows external versions. Its version index omitted 2.7.0. Exact registration,
nuspec, and nupkg requests could not resolve it either.

This PR fixes the queue-form problem and diagnostics; it does not claim to fix
the upstream service's missing version. Direct nuget.org fallback and manual
package uploads are intentionally not introduced. All diagnostic enablement
was bounded by cleanup; zero upstreams were verified afterward.

Validation

  • Azure DevOps preview-only expansion passed for Branch, ValidateOnly, and
    WindowsAppSDKVersion modes; no actual hydration build was queued.
  • Preview verified . selects the triggering branch and explicit
    release/1.8 is preserved.
  • Confirmed Azure DevOps also rejects explicit empty strings through its API.
  • YAML parse and PowerShell AST validation passed.
  • Version mode rejects the unused . placeholder before invoking NuGet.
  • PSScriptAnalyzer: unchanged two existing Write-Host warnings, no new findings.
  • git diff --check passed.

Use nonempty placeholders for mode-specific queue parameters and improve package restore failure diagnostics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
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