Skip to content

Extend OptProf baseline artifact retention to 3 years#13692

Merged
OvesN merged 3 commits into
mainfrom
copilot/extend-optprof-artifact-retention
May 20, 2026
Merged

Extend OptProf baseline artifact retention to 3 years#13692
OvesN merged 3 commits into
mainfrom
copilot/extend-optprof-artifact-retention

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

The OptProf ProfilingInputs artifactsDrop had no explicit dropRetentionDays, causing baseline data to expire after the default retention window — preventing reproduction/retraining of older builds against their original baseline.

Changes Made

  • Added dropRetentionDays: '1095' to the OptProf artifactsDrop output in azure-pipelines/.vsts-dotnet-build-jobs.yml, consistent with the pattern used for the VS setup drop
- output: artifactsDrop
  ...
  usePat: true
  dropRetentionDays: '1095'   # 3 years
  dropMetadataContainerName: 'DropMetadata-OptProf'

Testing

CI/pipeline-only change; no unit tests applicable.

Notes

1095 days = 3 years. The VS setup drop uses '30' (extended by insertion + VS release); the OptProf baseline needs a longer window since it's used for retraining across multiple VS releases.

Copilot AI linked an issue May 5, 2026 that may be closed by this pull request
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Hello @copilot, I noticed that you’re changing an .swr file or any file under src/Package/MSBuild.VSSetup.. Please make sure to validate this change by an experimental VS insertion. This is accomplished by pushing to an exp/* branch, which requires write permissions to this repo.

Copilot AI changed the title [WIP] Add dropRetentionDays for OptProf baseline artifact retention Extend OptProf baseline artifact retention to 3 years May 5, 2026
Copilot AI requested a review from OvesN May 5, 2026 15:38
Copilot finished work on behalf of OvesN May 5, 2026 15:38
@OvesN OvesN marked this pull request as ready for review May 20, 2026 15:58
Copilot AI review requested due to automatic review settings May 20, 2026 15:58
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.

Pull request overview

Extends Azure DevOps drop retention for the OptProf “ProfilingInputs” artifacts drop so baseline profiling data doesn’t expire under default retention, enabling reproduction/retraining against older baselines.

Changes:

  • Set dropRetentionDays: '1095' for the OptProf artifactsDrop output in the Windows build job.

@OvesN OvesN enabled auto-merge (squash) May 20, 2026 16:19
@OvesN OvesN merged commit ccee89d into main May 20, 2026
11 checks passed
@OvesN OvesN deleted the copilot/extend-optprof-artifact-retention branch May 20, 2026 18:05
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.

Extend OptProf baseline artifact retention to 3 years

4 participants