Skip to content

Feature/update dlt and cartage - #308

Merged
noel merged 12 commits into
release/20261105from
feature/update_dlt_and_cartage
Nov 6, 2026
Merged

noel merged 12 commits into
release/20261105from
feature/update_dlt_and_cartage

Conversation

@noel

@noel noel commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Airflow Workflow Status

  • Branch Validation: success
  • Airflow Validations: failure

❌ Airflow validations failed

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Test Warnings Detected:

  • /__w/balboa/balboa/orchestrate/dags/other_examples/bad_variable_usage.py has Variable usage outside @task decorated functions at: [(14, 20)]

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Test Warnings Detected:

Tests Summary:
Total Tests: 126
Passed: 125
Failed: 1

Warnings:
- Unknown config option: env

noel and others added 5 commits November 5, 2026 17:21
- Install Cosmos with the interpreter pytest runs on: the CI image has two
  Pythons, so `python -m pip` installed it where pytest couldn't import it.
- Replace thollander/actions-comment-pull-request (no Node 24 release) with
  marocchino/sticky-pull-request-comment@v3 (comment_tag -> header,
  filePath -> path).
- Bump actions to Node 24 releases: checkout v5, github-script v8,
  github-pages-deploy-action v4, configure-aws-credentials v6,
  github-push-action v1, docker/* v4 (build-push v7), setup-uv v10.3.2
  (pinned exactly: setup-uv no longer publishes major tags).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Test Warnings Detected:

  • /__w/balboa/balboa/orchestrate/dags/other_examples/bad_variable_usage.py has Variable usage outside @task decorated functions at: [(14, 20)]

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor
Tests Summary:
Total Tests: 129
Passed: 129

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🎯 Airflow Workflow Status

  • Branch Validation: success
  • Airflow Validations: success

✅ All Airflow validations passed

noel and others added 2 commits November 5, 2026 17:48
The CI image has two Pythons: plain `python` is a virtualenv without the
Datacoves provider or Fivetran, so test_dags.py logged import errors for
about half the DAGs (and timed only the rest). Save pytest's interpreter as
CI_PYTHON and use it for the load-time step too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- connection_to_env_vars (via set_dlt_env_vars) now returns
  {{ conn.get(...) }} templates instead of reading the connection on every
  DAG parse, which also kept the private key out of the serialized DAG.
  A missing connection now fails the task when env is rendered.
- pytest.ini: drop the env block (needs pytest-env, which the CI image
  lacks; the variables are only read in task-time templates).
- Cosmos example: exclude exposures, which have no Airflow task.
- Install Cosmos: disable pip's cache (owned by the airflow user).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noel
noel merged commit 3278c1b into release/20261105 Nov 6, 2026
5 checks passed
@noel
noel deleted the feature/update_dlt_and_cartage branch November 6, 2026 02:11
noel added a commit that referenced this pull request Nov 6, 2026
* update dlt version, pin snowflake, and generate rfam dag
* fix jinja error on cartage template
* remove the need for DATACOVES__ vars
* use an airflow connection for rfam
* add ci user root
* fix load_dag_bag
* fix validation errors
* fix dags to be compatible with airflow 3
* Fix Cosmos install in Airflow CI and move GitHub Actions to Node 24
* Run the DAG load-time check on the same Python as pytest
* Read dlt connections at task run time and quiet Airflow CI warnings
- connection_to_env_vars (via set_dlt_env_vars) now returns
  {{ conn.get(...) }} templates instead of reading the connection on every
  DAG parse, which also kept the private key out of the serialized DAG.
  A missing connection now fails the task when env is rendered.
- pytest.ini: drop the env block (needs pytest-env, which the CI image
  lacks; the variables are only read in task-time templates).
- Cosmos example: exclude exposures, which have no Airflow task.
- Install Cosmos: disable pip's cache (owned by the airflow user).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant