add-integ-tests-spanner-to-sourcedb
GoogleCloudPlatform/DataflowTemplates/v2/spanner-to-sourcedb/.agents/skills/add-integ-tests-spanner-to-sourcedb/SKILL.md
Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the spanner-to-sourcedb (Reverse Migration) template.
Skill1.3k starsChanged 4 months ago
- Reads credentials
--- name: add-integ-tests-spanner-to-sourcedb description: >- Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the spanner-to-sourcedb (Reverse Migration) template. --- # Spanner-to-SourceDB Testing Orchestrator This is a specific runner skill that acts as a wrapper around the global `meta-test-orchestrator` skill. ## Required Prompt Inputs 1. **Target Source Database Name** 2. **Reference Datatype Mapping Matrix File Path** 3. **Testing Environment Setup Path** (e.g. `testing_execution.env`) > [!IMPORTANT] > **Initialization Check**: If ANY of the required prompt inputs are missing from the user's prompt, or if the environment config file does not exist, you **MUST HALT EXECUTION IMMEDIATELY**. Ask the user to provide the missing inputs before proceeding. ## Execution Instructions You must immediately load and execute the `v2/spanner-common/.agents/skills/meta-test-orchestrator/SKILL.md` skill, passing it the following statically mapped parameters: 1. **Target Source Database Name:** Extract from the user prompt. 2. **Reference Datatype Mapping Matrix File Path:** Extract from the user prompt. 3. **Testing Environment Setup Path:** Extract from the user prompt and assert its presence. 4. **Manifest File Path:** `v2/spanner-to-sourcedb/src/test/manifest.yaml`. 5. **Target Template Path:** `v2/spanner-to-sourcedb` 6. **Smoke Test Scenarios:** `reverse-it` 7. **Datatype Test Scenarios:** `reverse-datatypes`, `reverse-datatypes-pg` Yield execution completely to the `meta-test-orchestrator`. Instruct the Orchestrator to begin using these parameters. ## Example User Prompt ```text Please run the add-integ-tests-spanner-to-sourcedb skill for the MySQL database. Use the reference matrix located at v2/spanner-to-sourcedb/src/test/resources/mysql/mysql_datatype_mapping_matrix.csv load the execution properties from testing_execution.env. ```
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

