Hey folks,
The panic mentioned in the title is caused by this line here -- component.go#L108.
Resource is actually a pointer to ServiceConnection so casting it to *ComponentConnection panics.
interface conversion: interface {} is *opslevel.ServiceConnection, not *opslevel.ComponentConnection