Skip to content

Publish placeholder log artifact from Prepare Installers jobs#16526

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/prepare-log-artifact-directory
Closed

Publish placeholder log artifact from Prepare Installers jobs#16526
Copilot wants to merge 2 commits into
mainfrom
copilot/prepare-log-artifact-directory

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 28, 2026

The WinGet and Homebrew jobs in the Prepare Installers stage use the shared 1ES job template with build log publishing enabled, but they don't run MSBuild and so never create $(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig), producing log artifact publishing noise/failures.

Description

  • New template eng/pipelines/templates/prepare-installer-log-artifact.yml: single pwsh step (cross-platform — runs on both the Windows WinGet job and macOS Homebrew job) that creates the standard log artifact directory and writes an installer-job.txt marker explaining that installer preparation jobs produce no MSBuild logs.
  • Wired in as the first step (after checkout) of the WinGet and Homebrew jobs in both eng/pipelines/azure-pipelines.yml (official) and eng/pipelines/azure-pipelines-unofficial.yml (unofficial).
steps:
  - checkout: self
    fetchDepth: 1
  - template: /eng/pipelines/templates/prepare-installer-log-artifact.yml@self
  - task: DownloadPipelineArtifact@2
    ...

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?

Copilot AI changed the title [WIP] Add placeholder log artifact for Installers jobs Publish placeholder log artifact from Prepare Installers jobs Apr 28, 2026
Copilot AI requested a review from radical April 28, 2026 14:30
@radical
Copy link
Copy Markdown
Member

radical commented May 11, 2026

Fixed by #16865.

@radical radical closed this May 11, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 13.4 milestone May 11, 2026
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.

Prepare Installers jobs should publish a placeholder log artifact

2 participants