twilio-professional-services / flex-project-template

A starting point for Twilio Flex projects, providing management strategies for various types of artifacts and distributed development
https://twilio-professional-services.github.io/flex-project-template/
Apache License 2.0
63 stars 67 forks source link

plugin validation issue when using some custom action #583

Closed AllenHan-gd closed 2 months ago

AllenHan-gd commented 2 months ago

Refer to the document: https://www.twilio.com/docs/flex/developer/plugins/cli/deploy-and-release#validating-a-plugin, the flex-plugin latest version add the default validate step while deploying plugin, but when using the latest version to deploy plugin, there reports some custom action issues.

These validation issue related to some action like "beforeHoldParticipant/beforeUnHoldParticipant" Using the --bypass-validation option on the Deploy command can skip validation step

Steps to replicate:

dremin commented 2 months ago

Hi @AllenHan-gd!

These warnings are false-positive and can be ignored. The supplied deployment scripts use the --bypass-validation flag to allow deploy despite the false-positive warnings.

Any issues with the CLI plugin can be reported here: https://github.com/twilio/flex-plugin-builder/issues

Thanks!