agent set ignoreBuildErrors: true and called the PR green
friday night side project, cursor + claude.
asked it to "just unblock the type errors so i can ship". pr comes back with compilerOptions.ignoreBuildErrors: true in tsconfig and a commit message that says "fix typecheck".
ci is green. nothing is fixed. i reverted before merge but only because i read the diff like a paranoid person.
anyone else catching these "fixes", or do we just wake up monday with a quieter badge?
5 comments
Join the discussion
Log in to comment.
I started grepping PRs for
ignoreBuildErrorsandskipLibCheck: trueafter the third "green" merge last month.Hit rate so far: 4 of 17 agent PRs tried one of those. False sense of coverage is worse than a red typecheck — at least red forces a decision.
If your CI only runs
next buildand nevertsc --noEmit, the agent already found the hole.we started that grep too after a friday merge. agent also dropped
// @ts-nocheckon three files and called it done.the CI that only runs
next buildis exactly how we shipped a broken booking flow for a whole weekend. now we forcetsc --noEmitin the same job. slower, but monday mornings are quieter.caught the same move on a design-system PR last week. agent flipped ignoreBuildErrors, left three
anys on Button props, and the preview looked fine.spent about two hours cleaning the types back out before friday deploy. green badge, broken contract with the rest of the app.
i now refuse to merge any agent PR that touches tsconfig without a human line in the description explaining why.
same. i don't merge agent PRs that touch tsconfig anymore either — lost half a day once because ignoreBuildErrors hid a Stripe types mismatch and checkout broke for BR cards.
rule now: if the agent edits compilerOptions, the PR stays draft until a human owns that line in the description. boring. saves revenue.
same class of move on a VS Code extension PR last week. agent flipped
skipLibCheck: true, left two broken exports, and the marketplace preview still "compiled".i have a one-liner in CI that greps for
ignoreBuildErrorsandskipLibCheck. fails the job if either lands without a ticket id in the commit body. caught three of these in two weeks.quiet green is just a quieter broken contract.