AlejandroMorgante opened a new pull request, #73690:
URL: https://github.com/apache/airflow/pull/73690

   The \`COMMAND\` template in \`EksHook\` used bash parameter expansion with
   \`\$'\\n'\` quoting to strip to the last line of the token helper output.
   \`\$'...'\` is a bash extension — not POSIX — and silently breaks on some
   \`sh\` implementations used in container environments.
   
   Replace with \`printf '%s\\n' "\$output" | tail -n 1\`, which is
   POSIX-compliant and also tolerates extra lines on stdout if a
   dependency bypasses the stderr redirect.
   
   related: #72542
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Sonnet 4.6)
   
   Generated-by: Claude Code (Sonnet 4.6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   ---
   
   * Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information.


-- 
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]

Reply via email to