Skip to content

Git info retrieval can stall in CI with full history + treeless checkout #1247

@ChrisSargent

Description

@ChrisSargent

Summary

In our GitHub Actions CI, Chromatic v15 stalls during git metadata retrieval only when using treeless partial checkout. The same commit/config completes locally and in CI runs without treeless checkout.

Environment

  • Chromatic CLI/Action: v15.2.0 (chromaui/action pinned to v15.2.0 SHA)
  • Repo: large Nx monorepo
  • CI checkout settings where we can reproduce stalls:
    • fetch-depth: 0
    • filter: tree:0 (treeless partial clone)

Repro notes

  • With filter: tree:0 enabled, Deploy & Test: Chromatic can stall for 30+ minutes during git-info retrieval.
  • Without treeless checkout (filter removed), the same workflow proceeds normally (but checkout time increases significantly).
  • Local run with debug enabled (yarn nx run fe-storybook:chromatic) completes successfully and does not hang.

Question

Is this a known interaction between Chromatic's git-history probing and treeless partial clones in CI?

If useful, we can provide additional sanitized debug logs from both CI and local runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions