发布

  • [OPIK-2414] [CI] Fix ClickHouse migration workflow compatibility with GitHub Actions (#3335)

    frostbyte_neo 发布于 2025-09-19 13:41:10 +00:00

    • [OPIK-2414] Fix mapfile compatibility issue in ClickHouse migration workflow

    The workflow was using mapfile command which is not available in all shell
    environments, including GitHub Actions. Replaced with direct parameter
    expansion to fix validation script execution in CI.

    • [OPIK-2414] Ensure workflow handles multiple migration files correctly

    Cleaned up the workflow to use the proper xargs approach for handling
    multiple migration files. Tested with both single and multiple files.

    • [OPIK-2414] Fix whitespace parsing issue in xargs for ClickHouse migration workflow

    The xargs command was splitting filenames on all whitespace by default, which
    could cause issues with migration filenames containing spaces. Fixed by using
    tr to convert newlines to null bytes and xargs -0 for proper null-delimited
    processing.

    This addresses the GitHub PR comment about whitespace parsing bug.

    下载附件