Menu

1 / 2

Dependabot said green. The app was blank. So I made Kane CLI check before it merges

DEV Community: react·Maheswar Sahoo·5 days ago
#4NOwWjWD
#devtoreact#devto#dev#kanecli#kane
Long article (1129 words) — no AI summary yet.
Reading 0:00
15s threshold

Built for the Kane CLI Hackathon by TestMu AI.

I found six public repos where the same thing happened. Dependabot opened a React bump. CI went green: type check, lint, build, and in four of them the deploy itself. The PR merged. The live app was a blank page, and the maintainer had to revert it or fix it by hand.

One of them put it plainly in the revert:

"Format check, lint, typecheck and build stay green, which is why the chain did not catch it."

In all six, the bot raised react and left react-dom behind. React refuses to start when the two differ ( error #527 ), so the bundle throws before the first render. Nothing in a normal CI pipeline opens the app, so nothing sees it. Even npm is happy, because react-dom only asks for ^19 .

A green check on a bot PR means the code builds. It doesn't mean checkout still works.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.