-
Notifications
You must be signed in to change notification settings - Fork 733
Rename ASPIREPUBLISHERS001 to sequential ASPIREPIPELINES001-003 diagnostic codes #12416
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
Conversation
…ontainer image builds Co-authored-by: captainsafia <[email protected]>
Co-authored-by: captainsafia <[email protected]>
|
@copilot Rename the diagnostic codes to be ASPIREPIPELINES001, ASPIREPIPELINES002, etc. |
Changed ASPIREDEPLOYMENT001 to ASPIREPIPELINES002 and ASPIREIMGBUILD001 to ASPIREPIPELINES003 for consistency with sequential numbering scheme. Co-authored-by: captainsafia <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12416Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12416" |
There was a problem hiding this comment.
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 reorganizes experimental diagnostic codes from a single ASPIREPUBLISHERS001 identifier into three sequential codes under the ASPIREPIPELINES naming scheme. The split improves granularity by separating pipeline infrastructure (ASPIREPIPELINES001), deployment state management (ASPIREPIPELINES002), and container image building (ASPIREPIPELINES003) into distinct suppressible diagnostics.
Key changes:
- Renamed
ASPIREPUBLISHERS001toASPIREPIPELINES001for pipeline/reporting APIs - Introduced
ASPIREPIPELINES002for deployment state management APIs - Introduced
ASPIREPIPELINES003for container image building APIs
Reviewed Changes
Copilot reviewed 65 out of 65 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Aspire.Hosting/api/Aspire.Hosting.cs | Updated public API surface with new diagnostic codes |
| src/Aspire.Hosting/Publishing/*.cs | Applied new diagnostic codes to publishing infrastructure |
| src/Aspire.Hosting/Pipelines/*.cs | Updated pipeline infrastructure to use ASPIREPIPELINES001 |
| src/Aspire.Hosting.Azure/Provisioning/*.cs | Updated Azure provisioning to use ASPIREPIPELINES002 |
| tests/**/*.cs | Updated pragma suppressions across all test files |
| playground/**/*.cs | Updated playground examples with new diagnostic codes |
| #pragma warning disable ASPIREPIPELINES001 | ||
| #pragma warning disable ASPIRECOMPUTE001 | ||
| #pragma warning disable ASPIREAZURE001 | ||
| #pragma warning disable ASPIREPIPELINES001 |
Copilot
AI
Oct 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate pragma warning suppression for ASPIREPIPELINES001 on lines 1 and 4. Remove the duplicate on line 4 to avoid redundancy.
| #pragma warning disable ASPIREPIPELINES001 | ||
|
|
Copilot
AI
Oct 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate pragma warning suppression for ASPIREPIPELINES001 on lines 1 and 3. Remove the duplicate on line 3 to avoid redundancy.
| #pragma warning disable ASPIREPIPELINES001 |
| #pragma warning disable ASPIREPIPELINES002 | ||
| #pragma warning disable ASPIREPIPELINES001 |
Copilot
AI
Oct 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Pragma directives should be ordered consistently. Consider placing ASPIREPIPELINES001 before ASPIREPIPELINES002 to maintain sequential ordering of diagnostic codes.
| #pragma warning disable ASPIREPIPELINES002 | |
| #pragma warning disable ASPIREPIPELINES001 | |
| #pragma warning disable ASPIREPIPELINES001 | |
| #pragma warning disable ASPIREPIPELINES002 |
|
@copilot Address Copilot's feedback 😅 |
- Remove duplicate ASPIREPIPELINES001 pragma in playground files - Reorder pragma warnings to sequential order (001, 002) in test file Co-authored-by: captainsafia <[email protected]>
…ostic codes (#12416) * Initial plan * Update Experimental diagnostic codes for pipelines, deployment, and container image builds Co-authored-by: captainsafia <[email protected]> * Remove duplicate pragma warning directives Co-authored-by: captainsafia <[email protected]> * Rename diagnostic codes to sequential ASPIREPIPELINES001-003 Changed ASPIREDEPLOYMENT001 to ASPIREPIPELINES002 and ASPIREIMGBUILD001 to ASPIREPIPELINES003 for consistency with sequential numbering scheme. Co-authored-by: captainsafia <[email protected]> * Fix duplicate pragma warnings and ordering - Remove duplicate ASPIREPIPELINES001 pragma in playground files - Reorder pragma warnings to sequential order (001, 002) in test file Co-authored-by: captainsafia <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: captainsafia <[email protected]>
Update Experimental diagnostic codes in pipelines area
This PR updates Experimental diagnostic codes according to the issue requirements, using sequential numbering for all pipeline-related experimental APIs.
Changes Completed
Update pipeline-related APIs to use
ASPIREPIPELINES001(previouslyASPIREPUBLISHERS001)src/Aspire.Hosting/Pipelines/directory (16 files)src/Aspire.Hosting/Publishing/(3 files)Update deployment state manager APIs to use
ASPIREPIPELINES002(previouslyASPIREPUBLISHERS001)Update container image build APIs to use
ASPIREPIPELINES003(previouslyASPIREPUBLISHERS001)Update API file (src/Aspire.Hosting/api/Aspire.Hosting.cs)
Build verification completed successfully
Code review completed and issues addressed
Security check completed (no issues found)
Fixed duplicate pragma warnings and ordering issues
Summary
All
ASPIREPUBLISHERS001diagnostic codes have been replaced with sequential diagnostic codes:The sequential numbering provides a consistent naming scheme for all pipeline-related experimental APIs.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.