frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you vibe code in microservices without breaking everything?

4•qbacode•1h ago
We had an AI agent rename a field in one service last week. Three other services broke in production. Nobody caught it in review because the dependencies aren't in the code, they're in someone's head.

My company is pushing us to ship more with fewer devs, we all use Claude Code. And it's amazing for velocity within a single service. But microservices? It's like giving a chainsaw to someone who can't see the walls. AI moves way faster than your team's ability to trace what depends on what.

How are you dealing with this? Or is everyone just praying between deploys?

Comments

JoshTriplett•1h ago
You don't. This is the kind of problem created by vibe coding.

Escalate upwards, challenge the policy, cite this as an example. Also cite things like https://arxiv.org/abs/2511.04427 : "transient increase in project-level development velocity, along with a substantial and persistent increase in static analysis warnings and code complexity".

If the policy doesn't change, find a new company.

Now, all that said: it would also be a good idea to have better testing infrastructure that actually tests the services in concert and not just individually. That testing infrastructure will be useful for the humans who take over from the vibe coding and start cleaning up the mess.

qbacode•58m ago
Do you know of any infrastructure that helps with this, or do we have to build something like this ourselves?
aavci•1h ago
"Nobody caught it in review" and "they're in someone's head" sound like issues to work on.

Some todos that come to my mind:

- Review more thoroughly.

- 'Vibe code' some unit tests

- Document and communicate the things that are in team members heads that should be openly shared

qbacode•56m ago
- Review more thoroughly -> easier said than done if you want to keep velocity - 'Vibe code' some unit tests -> yep, we do that - Document and communicate the things that are in people's heads -> agreed, that's the hard part in practice :/
mrothroc•19m ago
I do this across several different codebases, all event-driven microservices. Some greenfield some brownfield.

My strategy is to have a central spec, typically protobuf or openapi, and every service has a make target to generate code from that. The dependencies stop being in someone's head and start being in the spec. I had this pattern long before coding agents because it helps human devs, too.

The benefit is that my CI process can deterministically check if a) someone changed the spec or b) the service code doesn't compile or lint when built against the freshly generated code. This is a hard, enforced gate. If it fails, either it needs manual review or it gets sent back to the coding agent to fix automatically, so humans don't waste time looking at trivial issues.

The agents can move as fast as they want within a single service. The spec gate catches cross-service breakage before it deploys.

The Government Surveillance Reform Act of 2026 [pdf]

https://www.wyden.senate.gov/imo/media/doc/government_surveillance_reform_act_of_2026pdf.pdf
1•jesseendahl•24s ago•0 comments

Section 230's Application to Account Terminations, CSAM, and More

https://blog.ericgoldman.org/archives/2026/03/section-230s-application-to-account-terminations-cs...
1•hn_acker•3m ago•0 comments

Is Using Airplane Mode on Flights Still Necessary?

https://www.insidehook.com/travel/airplane-mode-still-necessary
1•RickJWagner•3m ago•0 comments

Preventing agent drift: A guide to shipping serious code via vibe-coding

1•surajkrajan•4m ago•0 comments

Ask HN: How could a Starlink IPO possibly work?

2•infinitewars•4m ago•0 comments

We're writing agent grammar before the language exists

https://mvrckhckr.com/articles/were-writing-grammar-before-the-language-exists
1•mvrckhckr•6m ago•0 comments

The new economics of sex work

https://www.economist.com/finance-and-economics/2026/03/19/the-new-economics-of-sex-work
1•thunderbong•6m ago•0 comments

Show HN: Revspec – Review AI specs in the terminal with live AI replies

https://github.com/icyrainz/revspec-py
1•icyrainz•7m ago•0 comments

Composer 2

https://cursor.com/blog/composer-2
2•meetpateltech•10m ago•0 comments

Vivaldi 7.8 Is Here

https://vivaldi.com/blog/vivaldi-on-desktop-7-8/
1•andhuman•11m ago•0 comments

Pentagon asks for $200bn for Iran War

https://www.bloomberg.com/news/articles/2026-03-19/hegseth-says-iran-war-not-becoming-a-forever-w...
6•master_crab•13m ago•0 comments

Mastering the Spreadsheet of Everything

https://spreadsheetofeverything.com/
1•teleforce•14m ago•0 comments

Britain's geospatial data is a mess

https://takes.jamesomalley.co.uk/p/britains-geospatial-data-is-a-mess
2•DamonHD•15m ago•1 comments

Show HN: Dual-API Bash Weather CLI for Waybar and Hyprland (Wttr.in+Open-Meteo)

https://github.com/jimishol/weather-cli-dualprovider
2•jimishol•16m ago•0 comments

Physicists create formula for how many times you can fold a crêpe

https://www.newscientist.com/article/2519634-physicists-create-formula-for-how-many-times-you-can...
1•Brajeshwar•16m ago•0 comments

Decoded: GNU Coreutils (2019)

https://www.maizure.org/projects/decoded-gnu-coreutils/
1•csmantle•16m ago•0 comments

Using Rust and Postgres for everything: patterns learned over the years

https://kerkour.com/rust-postgres-everything
2•randomint64•16m ago•0 comments

Counter-Strike 2's new reload system could upend the game

https://arstechnica.com/gaming/2026/03/after-25-years-valve-reworks-counter-strikes-reload-system/
1•Tomte•16m ago•0 comments

Startup's agent hacked McKinsey AI – exposing volumes of sensitive data

https://www.thestack.technology/mckinsey-ai-agent-hacked-lilli/
1•gcanyon•17m ago•1 comments

The Hegseth Doctrine? Military-Academic De-Coupling Competition

https://www.lawfaremedia.org/article/the-hegseth-doctrine--military-academic-de-coupling-competition
2•hn_acker•19m ago•0 comments

DC Traffic Camera Ban Passes a Committee Vote in the House

https://washingtonian.com/2026/03/19/dc-traffic-camera-ban-passes-a-committee-vote-in-the-house/
4•cuuupid•20m ago•1 comments

How Google Maps is shaping where we eat [video]

https://www.theguardian.com/world/video/2026/mar/19/how-google-maps-is-shaping-where-we-eat-video
2•mykowebhn•21m ago•0 comments

Show HN: 3 AI agent trust systems cross-verified each other's delegation chains

https://github.com/kanoniv/agent-auth/issues/2
1•dreynow•22m ago•0 comments

Anthropic Major Outage

https://status.claude.com/incidents/bf1hsq5gbm9b
4•hmokiguess•23m ago•2 comments

World Happiness Report 2026

https://www.worldhappiness.report/ed/2026/
1•ChrisArchitect•23m ago•0 comments

Integrated Gauges: Lessons Learned Monitoring Seastar's IO Stack

https://www.scylladb.com/2026/03/17/integrated-gauges-lessons-learned-monitoring-seastars-io-stack/
1•cyndunlop•23m ago•0 comments

Show HN: Import Your AI Memory into ContextForge

https://contextforge.dev/blog/import-your-ai-memory-into-contextforge-claude-code-chatgpt-and-kno...
1•alfredoizjr•24m ago•0 comments

A Kaggle Grandmaster Tries to Semi-Automate Himself

https://github.com/ledmaster/ml-mania-2026
2•mariofilho•26m ago•0 comments

Self Host Everything

https://gary.onl/self-host-everything/
1•speckx•29m ago•0 comments

UniFi AirWire

https://blog.ui.com/article/introducing-airwire
2•strongpigeon•29m ago•0 comments