Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring up runtime-diagnostics pipeline #113257

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

steveisok
Copy link
Member

@steveisok steveisok commented Mar 7, 2025

The goal of this change is to allow any runtime PR that may impact diagnostics to manually trigger a pipeline that runs the runtime->diagnostics build / test.

The yml is probably a bit duplicative, but the intent is to keep it simple.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 7, 2025
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

No pipelines are associated with this pull request.

Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dotnet dotnet deleted a comment from azure-pipelines bot Mar 7, 2025
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from ba8acbd to 0281dde Compare March 7, 2025 17:27
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from 0281dde to 930997a Compare March 7, 2025 17:31
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from 930997a to ec732bf Compare March 7, 2025 17:35
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from ec732bf to 1e8f6bd Compare March 7, 2025 18:13
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from 1e8f6bd to 1dde023 Compare March 7, 2025 18:15
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from 901b3fa to a44da84 Compare March 21, 2025 00:03
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@steveisok steveisok force-pushed the extend-diag-pipeline branch from a44da84 to cf0c9ca Compare March 21, 2025 00:05
@steveisok
Copy link
Member Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@steveisok steveisok marked this pull request as ready for review March 21, 2025 01:14
@steveisok steveisok requested review from Copilot, max-charlamb and a team March 21, 2025 01:14

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a pipeline for manually triggering runtime diagnostics builds and tests for runtime PRs.

  • Added a new YAML template (runtime-diag-job.yml) defining the diagnostic job steps.
  • Updated the runtime-diagnostics.yml to incorporate the new diagnostics job into the platform matrix and remove scheduled triggers.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/pipelines/diagnostics/runtime-diag-job.yml Introduces a new job template with parameters and well-defined build/test steps for runtime diagnostics.
eng/pipelines/runtime-diagnostics.yml Integrates the new diagnostics job into the diagnostics pipeline via platform matrix templates.
Comments suppressed due to low confidence (2)

eng/pipelines/diagnostics/runtime-diag-job.yml:59

  • There is an inconsistency in the naming of the OS subgroup parameter; it is declared as 'osSubgroup' (line 8) but referenced as 'osSubGroup' here. Consider updating it to maintain consistent casing.
name: Logs_Build_Attempt$(System.JobAttempt)_${{ parameters.osGroup }}_${{ parameters.osSubGroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_${{ parameters.name }}

eng/pipelines/diagnostics/runtime-diag-job.yml:72

  • The condition compares array parameters to an empty string, which may not work as expected. Consider checking if the arrays are empty by evaluating their length instead.
${{ if or(ne(parameters.dependsOn,''), ne(parameters.dependsOnGlobalBuilds,'')) }}:
@max-charlamb max-charlamb added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Mar 21, 2025
Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

@max-charlamb
Copy link
Contributor

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants