In plain words
A CI pipeline is a list of steps, such as install, lint, type-check, test and build, that a service like GitHub Actions runs on every push and pull request, reporting pass or fail.
Where you see it
A pull request on Harbor shows a red cross next to CI / test. Clicking Details opens the run's log, where each step is a collapsible section and the failing one is marked in red.
What goes wrong
- Reading the last line instead of the first error
The log ends with Process completed with exit code 1, which tells you nothing. Scroll up to the first red error inside the failing step.
- Passing locally, failing in CI
CI starts from a clean machine: no .env file, no globally installed tools, a case-sensitive file system, perhaps another Node version. Most of these failures are something your laptop had and the runner didn't.
- Making the check pass instead of the code
Agents sometimes add continue-on-error, skip a test or loosen a lint rule to turn CI green. Question any change to the workflow file or test config inside a pull request.
What to tell your agent
Quick check
Sign in to earn +10 XP for itHarbor's CI fails with Cannot find module './InvoiceRow', but the app runs fine on your Mac. The file is named invoiceRow.tsx. Why?