Repository navigation
feat: add Fairfax v1.0 OpenAPI pipeline stages - #1498
Open
Gavin Barron (gavinbarron) wants to merge 1 commit into
Open
Gavin Barron (gavinbarron) wants to merge 1 commit into
Gavin Barron (gavinbarron) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]>
Peter Ombwa (peombwa)
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
b12e7ad23ee973c912b54a15ec7e4d1943c3e7ed↑ YAML and artifact-contract checks pass; existing Prod stages and variables match the baseline.
↓ Full Fairfax CSDL conversion, Azure DevOps template expansion, and remote publication have not been exercised end to end.
Summary
Add Fairfax v1.0 CSDL cleaning and Hidi OpenAPI conversion stages to the generator pipeline, using
schemas/v1.0-Fairfax.csdlfrom the metadata repository and the existing Prod transforms, documentation/TypeSpec annotations, conversion profiles, and publication controls.Fairfax uses isolated metadata/OpenAPI artifacts and paths,
https://graph.microsoft.us/v1.0, and its own OpenAPI discovery PR branch. Current-run cleaned metadata is passed through an artifact even when publication is disabled. Scoped publication preserves newly created Fairfax files without committing unrelated generated/dependency files. No Fairfax beta or SDK generation stages are added; existing Prod stages and variables remain unchanged.Generated code differences
No generated SDK code is changed. Expected additions in
microsoftgraph/msgraph-metadataare illustrated below; these are output-path examples, not results from a full pipeline run:Existing Prod output paths are retained. Fairfax OpenAPI uses the service URL
https://graph.microsoft.us/v1.0.Command line arguments to run these changes
From the generator repository root:
Result: passed. Checks cover Prod defaults, all four Fairfax profiles, annotation/error variant selection, Hidi failure recovery, first-run CSDL/OpenAPI publication, publication disabled/no-change behavior, and Git failure propagation. Hidi is mocked; publication uses temporary local Git repositories.
git diff --checkalso passed. Changed YAML was parsed and stage isolation, artifact handoff, skip branches, annotation paths, and publication guards were checked locally.For end-to-end execution, run
.azure-pipelines/generation-pipeline.ymlin Azure DevOps with metadata and OpenAPI capture enabled. SetpublishChanges: falsefor artifact-only Fairfax verification; skipping metadata capture requires previously published Fairfax cleaned CSDL. Not run: full Fairfax CSDL conversion, Azure DevOps/1ES template expansion, remote publication, and the .NET suite (no C# changes).Links to issues or work items this PR addresses
N/A — requested Fairfax v1.0 CSDL-to-OpenAPI pipeline support.
Microsoft Reviewers: Open in CodeFlow