Repository navigation
Migrate Groups shared directives to v3 wrappers - #3865
Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 25 commits intoNov 19, 2026
Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 25 commits into
Ramses Sanchez-Hernandez (ramsessanchez) merged 25 commits into
Conversation
Review all 17 shared Groups directive groups against both compatible profiles, preserve active AutoRest directives, and pin migrated plus neighboring behavior without generation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Repair four published item-reference nouns and reuse four exact v1.0 collision dispositions for both compatible profiles. Record authoritative published route evidence separately from shared-directive mappings, including the existing deferred photo cross-path merge limitation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Bridge all seven v1.0 and ten beta source operation-ID matches by exact method and normalized route, retaining old/new IDs and qualified paths as evidence. Suppress four selected collection-reference DELETEs without affecting published item-reference routes. Pin source-intent coverage and existing reviewed collision policies. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Distinguish unsuppressed compatible routes from baseline unsupported PUT-photo responses and intermediate site-function emission, without changing AutoRest directives or generator behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run full end-to-end Release generation against the pinned v1.0 compatible spec. Kiota client sources, cmdlets and project files regenerate byte-identically; only the client lock Kiota version changes. Compiled module discovery exports 319 cmdlets; 41 exact migrated/neighbor route assertions pass and published-name parity is 268/268. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Create the missing beta client, cmdlets, projects and lock files together using full end-to-end Release generation against the pinned compatible spec. Compiled module discovery exports 347 cmdlets; 49 exact migrated/neighbor route assertions pass. Existing beta global prefix/action naming differences and unsupported neighboring response/function shapes remain documented, not broadened into this migration. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pin all seven reviewed qualified-to-bare conversions to real matching action/function metadata on both sides, identical parent routes and exact final operation names. Shared strict inventory acceptance remains dependency-gated. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Mark only the seven changed final-operation qualification records with UnqualifyFinalOperation and ensure same-path evidence does not opt in. Real operation-kind and exact parent/name guards remain pinned by module tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Verify literal current selector equality with all seven v1.0 and ten beta legacy endpoints, retaining exact legacy and qualified-path proof without requiring unmerged inventory APIs. Refresh every reviewed method/path ID to target abab9da. Strict inventory maps all 17 groups and 146 targeted regressions pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Full queued Kiota 1.36.1 and wrapper Release pipeline on target abab9da succeeds with 319 compiled exports and 41 exact migrated/neighbor route checks. Client models and lock update together; freshly generated cmdlets and projects are byte-identical. v1.0 published-name parity passes 268/268 plus 51 dispatchers. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Full queued Kiota 1.36.1 and wrapper Release pipeline on target abab9da succeeds with 347 compiled exports and 49 exact migrated/neighbor route checks. Client models and lock update together; freshly generated cmdlets and projects are byte-identical. Existing global beta prefix/action parity differences remain explicitly out of scope. 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 27, 2026 19:04
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adapt module tests to merged GeneratorConfig run settings and explicitly propagate apiVersion to naming/suppression calls for both profiles and data modes. Remove reserved legacy-only ledger fields while independently retaining complete original seven/ten source-selection, ID, and qualified-path proof from actual specs. Strict inventory maps all 17 groups and 151 targeted tests pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Fresh full queued Release generation on integrated target08e409a6aa:exit0,OK319exports,99.5s,Kiota1.36.1cap1officialAuth2.38.1. Client,cmdlets,projects,andlocks regenerate byte-identically; this explicit empty combined-profile boundary records the required actual run. Fresh compiled verification passes41routeassertions,96mutationWhatIf/Confirmmetadata checks,and2safeactionWhatIfprobes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Fresh full queued Release generation on integrated target08e409a6aa:exit0,OK347exports,140.6s,Kiota1.36.1cap1officialAuth2.38.1. Client,cmdlets,projects,andlocks regenerate byte-identically; this explicit empty combined-profile boundary records the required actual run. Fresh compiled verification passes49routeassertions,106mutationWhatIf/Confirmmetadata checks,and4safeactionWhatIfprobes. Existing beta raw parity limitations remain disclosed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add actual Groups item GET/PATCH and migrated action emission regressions for v1.0 and beta using separate runtime profile context. Preserve complete seven/ten source selectors and all17reviewed directive groups. Current targeted suite153passes with retained TRX; no shared transport/config changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…e root Fresh full queued Release on844672target:exit0,OK319exports,40.6s,Kiota1.36.1cap1normalAuth2.41.2. Combined generation updates profile-aware cmdlets and wrapper project; clients and locks regenerated byte-identically. Normal manifests/packages require2.41.2,containonly3ownedDLLs,nopreloads. Compiled41routechecks and normal offline factory typed/safety/cloud checks retained. Generic headers on PATCH204GET refetch remain explicit KNOWNFAIL3886,not certified pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ervice root Fresh full queued Release on844672target:exit0,OK347exports,67.7s,Kiota1.36.1cap1normalAuth2.41.2. Combined generation updates profile-aware cmdlets and wrapper project; clients and locks regenerated byte-identically. Normal3DLLmanifest/packageimports,compiled49routechecks,andactualfactorybeta/USGovroots/typedactions/safetyverified. Generic refetch header loss3886 and rawbetaoracleparity remain explicit limits,nooverlay. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…racts Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Verify generated Groups PATCH keeps only its own inputs and returns only its model without GET/readback flags. Audit all four native @id required-query DELETE operations per profile:all remain within original shared suppression; item-reference neighbors remain unchanged. Complete original7v1/10beta selector and17Mapped proof retained;193targetedtests pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
FullqueuedRelease6475targetexit0/OK319exports188.4s;explicitnoincrementalbuildpasses. CombinedKiota/client/cmdlet/project/lockrunupdatesPATCHsourceswithoutautomaticGET;client/locksregeneratebyte-identically. Freshnormalmanifest41routeassertions and actualfactoryGlobal/USGov24checks each verify204onePATCHnooutputnoGETwithGET403,200onePATCHtypedmodel,callerexplicitGETindependent. Alloriginal17Mappings7selectorspreserved. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
SequentialfullqueuedRelease6475targetexit0/OK347exports430.3s;explicitnoincrementalbuildpasses. CombinedKiota/client/cmdlet/project/lockrunupdatesPATCHwithoutautomaticGET;clientsandlocksregeneratebyte-identically. NormalAuth2.41.2metadata49routeassertionsandcurrentfactoryGlobal/USGov29checkseach pass204onePATCHnooutputnoGETwithGET403/200singletypedmodel/callerexplicitGET. Existingselectors10betaand17Mapped,typedactions,itemrefs,naming/defaultspreserved. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
merged commit Nov 19, 2026
047e42d
into
powershell-v3
3 of 4 checks passed
Ramses Sanchez-Hernandez (ramsessanchez)
deleted the
ramsessanchez-groups-v3-migration
branch
November 19, 2026 00:25
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 - module migration; no standalone issue is closed.
Changes proposed in this pull request
Current contract and target
This final revalidation integrates
6475f3f5beb4908d39ea356db32bf1e0fd3273cbnormally in64227ae7bad36bfcf859efeb977e1dffe24dfbd4. #3886 intentionally replaces implicit PATCH readback:PATCH 204: one successful PATCH, no output, no GET. PATCH 200 with a model: one PATCH and its actual typed model. The caller may issue a separate GET with its own headers/query/permissions. No PassThru, ReadBack, or Refetch switch is added. GET-only queries are not injected into PATCH.
The old captured generic-header-loss-on-implicit-refetch failures are user-superseded historical evidence, not relabeled passing runs or current unresolved failures. Fresh probes configure GET to return 403 while testing both PATCH cases, so any hidden readback fails.
Source correction
64605014c5pins this contract in actual-spec Groups emission tests and independently audits current required queries. Exactly four native required@idDELETE-query operations exist per profile, all collection-reference DELETEs selected by the original shared suppression. They remain suppressed. No surviving emitted operation requires these queries; item-reference/no-query neighbors are unchanged, and no query routes are restored to satisfy a test.All 17 literal mappings and complete original/current endpoint/ID selection equality remain verified, with no reserved legacy bridge fields. True absent OneNote/direct-site operations and the frozen photo cross-path merge preference remain explicit.
Current commit boundaries
64227ae7ba64605014c5d8dd0654ece9245a86dff6831486d7e8fd3b9dbcddda9f999083ede48a3889eeaee0898009fb9c03Prior migration and profile boundaries remain intact, including
75d4e37d73,acf6f3a5a6/901632f19c,035e6fb7c8/8558169e32,ce2d58b183/f666beaa69, andfbf99c596b/ac608b8ebc. Every owned commit carries the Copilot App co-author trailer.Fresh full-profile gates
All new proof is retained under:
C:\Users\ramsess\.copilot\session-state\67950e19-7236-463e-8fbc-ef966f82fcef\files\post3886-6475-finalThe unchanged four-mutex queue invokes the complete existing builder, v1.0 then beta, compatible specs only. No SkipKiota, GenerateOnly, NoCollisionData, fallback spec, or NO-CMDLETS acceptance.
Supplemental explicit clean compiler gates (not substitutes for either full pipeline):
PASS both, exit0; retained raw logs confirm fresh build success with zero errors.
Kiota is isolated
1.36.1+fd3bf87790149b87f40f7eae1a5feb9016625943, cap 1; current .NET is 10.0.403 and PS7/Core only. The approved complete locally built normal Authentication 2.41.2 is FIRST in process-local PSModulePath. All 64 file hashes and physical package SHA2562FC09BFE6B70D313BC56DF8ADCCFB1976FB4E90A1898BF8A916B4B8B792898EBare verified. No Gallery/old2.38 package, copied DLL bundle, preloads, or global environment edits.Both normal wrapper manifests require Authentication2.41.2, no RequiredAssemblies, and only their three own DLLs. Package/manifest/assembly hashes and normal load identities are retained.
Exact current source/test/compiled gates
PASS: actual TRX Total/Executed/Passed 193, Failed/NotExecuted 0. Module tests preserve separate derived profiles, both data modes, complete source selection, meaningful naming, original suppression, and no-GET/no-new-switch PATCH emission.
Strict PASS 17/17 Mapped, no Deferred/Unresolved/Invalid. PASS: 319/347 nonzero exports, 41/49 exact migrated/neighbor route assertions, 96/106 mutation metadata checks, ordinary default List/mandatory-ID binder, original collection-reference query suppressions, and no new GET-only PATCH parameters/readback switches.
Fresh actual HTTP acceptance
PASS all four actual guarded runs, zero live Graph requests.
Actual compiled commands use real Connect-MgGraph + in-memory MockDataStore + Authentication's GraphHttpClientFactory token pipeline + offline terminal handlers, never live Graph/OAuth. They verify typed GET/default List streaming, Add/RemoveLifecycle typed bodies/results, beta Rule/unboundRenew typed bodies, reference POST, bodyless reference/resource DELETE and renewal action, encoded IDs, finite optional query/header forwarding, conflicting binding/off-host continuation zero HTTP, WhatIf and genuine No confirmation zero HTTP, one declined prompt per mutation, client/root adapter reuse/invalidation, reconnect/disconnect and single Auth/Kiota/RMS/UriTemplate identity.
Both PATCH204/no-output/no-GET and PATCH200/actual-model send exactly one PATCH even with sibling GET configured 403. Caller-explicit GET independently fails 403 or succeeds with its own headers/select/typed result. Beta and USGov URIs retain their actual service roots despite factory Global/v1.0 BaseAddress; no shared-client mutation.
Normal package proof and limits
Supplemental
Pack-VerifiedOutput.ps1 -Profile <profile>uses normaldotnet pack --no-buildon the already completed full outputs; package smoke invokes repositoryTest-WrapperModule.ps1on those exact packages. PASS both normal package smoke gates:319/347exports equalmanifest,0orphans,complex/enum/scalar1/untyped19. PackageSHA256v1.05760F23534925718D98DCFFDD3CC0ECED93CF23879C361F42A64A99AE1C37476; betaD27BF192A659E9DCA74FF61D3F1148E8169A902A6EE1D0023A271B7B314056CB. Exact actual package paths and arguments are retained in package-.json and package-smoke--result.json.Fresh raw parity is PASS v1.0 319/319 routes, FAIL beta 0/347 routes; exact logs/CSV and actual exitcodes are retained separately. Exact package paths/hashes and gate commands are in the canonical handoff and referenced evidence. No normalized beta prefix is called a raw pass. Existing beta global-prefix/action-name/missing-oracle differences remain out of scope. The photo singleton preference and unsupported unsuppressed PUT photo/intermediate site operations remain explicit. New HTTP evidence covers representative owned contracts, not tenant certification or every Graph API.
Runtime isolation addendum (probe setup only)
Guarded runtime evidence and the NEW canonical self-contained scalar handoff are under:
C:\Users\ramsess\.copilot\session-state\67950e19-7236-463e-8fbc-ef966f82fcef\files\post3886-6475-memory-finalThe original unguarded v1.0 runtime reports in
C:\Users\ramsess\.copilot\session-state\67950e19-7236-463e-8fbc-ef966f82fcef\files\post3886-6475-finalremain untouched and are not cited as guarded proof. Source/TRX/full-build/compiled-metadata/package evidence remains valid in that original folder, referenced by exact existing paths and SHA256s; no generation/build/test rerun or source change was introduced for this setup correction.The second-runspace import is now completed before Connect, then the existing
Set-MgTestDataStorehelper is reapplied. Each recorded guard reflects the actual sharedGraphSession.DataStore.GetType().FullNameand requiresMicrosoft.Graph.Authentication.Test.Mocks.MockDataStoreplus the same object identity. Assertions run after the last import, before Connect/HTTP, before context/reconnect/disconnect and logout, and after transport. Reports preserve the observed post-import pre-correction DiskDataStore type without inferring credential I/O from that type alone. All four final runtime commands above use the corrected script and proof paths.Current exact compatible-spec Git blobs remain v1.0
38e0783c1f5e451dcfcbadfdadb96bd39bb10d09, betaa27315fdbed377229a3b6a19ea0b3015acdb14a6. Original/old-target/failed evidence is unchanged and not reused as current proof. No #3881 or #3897 overlay, PR merge, protection bypass, or new PR.Other links