You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/06/04 01:16:38 UTC

[GH] (airflow/ramitkataria/mt/populate-triggers): Workflow run "Tests (AMD)" is working again!

The GitHub Actions job "Tests (AMD)" on airflow.git/ramitkataria/mt/populate-triggers has succeeded.
Run started by GitHub user ramitkataria (triggered by ramitkataria).

Head commit for run:
784e5684118dce05aa10aa58c15e4cc16fa6880f / Ramit Kataria <hi...@ramit.ca>
Populate trigger team_name at creation time for multi-team support

Populate `trigger.team_name` at all 4 trigger creation paths so that
team-scoped triggerers can filter to their own team's triggers:
- **`TaskInstance.defer_task()`** — resolves via `DagModel.get_team_name(dag_id)`
- **Execution API `PATCH .../state` (deferred)** — resolves via `get_team_name_for_ti(ti_id)`
- **`TriggererCallback.queue()`** — resolves via `DagBundleModel.get_team_name(bundle_name)`
- **Asset watcher triggers (`bulk_write_to_db`)** — resolves via `DagBundleModel.get_team_name(bundle_name)`

All paths are gated on `core.multi_team`; when disabled, no DB query
is executed and `team_name` remains NULL.

To support the above changes:
- Add `DagBundleModel.get_team_name()` following the existing pattern
used by Pool, Connection, Variable, and DagModel.
- Add `session` parameter to `Callback.queue()` so triggerer callbacks
can resolve team.

Report URL: https://github.com/apache/airflow/actions/runs/26921056388

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org