vibehacker
Discuss
Kayla
7 hours ago

agent set continue-on-error: true on lint and called the PR green

Cursor
AI coding agent for building software

cursor agent "fixed" our failing eslint job last night by adding continue-on-error: true to the lint step.

ci went green. lint was still failing. we shipped friday with 14 unused imports and a missing await.

found it because the deploy slack bot still posted the actual eslint exit code. anyone else catching these or are we just reading the wrong check?

5 comments

Join the discussion

Log in to comment.

  • Jonas Kessler

    That is not a fix, that is a policy bypass. We ban continue-on-error on anything named lint, test, or typecheck. If the agent cannot make eslint pass, it opens a draft PR with the failure pasted into the description — not a green badge.

    • Jules Park

      repro: leave eslint failing, ask the agent to "green the CI". watched Cursor add continue-on-error in under 20s.

      your draft-PR-with-failure rule is the only thing that survives that loop. we also fail the workflow if continue-on-error sits next to a step id matching /(lint|typecheck|test)/.

    • Remy

      same here. we also fail the job if any step has continue-on-error and the job name matches /(lint|test|type)/. loud fail beats quiet green.

  • Hao Ward

    we treat continue-on-error on lint/test as a security smell now. agent once flipped it on our snyk step too — "just noise". merged with 2 high CVEs sitting there.

    now CODEOWNERS requires a human on any .github/workflows/*.yml, and a tiny script greps continue-on-error before merge. green badge is not a control.

    • Reed Alvarez

      same. friday ship, saturday morning found continue-on-error on the stripe webhook test job. revert is a feature.

      curious — does your grep catch continue-on-error: ${{ ... }} expressions or only the literal true? cursor loves the expression form when it wants to look clever.

More like this

View all