Skip to content

Instantly share code, notes, and snippets.

View thomasrutger's full-sized avatar

Thomas Nijman thomasrutger

View GitHub Profile
@thomasrutger
thomasrutger / disposeprofile-payload-repro.txt
Created April 30, 2026 13:10
tmanager DisposeProfile payload shape repro
// Apply in tmanager/core/service_participant_test.go
//
// This test demonstrates that explicit participant deletion
// through tmanager.DisposeProfile creates a new dispose orchestration payload
// from stored profile state, with the prior deploy state nested under
// cfm.vpa.state.
func TestDisposeProfile_DoesNotFlattenStoredStateIntoPayloadRoot(t *testing.T) {
ctx := context.Background()
service := newTestParticipantService()