The chemical reactions and pathways involving very long-chain fatty-acyl-CoAs, any derivative of coenzyme A in which the sulfhydryl group is in a thioester linkage with a medium-chain fatty-acyl group. A very long-chain fatty acid is a fatty acid which has a chain length greater than C22.