Skip to content

Extend OptProf baseline artifact retention to 3 years#13692

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/extend-optprof-artifact-retention
Draft

Extend OptProf baseline artifact retention to 3 years#13692
Copilot wants to merge 2 commits intomainfrom
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
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

2 participants