The GitHub Actions job "Tests" on airflow.git/fix-logs-parse-streaming-content-type-error has succeeded. Run started by GitHub user feluelle (triggered by feluelle).
Head commit for run: b771cdc49481149bd1cb55e9a81f49cfc4c5d527 / Felix Uellendall <[email protected]> Fix TypeError in parseStreamingLogContent for non-string data The function would fail with 'TypeError: content.split is not a function' when data was not a string but also didn't have a content property. Changes: - Add type guard to check if data is string before calling .split() - Add support for single log line objects (return as array) - Simplify logic with early returns for clearer flow - Add comprehensive test suite covering all edge cases The function now handles: 1. Data with content property (returns as-is) 2. String data (parses as newline-separated JSON) 3. Object data without content (returns wrapped in array) 4. Edge cases (undefined, null, numbers, invalid JSON) Report URL: https://github.com/apache/airflow/actions/runs/19366455109 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
