[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVB9BZJY7J3XMFRBEDK8ZK":3,"skill-same:01M7BVB9BZJY7J3XMFRBEDK8ZK":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7BVB9BZJY7J3XMFRBEDK8ZK","gcp-managed-airflow-migrations",null,"Provides guidance for migrating Apache Airflow DAGs in Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers migration to Airflow 2.11.1 (MSAA Gen 2 and 3) and Airflow 3 (MSAA Gen 3), including environment inspection, GCS download\u002Fupload and scanning patterns for breaking changes.","nguyenhungtran18\u002Fskill-and-tool-tracker","nguyenhungtran18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F297063550?v=4","01M7BV0BFPRRFP84F2ME0FYZ9D","01M7BV0BG83FA5P22NJV0GR0A5",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgcp_managed_airflow_migrations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gcp-managed-airflow-migrations\ndescription: Provides guidance for migrating Apache Airflow DAGs in Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers migration to Airflow 2.11.1 (MSAA Gen 2 and 3) and Airflow 3 (MSAA Gen 3), including environment inspection, GCS download\u002Fupload and scanning patterns for breaking changes.\nlicense: Apache-2.0\nmetadata:\n  version: v1\n  publisher: google\n---\n\n# Managed Service for Apache Airflow (formerly Cloud Composer) Migration Guide\n\nThis skill guides you through the process of adjusting Airflow DAGs from an\nexisting Managed Service for Apache Airflow (formerly Cloud Composer)\nenvironment (or available locally) to make them compatible with **Airflow\n2.11.1** (MSAA Gen 2 or 3) or **Airflow 3** (MSAA Gen 3).\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Discovery & Download\n\nBefore making any changes, download the existing DAG files if explicitly\nrequested. Inspect the source environment to confirm source version only if\nexplicitly requested. For detailed instructions about environment inspection and\ndownloading files check references\u002Fenvironment-inspection.md.\n\n--------------------------------------------------------------------------------\n\n## Phase 2: Target Version & Dependency Mapping\n\n### 2.1 Airflow 2.11.1+ Dependency Mapping\n\nIf migrating to Airflow 2.11.1 (MSAA Gen 2) or Airflow 3, use the list below to\ntrace the version progression of key dependencies. The list covers changes\nneeded to get to Airflow 2.11.1. Take them into account when migrating from\nAirflow 2 (earlier than 2.11.1) to Airflow 3.\n\n### Composer 2.10.0 (Airflow 2.10.2)\n\n-   **Google Provider**: `10.26.0`\n-   **SSH Provider**: `3.14.0`\n-   **HTTP Provider**: `4.13.3`\n-   **Breaking Changes**: *Baseline for oldest fully documented source.*\n\n### Composer 2.15.3 (Airflow 2.10.5)\n\n-   **Google Provider**: `18.0.0`\n-   **SSH Provider**: `4.1.4`\n-   **HTTP Provider**: `5.3.4`\n-   **Breaking Changes**:\n    -   **SSH Provider 4.0.0:** Hook `timeout` removed; `get_conn()` context\n        manager.\n    -   **HTTP Provider 5.0.0:** `SimpleHttpOperator` -> `HttpOperator`.\n    -   **Google Provider 11.0.0:** `BigQueryExecuteQueryOperator` removed.\n    -   **Google Provider 12.0.0:** Legacy Data Pipeline operators removed.\n    -   **Google Provider 13.0.0:** `AutoMLBatchPredictOperator` removed.\n    -   **Google Provider 17.0.0:** `BigQueryCreateEmptyTableOperator` and\n        `BigQueryCreateExternalTableOperator` removed; Life Sciences operators\n        removed.\n    -   **Google Provider 18.0.0:** Legacy DV360 operators removed.\n\n### Composer 2.16.1 (Airflow 2.10.5)\n\n-   **Google Provider**: `19.0.0`\n-   **SSH Provider**: `4.1.6`\n-   **HTTP Provider**: `5.5.0`\n-   **Breaking Changes**: **Google Provider 19.0.0:** AutoML operators removed\n    (use Vertex AI).\n\n### Composer 2.17.0 (Target Airflow 2.11.1)\n\n-   **Google Provider**: **`20.0.0`**\n-   **SSH Provider**: **`5.0.0`**\n-   **HTTP Provider**: **`6.0.2`**\n-   **Breaking Changes**:\n    -   **SSH Provider 5.0.0:** `sshtunnel` removed (native tunneling).\n    -   **HTTP Provider 6.0.0:** JSON serialization.\n    -   **Google Provider 20.0.0:** ADLS Gen2 migration.\n\n### 2.2 Airflow 3 Migration\n\nIf migrating to Airflow 3 (MSAA Gen 3), note that this is a major version\nupgrade with significant changes, including:\n\n*   Decoupled Task SDK (imports change from `airflow` to `airflow.sdk`).\n*   Removal of direct metadata DB access.\n*   Renaming of `Dataset` to `Asset`.\n*   Removal of SubDAGs and SLAs.\n*   Changes to context variables availability.\n\nTake into account all applicable changes within Airflow 2 (e.g. when migrating\nfrom Airflow 2.10.2, apply changes needed to move to Airflow 2.11.1 and Airflow\n3 migration changes on top of that).\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Analysis & Remediation (Scanning Downloaded Files)\n\nRun the scan commands from the root of your local workspace\n(`.\u002Fmigration_workspace` unless indicated otherwise).\n\n--------------------------------------------------------------------------------\n\n### 3.1 Airflow 2.11.1 Core & Dependency checks\n\nUse these scans if migrating to Airflow 2.11.1+ (intermediate step when\nmigrating to Airflow 3).\n\n#### 3.1.1 Dataset Scheduling (Airflow 2.11.0)\n\n*   **Change:** DAGs scheduled on datasets only trigger if events occur while\n    the DAG is unpaused.\n*   **Scan Command:** `grep -rn \"Dataset(\" .\u002Fdags`\n*   **Remediation:** You MUST document that these DAGs must remain unpaused to\n    catch events, or plan manual triggers for catch-up.\n\n#### 3.1.2 HTML in Descriptions (Airflow 2.11.0)\n\n*   **Change:** Raw HTML in DAG docs\u002Fparams is escaped by default.\n*   **Scan Command:**\n\n    ```bash\n    grep -rn -E \"doc_md.*\u003C|doc_md.*>|description.*\u003C|description.*>\" .\u002Fdags\n    ```\n\n*   **Remediation:** Convert HTML to Markdown, or set\n    `AIRFLOW__WEBSERVER__ALLOW_RAW_HTML_DESCRIPTIONS=True` in target.\n\n#### 3.1.3 Teardown Tasks (Airflow 2.10.5)\n\n*   **Change:** Teardowns always run when a DAG is marked failed.\n*   **Scan Command:** `grep -rn \"as_teardown\" .\u002Fdags`\n*   **Remediation:** Ensure teardown tasks are idempotent.\n\n#### 3.1.4 Pendulum 3 Upgrade (Airflow 2.11.0)\n\n*   **Change:** `Period` renamed to `Interval`, testing helpers removed.\n*   **Scan Command (Code):**\n\n    ```bash\n    grep -rn -E \"pendulum\\.Period|pendulum\\.period\" .\u002Fdags\n    ```\n\n*   **Scan Command (Tests):**\n\n    ```bash\n    grep -rn -E \"\\.test\\(|set_test_now\\(\" .\u002Ftests 2>\u002Fdev\u002Fnull || true\n    ```\n\n*   **Remediation:** Replace `Period` with `Interval`, and `period(...)` with\n    `interval(...)`.\n\n--------------------------------------------------------------------------------\n\n### 3.2 Path A: Airflow 2.11.1 Provider Package Scan\n\n#### 3.2.1 SSH Provider (SSH 4.0.0 & 5.0.0)\n\n*   **Scan Command (Timeout):** `grep -rn \"SSHHook\" .\u002Fdags | grep \"timeout\"`\n*   **Scan Command (Context Manager):** `grep -rn \"with SSHHook\" .\u002Fdags`\n*   **Scan Command (Tunnel Attributes):** `grep -rn \"\\.get_tunnel\" .\u002Fdags`\n*   **Remediation:**\n    *   Replace `timeout` with `conn_timeout` in `SSHHook`.\n    *   Replace `with hook as conn:` with `with hook.get_conn() as conn:`.\n    *   Use `get_tunnel()` as context manager: `with hook.get_tunnel(...) as\n        tunnel:`.\n\n#### 3.2.2 HTTP Provider (HTTP 5.0.0 & 6.0.0)\n\n*   **Scan Command:** `grep -rn \"SimpleHttpOperator\" .\u002Fdags`\n*   **Remediation:** Replace `SimpleHttpOperator` with `HttpOperator`.\n\n#### 3.2.3 Google Provider (v11 to v20)\n\n*   **Scan Command (BigQuery query):**\n\n    ```bash\n    grep -rn \"BigQueryExecuteQueryOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with `BigQueryInsertJobOperator` (use\n        `configuration` dict).\n*   **Scan Command (BigQuery table):**\n\n    ```bash\n    grep -rn -E \"BigQueryCreateEmptyTableOperator|BigQueryCreateExternalTableOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with `BigQueryCreateTableOperator` (use\n        `table_resource` dict).\n*   **Scan Command (AutoML):**\n\n    ```bash\n    grep -rn -E \"AutoMLTrainModelOperator|AutoMLPredictOperator|AutoMLCreateDatasetOperator|AutoMLBatchPredictOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Migrate to Vertex AI operators.\n*   **Scan Command (Dataflow):**\n\n    ```bash\n    grep -rn -E \"CreateDataPipelineOperator|RunDataPipelineOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with\n        `DataflowCreatePipelineOperator`\u002F`DataflowRunPipelineOperator`.\n*   **Scan Command (Life Sciences):**\n\n    ```bash\n    grep -rn \"LifeSciencesRunPipelineOperator\" .\u002Fdags`\n    ```\n\n    *   *Remediation:* Migrate to Google Cloud Batch operators\n        (`BatchCreateJobOperator`).\n*   **Scan Command (ADLS to GCS):** `grep -rn \"ADLSToGCSOperator\" .\u002Fdags`\n    *   *Remediation:* Ensure `file_system_name` is provided.\n\n--------------------------------------------------------------------------------\n\n### 3.3 Airflow 3 Migration checks\n\nUse instructions from references\u002Fairflow-3.md when migrating to Airflow 3.\n\n--------------------------------------------------------------------------------\n\n## Phase 4: Deployment & Verification\n\n*Perform deployment and verification steps only if explicitly requested to do\nso.*\n\n### 4.1 Static Verification (when migrating to Airflow 3)\n\nAfter applying code changes for Airflow 3, verify syntax correctness. If\navailable in the development environment, run static lint checks:\n\n```bash\nruff check {target_dag_file} --select AIR30\n```\n\nResolve any reported deprecation warnings before finalization. If ruff is not\navailable, recommend installing one.\n\n### 4.2 Deployment to MSAA\n\n#### 4.2.1 Get Target GCS Bucket Path (only when requested)\n\n```bash\ngcloud composer environments describe \u003CTARGET_ENV> \\\n    --location \u003CTARGET_REGION> \\\n    --format=\"value(config.dagGcsPrefix)\"\n```\n\n*Expected Output:* `gs:\u002F\u002F\u003Ctarget-bucket-name>\u002Fdags`\n\n### 4.2 Upload Modified DAGs and Bucket Dependencies (Only when requested)\n\n*Perform this step only if explicitly requested to do so.* Copy the modified\nDAGs and any backed-up bucket dependencies from your local workspace to the\ntarget GCS bucket. *If you skipped the inspection step, ensure you have the\ncorrect `\u003Ctarget-bucket-name>`.*\n\n1.  **Upload DAGs:**\n\n    ```bash\n    gcloud storage cp -r .\u002Fdags\u002F* gs:\u002F\u002F\u003Ctarget-bucket-name>\u002Fdags\u002F\n    ```\n\n2.  **Upload Other Bucket Dependencies (If applicable):**\n\n    ```bash\n    gcloud storage cp -r .\u002Fmigration_workspace\u002F\u003Cdependency-folder> gs:\u002F\u002F\u003Ctarget-bucket-name>\u002F\u003Cdependency-folder>\n    ```\n\n### 4.3 Verify DAGs via Airflow CLI\n\n*Perform this step only if explicitly requested to upload modified DAGS to a\ntarget environment (and after uploading).*\n\nYou can verify that your DAGs have been successfully uploaded, parsed, and\nregistered by the Airflow scheduler in the target environment using the Airflow\nCLI.\n\n1.  **List Registered DAGs:** Run the following command to list all DAGs\n    registered in the target environment. Verify that your migrated DAGs appear\n    in this list.\n\n    ```bash\n    gcloud composer environments run \u003CTARGET_ENV> \\\n        --location \u003CTARGET_REGION> \\\n        dags list\n    ```\n\n2.  **Check for Import Errors:** If some DAGs are missing from the list, or to\n    ensure there are no parsing issues, check for import errors:\n\n    ```bash\n    gcloud composer environments run \u003CTARGET_ENV> \\\n        --location \u003CTARGET_REGION> \\\n        dags list-import-errors\n    ```\n\n    *Expected Output:*\n\n    *   If there are no errors, the command will output `No data found`.\n    *   If there are errors, it will list the file path and the traceback of the\n        error.\n\n*Note: It may take a couple of minutes for the Airflow scheduler to parse the\nnew files and for changes to reflect in these commands.*\n\n### 4.4 Verify in Cloud Logging\n\n*Perform this step only if explicitly requested to upload modified DAGS to a\ntarget environment (and after uploading).* Monitor Cloud Logging for the target\nenvironment to detect any runtime errors or import errors.\n\nRun the following query in the **GCP Cloud Logging Console** (or via `gcloud\nlogging read`):\n\n```query\nresource.type=\"cloud_composer_environment\"\nresource.labels.environment_name=\"\u003CTARGET_ENV>\"\nlog_id(\"airflow-scheduler\")\nseverity>=ERROR\n```\n\n--------------------------------------------------------------------------------\n\n## Appendix: Local Environment Verification\n\nIf you want to verify your changes locally before deploying to the target\nenvironment, you can use the Composer Local Development CLI tool\n(`composer-dev`). Use references\u002Flocal-development-environment.md as a reference\nfor interactions with local development environments.\n","# Managed Service for Apache Airflow (formerly Cloud Composer) Migration Guide\n\nThis skill guides you through the process of adjusting Airflow DAGs from an\nexisting Managed Service for Apache Airflow (formerly Cloud Composer)\nenvironment (or available locally) to make them compatible with **Airflow\n2.11.1** (MSAA Gen 2 or 3) or **Airflow 3** (MSAA Gen 3).\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Discovery & Download\n\nBefore making any changes, download the existing DAG files if explicitly\nrequested. Inspect the source environment to confirm source version only if\nexplicitly requested. For detailed instructions about environment inspection and\ndownloading files check references\u002Fenvironment-inspection.md.\n\n--------------------------------------------------------------------------------\n\n## Phase 2: Target Version & Dependency Mapping\n\n### 2.1 Airflow 2.11.1+ Dependency Mapping\n\nIf migrating to Airflow 2.11.1 (MSAA Gen 2) or Airflow 3, use the list below to\ntrace the version progression of key dependencies. The list covers changes\nneeded to get to Airflow 2.11.1. Take them into account when migrating from\nAirflow 2 (earlier than 2.11.1) to Airflow 3.\n\n### Composer 2.10.0 (Airflow 2.10.2)\n\n-   **Google Provider**: `10.26.0`\n-   **SSH Provider**: `3.14.0`\n-   **HTTP Provider**: `4.13.3`\n-   **Breaking Changes**: *Baseline for oldest fully documented source.*\n\n### Composer 2.15.3 (Airflow 2.10.5)\n\n-   **Google Provider**: `18.0.0`\n-   **SSH Provider**: `4.1.4`\n-   **HTTP Provider**: `5.3.4`\n-   **Breaking Changes**:\n    -   **SSH Provider 4.0.0:** Hook `timeout` removed; `get_conn()` context\n        manager.\n    -   **HTTP Provider 5.0.0:** `SimpleHttpOperator` -> `HttpOperator`.\n    -   **Google Provider 11.0.0:** `BigQueryExecuteQueryOperator` removed.\n    -   **Google Provider 12.0.0:** Legacy Data Pipeline operators removed.\n    -   **Google Provider 13.0.0:** `AutoMLBatchPredictOperator` removed.\n    -   **Google Provider 17.0.0:** `BigQueryCreateEmptyTableOperator` and\n        `BigQueryCreateExternalTableOperator` removed; Life Sciences operators\n        removed.\n    -   **Google Provider 18.0.0:** Legacy DV360 operators removed.\n\n### Composer 2.16.1 (Airflow 2.10.5)\n\n-   **Google Provider**: `19.0.0`\n-   **SSH Provider**: `4.1.6`\n-   **HTTP Provider**: `5.5.0`\n-   **Breaking Changes**: **Google Provider 19.0.0:** AutoML operators removed\n    (use Vertex AI).\n\n### Composer 2.17.0 (Target Airflow 2.11.1)\n\n-   **Google Provider**: **`20.0.0`**\n-   **SSH Provider**: **`5.0.0`**\n-   **HTTP Provider**: **`6.0.2`**\n-   **Breaking Changes**:\n    -   **SSH Provider 5.0.0:** `sshtunnel` removed (native tunneling).\n    -   **HTTP Provider 6.0.0:** JSON serialization.\n    -   **Google Provider 20.0.0:** ADLS Gen2 migration.\n\n### 2.2 Airflow 3 Migration\n\nIf migrating to Airflow 3 (MSAA Gen 3), note that this is a major version\nupgrade with significant changes, including:\n\n*   Decoupled Task SDK (imports change from `airflow` to `airflow.sdk`).\n*   Removal of direct metadata DB access.\n*   Renaming of `Dataset` to `Asset`.\n*   Removal of SubDAGs and SLAs.\n*   Changes to context variables availability.\n\nTake into account all applicable changes within Airflow 2 (e.g. when migrating\nfrom Airflow 2.10.2, apply changes needed to move to Airflow 2.11.1 and Airflow\n3 migration changes on top of that).\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Analysis & Remediation (Scanning Downloaded Files)\n\nRun the scan commands from the root of your local workspace\n(`.\u002Fmigration_workspace` unless indicated otherwise).\n\n--------------------------------------------------------------------------------\n\n### 3.1 Airflow 2.11.1 Core & Dependency checks\n\nUse these scans if migrating to Airflow 2.11.1+ (intermediate step when\nmigrating to Airflow 3).\n\n#### 3.1.1 Dataset Scheduling (Airflow 2.11.0)\n\n*   **Change:** DAGs scheduled on datasets only trigger if events occur while\n    the DAG is unpaused.\n*   **Scan Command:** `grep -rn \"Dataset(\" .\u002Fdags`\n*   **Remediation:** You MUST document that these DAGs must remain unpaused to\n    catch events, or plan manual triggers for catch-up.\n\n#### 3.1.2 HTML in Descriptions (Airflow 2.11.0)\n\n*   **Change:** Raw HTML in DAG docs\u002Fparams is escaped by default.\n*   **Scan Command:**\n\n    ```bash\n    grep -rn -E \"doc_md.*\u003C|doc_md.*>|description.*\u003C|description.*>\" .\u002Fdags\n    ```\n\n*   **Remediation:** Convert HTML to Markdown, or set\n    `AIRFLOW__WEBSERVER__ALLOW_RAW_HTML_DESCRIPTIONS=True` in target.\n\n#### 3.1.3 Teardown Tasks (Airflow 2.10.5)\n\n*   **Change:** Teardowns always run when a DAG is marked failed.\n*   **Scan Command:** `grep -rn \"as_teardown\" .\u002Fdags`\n*   **Remediation:** Ensure teardown tasks are idempotent.\n\n#### 3.1.4 Pendulum 3 Upgrade (Airflow 2.11.0)\n\n*   **Change:** `Period` renamed to `Interval`, testing helpers removed.\n*   **Scan Command (Code):**\n\n    ```bash\n    grep -rn -E \"pendulum\\.Period|pendulum\\.period\" .\u002Fdags\n    ```\n\n*   **Scan Command (Tests):**\n\n    ```bash\n    grep -rn -E \"\\.test\\(|set_test_now\\(\" .\u002Ftests 2>\u002Fdev\u002Fnull || true\n    ```\n\n*   **Remediation:** Replace `Period` with `Interval`, and `period(...)` with\n    `interval(...)`.\n\n--------------------------------------------------------------------------------\n\n### 3.2 Path A: Airflow 2.11.1 Provider Package Scan\n\n#### 3.2.1 SSH Provider (SSH 4.0.0 & 5.0.0)\n\n*   **Scan Command (Timeout):** `grep -rn \"SSHHook\" .\u002Fdags | grep \"timeout\"`\n*   **Scan Command (Context Manager):** `grep -rn \"with SSHHook\" .\u002Fdags`\n*   **Scan Command (Tunnel Attributes):** `grep -rn \"\\.get_tunnel\" .\u002Fdags`\n*   **Remediation:**\n    *   Replace `timeout` with `conn_timeout` in `SSHHook`.\n    *   Replace `with hook as conn:` with `with hook.get_conn() as conn:`.\n    *   Use `get_tunnel()` as context manager: `with hook.get_tunnel(...) as\n        tunnel:`.\n\n#### 3.2.2 HTTP Provider (HTTP 5.0.0 & 6.0.0)\n\n*   **Scan Command:** `grep -rn \"SimpleHttpOperator\" .\u002Fdags`\n*   **Remediation:** Replace `SimpleHttpOperator` with `HttpOperator`.\n\n#### 3.2.3 Google Provider (v11 to v20)\n\n*   **Scan Command (BigQuery query):**\n\n    ```bash\n    grep -rn \"BigQueryExecuteQueryOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with `BigQueryInsertJobOperator` (use\n        `configuration` dict).\n*   **Scan Command (BigQuery table):**\n\n    ```bash\n    grep -rn -E \"BigQueryCreateEmptyTableOperator|BigQueryCreateExternalTableOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with `BigQueryCreateTableOperator` (use\n        `table_resource` dict).\n*   **Scan Command (AutoML):**\n\n    ```bash\n    grep -rn -E \"AutoMLTrainModelOperator|AutoMLPredictOperator|AutoMLCreateDatasetOperator|AutoMLBatchPredictOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Migrate to Vertex AI operators.\n*   **Scan Command (Dataflow):**\n\n    ```bash\n    grep -rn -E \"CreateDataPipelineOperator|RunDataPipelineOperator\" .\u002Fdags\n    ```\n\n    *   *Remediation:* Replace with\n        `DataflowCreatePipelineOperator`\u002F`DataflowRunPipelineOperator`.\n*   **Scan Command (Life Sciences):**\n\n    ```bash\n    grep -rn \"LifeSciencesRunPipelineOperator\" .\u002Fdags`\n    ```\n\n    *   *Remediation:* Migrate to Google Cloud Batch operators\n        (`BatchCreateJobOperator`).\n*   **Scan Command (ADLS to GCS):** `grep -rn \"ADLSToGCSOperator\" .\u002Fdags`\n    *   *Remediation:* Ensure `file_system_name` is provided.\n\n--------------------------------------------------------------------------------\n\n### 3.3 Airflow 3 Migration checks\n\nUse instructions from references\u002Fairflow-3.md when migrating to Airflow 3.\n\n--------------------------------------------------------------------------------\n\n## Phase 4: Deployment & Verification\n\n*Perform deployment and verification steps only if explicitly requested to do\nso.*\n\n### 4.1 Static Verification (when migrating to Airflow 3)\n\nAfter applying code changes for Airflow 3, verify syntax correctness. If\navailable in the development environment, run static lint checks:\n\n```bash\nruff check {target_dag_file} --select AIR30\n```\n\nResolve any reported deprecation warnings before finalization. If ruff is not\navailable, recommend installing one.\n\n### 4.2 Deployment to MSAA\n\n#### 4.2.1 Get Target GCS Bucket Path (only when requested)\n\n```bash\ngcloud composer environments describe \u003CTARGET_ENV> \\\n    --location \u003CTARGET_REGION> \\\n    --format=\"value(config.dagGcsPrefix)\"\n```\n\n*Expected Output:* `gs:\u002F\u002F\u003Ctarget-bucket-name>\u002Fdags`\n\n### 4.2 Upload Modified DAGs and Bucket Dependencies (Only when requested)\n\n*Perform this step only if explicitly requested to do so.* Copy the modified\nDAGs and any backed-up bucket dependencies from your local workspace to the\ntarget GCS bucket. *If you skipped the inspection step, ensure you have the\ncorrect `\u003Ctarget-bucket-name>`.*\n\n1.  **Upload DAGs:**\n\n    ```bash\n    gcloud storage cp -r .\u002Fdags\u002F* gs:\u002F\u002F\u003Ctarget-bucket-name>\u002Fdags\u002F\n    ```\n\n2.  **Upload Other Bucket Dependencies (If applicable):**\n\n    ```bash\n    gcloud storage cp -r .\u002Fmigration_workspace\u002F\u003Cdependency-folder> gs:\u002F\u002F\u003Ctarget-bucket-name>\u002F\u003Cdependency-folder>\n    ```\n\n### 4.3 Verify DAGs via Airflow CLI\n\n*Perform this step only if explicitly requested to upload modified DAGS to a\ntarget environment (and after uploading).*\n\nYou can verify that your DAGs have been successfully uploaded, parsed, and\nregistered by the Airflow scheduler in the target environment using the Airflow\nCLI.\n\n1.  **List Registered DAGs:** Run the following command to list all DAGs\n    registered in the target environment. Verify that your migrated DAGs appear\n    in this list.\n\n    ```bash\n    gcloud composer environments run \u003CTARGET_ENV> \\\n        --location \u003CTARGET_REGION> \\\n        dags list\n    ```\n\n2.  **Check for Import Errors:** If some DAGs are missing from the list, or to\n    ensure there are no parsing issues, check for import errors:\n\n    ```bash\n    gcloud composer environments run \u003CTARGET_ENV> \\\n        --location \u003CTARGET_REGION> \\\n        dags list-import-errors\n    ```\n\n    *Expected Output:*\n\n    *   If there are no errors, the command will output `No data found`.\n    *   If there are errors, it will list the file path and the traceback of the\n        error.\n\n*Note: It may take a couple of minutes for the Airflow scheduler to parse the\nnew files and for changes to reflect in these commands.*\n\n### 4.4 Verify in Cloud Logging\n\n*Perform this step only if explicitly requested to upload modified DAGS to a\ntarget environment (and after uploading).* Monitor Cloud Logging for the target\nenvironment to detect any runtime errors or import errors.\n\nRun the following query in the **GCP Cloud Logging Console** (or via `gcloud\nlogging read`):\n\n```query\nresource.type=\"cloud_composer_environment\"\nresource.labels.environment_name=\"\u003CTARGET_ENV>\"\nlog_id(\"airflow-scheduler\")\nseverity>=ERROR\n```\n\n--------------------------------------------------------------------------------\n\n## Appendix: Local Environment Verification\n\nIf you want to verify your changes locally before deploying to the target\nenvironment, you can use the Composer Local Development CLI tool\n(`composer-dev`). Use references\u002Flocal-development-environment.md as a reference\nfor interactions with local development environments.\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24,"publisher":25},"v1","google","main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Fgcp_managed_airflow_migrations",0,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker","https:\u002F\u002Fnguyenhungtran18.github.io\u002Fskill-and-tool-tracker\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18","2026-08-31 18:36:09",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gcp-managed-airflow-migrations",{"tool":40,"command":41},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gcp-managed-airflow-migrations",{"tool":43,"command":44},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gcp-managed-airflow-migrations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgcp_managed_airflow_migrations\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fairflow-3.md","REFERENCE","参考文档",8141,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgcp_managed_airflow_migrations\u002Freferences\u002Fairflow-3.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fenvironment-inspection.md",2985,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgcp_managed_airflow_migrations\u002Freferences\u002Fenvironment-inspection.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Flocal-development-environment.md",919,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgcp_managed_airflow_migrations\u002Freferences\u002Flocal-development-environment.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7BVP4P83TK60JZ4P8RP9VP7","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","MIT","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fxcode_project_setup\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7BVP01K4CSJJ8G90FT8S2D5","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7BVNY22GXD871GYTSH599F1","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7BVNQWF24RNKA8A4KM2HJ3T","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7BVNNY67XPCQAQHY3FBKDGC","verify-and-stop","Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverify-and-stop\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7BVNKB4Z7SZT85B73ZZ90Y6","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[]]