jason810496 opened a new pull request, #77582: URL: https://github.com/apache/airflow/pull/77582
These ADRs set the design of the Dag authoring interfaces for assets, asset events and timetables in the TypeScript, Go and Java SDKs, and the core changes those interfaces need. - [Core ADR-0019](https://github.com/jason810496/airflow/blob/feature/lang-sdk/assets-authoring-adr/airflow-core/adr/lang-sdk/0019-assets-and-timetables-across-lang-sdks.md): the contract every SDK shares, the flows, and the core changes. - [TypeScript ADR-0004](https://github.com/jason810496/airflow/blob/feature/lang-sdk/assets-authoring-adr/ts-sdk/adr/0004-assets-and-timetables-authoring-interface.md), [Go ADR-0010](https://github.com/jason810496/airflow/blob/feature/lang-sdk/assets-authoring-adr/go-sdk/adr/0010-assets-and-timetables-authoring-interface.md) and [Java ADR-0004](https://github.com/jason810496/airflow/blob/feature/lang-sdk/assets-authoring-adr/java-sdk/adr/0004-assets-and-timetables-authoring-interface.md): each SDK's signatures, with an example of every syntax. Common layer decisions: - The per-task XCom backend process becomes a Python sidecar process. It runs every Python step of a Lang SDK task that involves user code or provider code, starting with the XCom backend and asset URI normalization. - Each SDK gets a `python` module as its public interface for referring to Python objects. It is the escape hatch for provider and plugin timetables, partition mappers and triggers that have no typed builder. Core changes: - The Lang SDK Dag processor normalizes and validates assets the way Python's `Asset` does, and fills the `batch_asset_events` default and the asset `dag_dependencies`. - The supervisor normalizes the asset URIs a Lang SDK runtime sends, in the Python sidecar, so provider code runs in neither the supervisor nor the API server. - CI fixtures generated from Python's encoders check that each SDK's builders produce the same serialized form as Python. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Opus 5.5) 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]
