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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to