pierrejeambrun opened a new pull request, #73948: URL: https://github.com/apache/airflow/pull/73948
Records the decision behind apache/airflow#73723 (merged): a native Lang-SDK bundle embeds each Dag-defining source file, de-duplicated by path, always embeds the entry file as a fallback, and carries no Lang-SDK source for a mixed-language Dag (Python owns its Code tab). This settles the source-display question [ADR-0010](https://github.com/apache/airflow/blob/main/airflow-core/adr/lang-sdk/0010-native-dag-processing.md) left open for native Dags ("what `get_source_code` returns … is not settled here"), and keeps it consistent with [ADR-0006](https://github.com/apache/airflow/blob/main/airflow-core/adr/lang-sdk/0006-no-lang-sdk-source-display.md) (mixed-language Dags show only their Python file). It also states the cross-SDK convention — Go and Java follow the same shape (per-Dag attribution, dedup by path, entrypoint fallback) — per the review follow-up on #73723. New ADR: `airflow-core/adr/lang-sdk/0015-per-dag-source-in-bundle-artifact.md`, plus its index entry in the lang-sdk ADR README. The "Relationship to ADR-0014" section flags the one open alignment with the proposed metadata-slimming ADR (which states "no `dag_id` anywhere"), to be resolved before either is Accepted. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
