jason810496 opened a new pull request, #70076: URL: https://github.com/apache/airflow/pull/70076
- related: https://github.com/apache/airflow/pull/69302#discussion_r3608252730 ## Why The Lang-SDK contributor doc describes the `--comm`/`--logs` socket handshake but never explains that a subprocess's logger can already be active before the `--logs` socket connects, so new Language SDK implementers have no guidance that early records need to be buffered rather than dropped. ## What - Add a "Task subprocess lifecycle" subsection to `contributing-docs/30_new_language_sdk.rst`, with a diagram of the four lifecycle stages from subprocess start to log forwarding. - Add a paragraph to the existing "Logging" subsection requiring implementers to buffer log records produced before the `--logs` socket connects and flush them once it does, matching what the Go SDK and Java SDK already do. --- ##### Was generative AI tooling used to co-author this PR? - [x] Yes, with help of Claude Code Sonnet 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]
