frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you catch OpenAPI drift before the UI breaks?

1•losalah•1h ago
OpenAPI feels great until it doesn’t.

Our loop is always the same: A UI flow breaks → backend says “spec is outdated” → someone spends 30–60 minutes in Devtools figuring out what the server actually returned → then we argue whether backend/spec/frontend should change.

I want drift to be caught during normal dev/staging usage while clicking through the app. Real traffic, real accounts, real data. Not just CI tests validating what we already expect.

If your team handles this well, what works?

Do you do runtime validation (client/proxy) that logs schema mismatches with enough context to fix fast (operationId, request id, response body/diff)? Gateway enforcement? Contract tests that actually reflect reality? Something else boring but reliable?

Also, what’s the slow part for you when drift happens, mapping to the right operation, getting a repro across envs/accounts, or turning Devtools into a clean ticket/PR?

Comments

ngalaiko•1h ago
by drift, do you mean breaking api changes? if you control the spec, do not allow that / flag them to give clients time to update. there are plenty of tools to catch that, i.e. https://quobix.com/vacuum/commands/change-detection/
losalah•1h ago
By “drift” I don’t just mean breaking changes between spec versions.

I mean the spec and the live API behavior fall out of sync (often because implementation changes land first and the spec lags, or vice-versa). The first time we notice is when a real UI flow breaks and someone has to spelunk Devtools to see what the server actually returned (missing fields, nullability changes, new enum values, shape differences...)

So spec-diff tools like Vacuum help once you’re comparing two OpenAPI files, but my pain is earlierm catching “spec vs reality” from normal dev/staging usage (real accounts + data) and getting an actionable report (which operation, what mismatch, request id/response snippet) before it turns into a broken UI + an hour of debugging.

ngalaiko•32m ago
did you consider using code-generators to make sure spec and implementation are aligned?

openapi is really meant to be either generated from code, or server-code is meant to be generated from openapi spec

Dotkey

https://github.com/cyril/dotkey
1•cyrilllllll•2m ago•0 comments

Iran acquired facial recognition technology through Russian company

https://www.lemonde.fr/en/investigations/article/2026/03/04/how-iran-secretly-acquired-facial-rec...
1•zczc•2m ago•0 comments

Package managers need to cool down

https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html
2•jamietanna•5m ago•0 comments

Evolving Typst

https://laurmaedje.github.io/posts/evolving-typst/
2•birdculture•10m ago•0 comments

Jane Colden: Naming the Living World

https://worldsensorium.com/jane-colden/
1•dnetesn•10m ago•0 comments

Object-Oriented Programming: Themes and Variations

https://ojs.aaai.org/aimagazine/index.php/aimagazine/article/download/508/444
1•todsacerdoti•12m ago•0 comments

I found a legit uncensored Sora/Runway alternative for AI video (unbound.video)

https://unbound.video
1•gabrieln•13m ago•1 comments

Show HN: We built a zero-webhook Merchant of Record for SaaS

https://www.kelviq.com/
2•alokdubey007•14m ago•0 comments

Cross-Lingual News Dedup at $100/Month – Embeddings, Pgvector, and UnionFind

https://yingjiezhao.com/en/articles/Cross-Lingual-News-Dedup-at-100-Dollar-a-Month/
1•ethan_zhao•14m ago•1 comments

Show HN: Chase – Automated invoice follow-up emails for freelancers

https://chase.allonys.com
1•Cvexperts•17m ago•0 comments

Show HN: SynthesisOS – A local-first, agentic desktop layer built in Rust

https://github.com/GastonGelhorn/synthesis-os
1•synthesis_dev•19m ago•1 comments

Introducing: Build Awesome

https://blogfontawesome.wpcomstaging.com/introducing-build-awesome-static-site-platform-kickstarter/
1•bovermyer•21m ago•0 comments

Ascensions

https://www.jmduke.com/posts/ascensions.html
1•montyanderson•21m ago•0 comments

Pg_QoS v1.0.0 stable release is out

https://www.postgresql.org/about/news/pg_qos-v100-stable-release-is-out-3251/
1•aamederen•22m ago•0 comments

YggTorrent Shuts Down After Hack, Leak and Stolen Crypto

https://torrentfreak.com/yggtorrent-shuts-down-after-hack-leak-and-stolen-crypto/
2•teroshan•28m ago•1 comments

Published a fitness app to connect trainers and clients

https://apps.apple.com/us/app/flexor-fitness-companion/id6758482608
1•maradlo•31m ago•1 comments

Show HN: ÆTHERYA Core – deterministic policy engine for governing LLM actions

https://github.com/nayfly/aetherya-core
1•RobertMihai•32m ago•0 comments

Git-oops – undo any Git mistake with one command

https://github.com/hxmanss/git-oops
2•Hxmanss•32m ago•0 comments

Any Resolution Any Geometry: From Multi-View to Multi-Patch

https://dreamaker-mrc.github.io/Any-Resolution-Any-Geometry/
1•smusamashah•33m ago•0 comments

Whuppity Scoorie: the Scottish spring ritual bringing a town together

https://www.theguardian.com/uk-news/2026/mar/04/whuppity-scoorie-scotland-spring-ritual-lanark-cross
1•samizdis•33m ago•0 comments

Show HN: A .NET Web Framework on the Base .NET Core SDK

https://github.com/WispFramework/Wisp
2•utf_8x•34m ago•0 comments

European Central Bank: AI may be creating instead of destroying jobs for now

https://www.reuters.com/business/ai-may-be-creating-instead-destroying-jobs-now-ecb-blog-argues-2...
4•giuliomagnifico•35m ago•1 comments

Marc Benioff Praises Grok

https://twitter.com/cb_doge/status/2028936688689352818
1•sourcegrift•37m ago•0 comments

Show HN: Glyph, a local-first Markdown notes app for macOS built with Rust

https://glyphformac.com/
3•skarat•39m ago•2 comments

A Shared Kernel Is a Shared Trust Domain

https://cdelmonte.dev/posts/shared-kernel-shared-trust-domain/
1•cdelmonte•42m ago•0 comments

2025 State of Rust Survey Results

https://blog.rust-lang.org/2026/03/02/2025-State-Of-Rust-Survey-results/
1•pjmlp•43m ago•0 comments

Man Cereal

https://joshcollinsworth.com/blog/man-cereal
2•jannesan•44m ago•0 comments

IANA tz (and POSIX) cannot add British Columbia's new Pacific Time (PT) timezone

https://github.com/eggert/tz/commit/8b46071fd85a7a9434d63894bac64d30362cc16d
2•kelseydh•44m ago•0 comments

Show HN: Most Based

https://www.mostbased.space/
1•aloscorisreal•44m ago•0 comments

Show HN: Read it later" links only (iOs app)

https://apps.apple.com/gb/app/space4links/id6758895070
1•skyfantom•45m ago•0 comments