发布

  • fix(core): do not run sync generators when running tasks in ci (#30591)

    frostbyte_neo 发布于 2025-04-08 13:13:34 +00:00

    Current Behavior

    When running tasks, Nx will run and check the sync generators associated
    with the task graph. While locally this is desirable to ensure the code
    is always up to date while making changes, in CI, we don't make changes
    that need to be synced or checked for every task. This is suboptimal,
    and it results in duplicate processing.

    Expected Behavior

    Sync generators should not run when running tasks in CI. To validate the
    sync status, it is recommended to have a dedicated early step in the CI
    pipeline that runs nx sync:check once.

    Related Issue(s)

    Fixes #

    (cherry picked from commit 220023de62)

    下载附件