DeploymentBuilder not working

I am using spring-boot CAMUNDA starter
And using the deploymentBuilder API to deploy a BPMN process at runtime.

Here is the code

Deployment deploy = repositoryService.createDeployment().
                    addString("test.bpmn",
                            ((GeneratedProcessDefinition) definition).getBpmn())
                    .deploy()

about code did not throw any exception but after that when I use the processDefinitionQueryBuilder to query the process definition the engine tells me there is no such process definition exists.

Facts:
The BPMN was marked as executable
Auto-deployment disabled

Any helps? Thanks

Camunda dependencies
compile group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-boot-starter-webapp', version: '3.2.0'