Skip to content

Validations POC - #1529

Draft
Kennedy Kang'ethe (KenitoInc) wants to merge 10 commits into
mainfrom
kemunga/poc-validation
Draft

Kennedy Kang'ethe (KenitoInc) wants to merge 10 commits into
mainfrom
kemunga/poc-validation

Conversation

@KenitoInc

Copy link
Copy Markdown
Collaborator

No description provided.

@KenitoInc Kennedy Kang'ethe (KenitoInc) changed the title Kemunga/poc validation Validations POC Aug 26, 2025
@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 1be9261:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/a3o5-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 815b6b7:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/cfge-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@SamErde Sam Erde (SamErde) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Request changes — reviewed commit 815b6b780a235c8baa2ddc7d0ab9535e9c545a30.1

[P1] Reconcile the repository before enabling the mandatory validation gate. The new Run Validations pipeline step runs unconditionally before module generation, but the validator exits 1 against this PR's own module/docs tree.

I ran the exact validation scripts on the committed tree:

  • Entra: 7 errors, exit 1.
  • EntraBeta: 8 errors, exit 1.

For example, Remove-EntraDeletedDirectoryObject is under Applications in source and DirectoryManagement in docs. Other missing/mismatched entries also fail validation. Because the GA invocation calls exit 1, the pipeline does not even reach the beta invocation.

Fix the mappings/layout and genuine missing documentation in the same change, or explicitly handle reviewed baseline exceptions, then demonstrate both variants pass before making this a required build step. The newly added JSON mapping files do not currently resolve these comparisons.

This was local validation only. The current functional CI check is failed; no tenant mutation or credential handling is introduced by the validator.


Footnotes

  1. AI-assisted review by Codex (1 agent). Model: gpt-6-astra. Configured reasoning effort: high (verified from the review session metadata). Review effort: detailed source review with the validation described above. Skill: engineering:code-review. Tools: GitHub API/CLI, Git, PowerShell source analysis and isolated runtime probes. ↩

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.

2 participants