Repository navigation
Conversation
Consume selected signed build artifacts, validate candidate identities and checksums, and emit CDN uploads and conditional aka.ms update/create payloads. There is deliberately no external write implementation or live switch. Add focused planner tests and document rehearsal requirements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
|
Azure Pipelines: Successfully started running 3 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
|
Created the requested Azure DevOps pipeline: dotnetup-release (1710), pointing at .vsts-dotnetup-release.yml on the release dev branch. Its YAML expands successfully. It consumes source pipeline 1544 as resource candidate; CDN/aka.ms operations are printed only, with no external write implementation or service connection. Waiting for the signed variant build 3122299 before the end-to-end preview/GA rehearsals. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
…nput cleanly Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
mmitche
left a comment
There was a problem hiding this comment.
Please include stubs where uploads/aka.ms link updates will go.
Invoke the upload stubs before link-update stubs after validation, preserving the existing release plan and read-only rehearsal behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
|
Addressed review 5760767240 in 56b0841. Added explicit UploadBlob and UpdateAkaLink stubs at the release entry point, with TODOs marking where authenticated uploads and aka.ms GET/conditional PUT-or-POST calls will go. They currently only print the intended operations; all upload stubs run before any link-update stubs, after candidate validation. No live switch or network calls were added. Preview/GA smoke runs preserve the JSON plans and print 40 uploads followed by 20 conditional link operations each; invalid provenance exits before reaching either stub. |
Remove the tooling-only signing step and artifact registration, disable MicroBuild for that job, and retain unsigned self-contained publication. Product signing is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
|
@dsplaisted Looking decent here. I made some iterations on this. I think @JoeRobich is taking this over from here to finish out the stubs. |
There was a problem hiding this comment.
🟡 Changes recommended
The new pipeline job lacks the required telemetry correlation variable, and the file map incorrectly describes the now-unsigned release planner as signed.
2 open issues
What changed in this PR
Adds a dry-run preview/GA release workflow for dotnetup. A source-free 1ES release job runs prebuilt tooling to validate candidates and generate CDN and aka.ms publication plans without external writes.
Changes:
- Builds an unsigned, self-contained release-tool bundle in the official pipeline.
- Validates eight RID candidates and plans uploads before link updates; GA remains a placeholder using
stableshortlinks. - Adds planner tests, release documentation, and repository navigation guidance.
| File | Description |
|---|---|
test/dotnetup.Tests/ReleasePlannerTests.cs |
Tests publication plans and rejection of invalid candidates. |
test/dotnetup.Tests/dotnetup.Tests.csproj |
References the release-tool project for testing. |
eng/Signing.props |
Adds a signing mapping for the release executable, although tooling signing is disabled. |
eng/dotnetup-release/ReleasePlanner.cs |
Validates manifests and checksums, then constructs publication plans. |
eng/dotnetup-release/Program.cs |
Writes the plan and invokes dry-run upload and link stubs. |
eng/dotnetup-release/dotnetup-release.csproj |
Defines the non-shipping release-tool executable. |
documentation/general/dotnetup/release-pipeline.md |
Documents rehearsals, artifact contracts, and future publishing safeguards. |
.vsts-dotnetup-release.yml |
Adds the manual release job consuming tooling and candidate artifacts. |
.vsts-dnup-ci.yml |
Builds and publishes the self-contained tooling bundle. |
.github/memory/FILE_MAP.md |
Adds navigation and architectural context for release tooling. |
Review effort: Balanced
🔍 Build Failure Analysis — incomplete (tooling outage)Summary — The Azure DevOps build failed, but the What was checkedOf the 20 build legs in this failed build,
What could not be checkedThe remaining 13 legs could not be queried — every call to
ConclusionBecause 13 of 20 legs are unverified, I cannot confirm the build compiled cleanly across the whole matrix (a failure can surface in just one leg), so this is not a reliable "non-build failure" determination — it's a genuine analysis gap caused by the tool outage. No root cause or fix is proposed here, since doing so without evidence would be speculation. Recommended next step: a maintainer should inspect the authoritative logs directly on the originating [Azure DevOps build]((dev.azure.com/redacted), focusing first on the 13 legs listed above. The GitHub Actions run has the fetch-step diagnostics for this workflow invocation. 🤖 Generated by the Build Failure Analysis workflow · commit 7489389
|
Describe the unsigned self-contained release bundle without implying a product signing guarantee. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d6d5d0-5011-4d48-81cd-f6395dcf96c6

Summary
releaseJobconsuming a selecteddotnet-dnup-official-cirun. No source checkout, SDK bootstrap, compilation, or Azure DevOps build-lookup/token dependency in the release job.DotnetupReleaseTools, separate from BAR assets. The release job declares this bundle and all eight candidate artifacts as 1ES inputs.UploadBlobandUpdateAkaLinkdry-run stubs after validation, with all uploads before any link updates; the TODOs mark the future authenticated API implementations. Print versioned uploads to both CDN storage accounts and conditional aka.ms PUT/POST payloads. GA usesstableshortlinks and remains explicitly a placeholder. No external writes, write credentials, or live-publishing switch exist.release-plan.jsonto execution task logs: formal 1ES release jobs do not permit pipeline artifact outputs.Dependency and artifact contract
Requires #56864 and a new official build containing both PRs.
StageDotnetupReleaseCandidatesin that PR'seng/Publishing.propswrites each<variant>/<version>/release.jsonafter signing and final checksums; the release guide now documents the producer and manifest fields. Older source builds without the new tooling artifact cannot run this revised pipeline unchanged.Created pipeline
dotnetup-release (definition 1710), using
.vsts-dotnetup-release.ymlon this branch. The PR remains a draft.Validation
checkout: none, nine declared pipeline-artifact inputs, and execution of the downloaded tool without source or SDK bootstrapping.DotnetupReleaseTools. Downloaded the official bundle, verified its executable has a valid Microsoft .NET Authenticode signature, and executed both preview and GA plans outside the repository with no SDK/runtime lookup or token: 40 uploads and 20 links each, dryRun=true. Product build, tests/style, and BAR publication stages were skipped; no daily bits were published.UNCONFIGUREDpending approval.Tooling signing review follow-up
Release tools are no longer signed. Removed the release-tool signing step and tool-only signing artifact registration, and disabled MicroBuild in the tooling job; dotnetup product signing is unchanged. Actual 1ES expansion confirms the unsigned self-contained tooling artifact is still produced and product signing plugins remain. Build 3124553 predates this removal and is retained above as historical validation only.