Repository navigation
Audit ConfigurationManagement v3 shared directive migration - #3851
Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 16 commits intoNov 12, 2026
Conversation
Document the absent shared directive source, preserve empty cmdlet configurations, and pin all 18 unaffected operations in both compatible profiles. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run the full Kiota 1.36.1 and wrapper Release pipeline against the pinned compatible spec. Client sources, both projects, and cmdlets are byte-identical after normalizing line endings; the Kiota lock records the actual tool version. Compiled module exports 23 cmdlets across all 18 spec operations with unchanged names. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run the full Kiota 1.36.1 and wrapper Release pipeline against the pinned beta compatible spec. Client sources, both projects, and cmdlets are byte-identical after normalizing line endings; lock metadata records the actual tool version and compatible-spec casing. Preserve committed wrapper/Beta output casing. Compiled module exports 23 cmdlets across all 18 spec operations with unchanged names. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
requested a review
from a team
as a code owner
October 22, 2026 01:32
Keep the standard shared readme require in the new audit file because Copy-ModuleTemplate skips existing destinations. No directives, overrides, or generated outputs change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…z-configurationmanagement-v3-migration
Use GeneratorConfig's three run settings and explicitly pass each oracle profile to naming and configurator lookups. Refresh the real-spec operation-ID inventory and audit blobs against normally merged powershell-v3 target 08e409a. Keep empty shared mappings/configuration and all original operation names. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run full queued Kiota 1.36.1 and wrapper Release generation on target 08e409a with compatible spec dd8ef92 and official Auth 2.38.1. Build status OK in 100s. Fresh import validates 23 exports, all 18 exact routes, 10 dispatcher guards and four CRUD WhatIf/Confirm guards. Client/cmdlet source and both projects remain unchanged; only the real current-spec description hash changes in the Kiota lock. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run full queued Kiota 1.36.1 and wrapper Release generation on target 08e409a with compatible spec 0893ccb and official Auth 2.38.1. Build status OK in 109.3s. Fresh import validates 23 exports, all 18 exact routes, 10 dispatcher guards and four CRUD WhatIf/Confirm guards. Preserve Beta casing and all names. Client/cmdlet source and both projects remain unchanged; only the real current-spec description hash changes in the Kiota lock. Raw Mg-versus-MgBeta oracle prefix differences are unchanged, not treated as a parity pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…z-configurationmanagement-v3-migration
Refresh audit target to normal Authentication3891 merge and generate real-spec test sources for both runtime profiles. Require all 18 transport implementations to pass their explicit profile to GetRequestAdapter while preserving all 23 names and empty shared configurations. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Full queued Kiota1.36.1 and wrapper Release build on normal844672 target: OK23 cmdlets in21.3s. Regenerate explicit v1.0 adapter calls and normal dependency-ownership project layout. Fresh normal manifest requires adapted Authentication2.41.2, only3 owned DLLs, all18 routes/23 named exports. Real factory Global/USGov typed GET/POST/PATCH204 refetch/bodyless DELETE/safety pass; known bound refetch-header loss3886 remains explicitly failed and unmodified. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Full queued Kiota1.36.1 and wrapper Release build on normal844672 target: OK23 cmdlets in30s. Regenerate explicit beta adapter calls and normal dependency-ownership project layout, preserving Beta casing and public names. Normal manifest/import and only3 owned DLLs pass. Factory Global/USGov beta transport, typed JSON/results/escaped routes and safety pass; bound PATCH204 refetch-header preservation remains explicitly failed3886, not overlaid or hidden. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…z-configurationmanagement-v3-migration
Revalidate real compatible specs against normal6475 target. Native monitor PATCH has no query inputs and no sibling GET prerequisite; generated source writes only actual non-null mutation model and never performs automatic readback. Preserve original empty shared inventory and explicit profile context. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Full queued Kiota1.36.1 and wrapper Release on normal6475: exit0/OK23 in90.5s, adaptedAuth2.41.2. Remove automaticGET after monitor PATCH, preserving native header/body and actual non-null200 result;204 returns no object. Global+USGov factory probes each15HTTP verify forbidden siblingGET does not affect mutation, explicit callerGET owns headers/query/result/error, typedCRUD/safety/cache/loader. Client/project/locks otherwise identical; old failedrefetch reports retained as user-superseded history. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Actual full queued Kiota1.36.1 and wrapper Release on normal6475: exit0/OK23 in243.9s. Preserve Beta casing, original18routes/23exports and nativePATCH body/header context. Regenerate monitor mutation with no automaticGET and actual200model-onlyoutput/204noobject. Real factory Global+USGov positive204/200/explicitGET,ShouldProcess,binder,profile/cache/loader proof; later post-import actualMock isolation gates rerun onlyoffline against samebins, no source/fullbuild rerun. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
merged commit Nov 12, 2026
075532e
into
powershell-v3
6 checks passed
Ramses Sanchez-Hernandez (ramsessanchez)
deleted the
ramsessanchez-configurationmanagement-v3-migration
branch
November 12, 2026 23:59
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.
N/A - existing ConfigurationManagement module migration PR; final revalidation after the user's normally merged #3886 contract.
Changes proposed in this pull request
mappings: []. No shared module markdown existed at original baseline51d441eeb5; standard historical require wiring is retained. All profile-local readmes andsrc/readme.graph.mdstay ignored and untouched. Parameter aliases/transforms and schema/response classes remain Deferred, not implemented. No invented groups, suppression, names, aliases, selectors, or other-owner/global changes.powershell-v3target6475f3f5beb4908d39ea356db32bf1e0fd3273cb, preserve all earlier commits, and pin the new one-operation PATCH contract in the owned real-spec tests. PATCH204 succeeds with no returned object and no automatic GET; PATCH200 returns the actual typed server model from one PATCH. Callers explicitly choose any readback GET. No PassThru/ReadBack/Refetch switch.Current 6475 full builds and source gates
Both compatible profiles are supported; none is excluded. No legacy fallback or skipped generation.
dd8ef9256120c1a463b2394238b81cfcc07ec5c00893ccbc044acbfc320945f06b26c378e7554c7bActual commands run from the owned worktree, sequentially:
Both passed with 23 nonzero exports, and both slots released. The unchanged four-mutex queue runs full Kiota and WrapperGenerator/build/manifest generation on
openApiDocs_KiotaCompat; no SkipKiota, GenerateOnly, NoCollisionData, archive restoration or fallback. Kiota is isolated1.36.1+fd3bf87790149b87f40f7eae1a5feb9016625943with process-local parallelism cap1.The process-local module path starts with the normal-source-equivalent adapted Authentication2.41.2 root:
C:\Users\ramsess\.copilot\session-state\4aa86cf9-d43c-4d2b-a4a3-aeaed01b8f29\files\authentication-v2-sync\final-source\modules,followed by existing user, AllUsers and PSHOME roots. Fresh children import from that exact root; all64 file SHA256s and the physical nupkg SHA256
2FC09BFE6B70D313BC56DF8ADCCFB1976FB4E90A1898BF8A916B4B8B792898EBare verified. No stock/old2.38 Auth, preload, dependency copies, shim or unmerged overlay.157 total/executed/passed, 0 failed/not-executed, including 5 real owned module results in
targeted.trx; ordinary strict0 shared rows, mapped0/deferred0/unresolved0/no stale mappings. Zero-row pipeline evidence is retained instrict-inventory.log. Own real-spec tests check every operation ID/path/method, structural names/suppression with derived data on/off, explicit separate oracle/profile context, all18 emitted adapter calls, no native PATCH query borrowing and no GET in mutation source.Positive compiled HTTP/default/binder/safety acceptance
Fresh normal manifests require Auth2.41.2, have no RequiredAssemblies, and bins plus validation packages carry only3 owned DLLs (client/runtime/module). Exact23 named route identities, all18 spec routes and five ordinary default List/Get pairs pass per profile.
All pass. Ownership checks also ran in fresh USGov-named proof processes. Each of four cloud/profile probes uses real Connect-MgGraph + in-memory MockDataStore + GraphHttpClientFactory token pipeline + terminal offline capture, not a bare default-free marker client. 15 actual HTTP captures per probe, zero live Graph/OAuth:
Post-import datastore isolation correction: normal Authentication import in an additional runspace can reset the shared datastore. Only affected offline probes were rerun in the new
$mroot; full builds, TRX, source and generation commits were not rerun or changed. The existingSet-MgTestDataStorehelper runs after the last confirmation-runspace import and before Connect. Each fresh probe repeatedly reflects the actual currentGraphSession.Instance.DataStore, verifies it isMicrosoft.Graph.Authentication.Test.Mocks.MockDataStore, and records the actual type/assembly/instance plus helper/mock source hashes before HTTP and request-context/reconnect/disconnect/logout. NewDataStoreProof.ActualChecksproves isolation; old unguarded runtime reports are retained and are not represented as newly guarded proof. A prior datastore type alone is not evidence that credential I/O occurred.patch200-responsemodel and typed body; no GET$select, header and typed result/betacorrect while real factory BaseAddress stays global/v1.0; adapter reuse and alternating profile roots, request-context/reconnect rebuild, disconnect guard passThe old bound-header-on-implicit-refetch failure is user-superseded, not waived or relabeled PASS. Old 844672 failed captures are immutable; the new204/200/explicitGET positive cases were executed independently on regenerated6475 code. No3881 PostPath or3897 optional-query overlay. This proves offline behavior, not live tenant/API certification.
Supplemental
dotnet pack <generated-project> -c Release --no-build -p:NuspecFile=$e\ConfigurationManagement.nuspec -p:NuspecBasePath=<fresh-bin> -p:NoPackageAnalysis=true -o <profile-output>: both pass without regenerating; both repositoryTest-WrapperModule.ps1 -PackagePath <profile-validation-package>smokes pass with23 exports/no orphan workers, dispatcher NoGraphSession, complex/enum and19 untyped cases. Full exact invocation/exit arrays are incommands-v1.0.jsonandcommands-beta.json.Raw parity remains v1.0 exit0/23of23, beta exit1/0of23 for the unchanged
Mgversus oracleMgBetaprefix. Beta raw parity is not normalized or claimed passed. No naming sweep. Existing YamlReader3.7.0 NU1903 advisory warnings remain unchanged. PS7/Core only; no5.1 work.Preserved history and current evidence
All original migration/profile commits and previous normal target merges remain. Current additions:
5cad94d345639de7e2ef163b5b3fa24566e0aa1a9cc274ade5735f673cc38cc4f63ea6073f428c68b1d2c78bf315d6077638e42b7f6784ca0ab4a879b4d24a6a47ca875c4edf786aaf83601599051932Latest generated delta: removal of monitor PATCH's automatic GET/readback block per profile plus benign blank-line formatting in GET sources; freshly generated clients/projects/locks are otherwise identical. Runtime manifests, assemblies and supplemental packages are hashed in evidence, not committed. All required source/profile commits have Copilot coauthor; full Git scope includes only ConfigurationManagement and its module-specific test.
Betacasing and all older boundaries/proofs remain; no force push/newPR/merge/other-owner edits.Canonical evidence
$m\handoff.jsonretains scalar TRX/strict/profile counts, exact current heads/commits/spec/Auth64/tool/queue/source identities, memory-guarded actual HTTP bodies/headers/counts and actual datastore checks, normal manifest/assembly/package hashes, complete Git scope and absolute artifact SHA256s. It references the unchanged full-build/TRX/unit/strict/hash/package proofs in$eby their exact existing paths; corrected offline commands/exits are in$m\commands-v1.0.jsonand$m\commands-beta.json. Earlier runtime proofs are retained, not relabeled as guarded acceptance. A pre-build runner interpolation/parser correction is retained in$e\runner-attempt1.txt; a probe-only loop-scope correction and its failed caller-GET assertion/captures are retained there too. No production source changed for either probe setup correction, no full build or unit test was restarted for the datastore fix, and no product failure was hidden.Other links