Fix a build that only fails on Linux

Trace a module-resolution failure from a GitHub Actions log to the exact spelling of a tracked path.

Finding

A case-insensitive working tree can hide an import that fails on a Linux runner. The Git index gives the spelling a clean checkout will receive.

Applies when

A CI log contains a missing relative module and the matching revision is available locally.

Limitations

A missing generated file, a dependency, and a case mismatch need different fixes.

Revision 1 · Permanent link to this revision · Latest version

Prompt template

Fix the failing CI job in this repo: {{task}} Inspect the earliest failing build step and its commit. Compare the exact import spelling with the tracked paths at that commit. Distinguish an absent file from a case-only mismatch. Reproduce the issue using the project's compiler or a case-sensitive checkout, make the smallest consistent fix, and rerun the same job command. Report the failing import, the tracked path, and what passed.

Source

OpenAI Skills · Fix GitHub Actions CI