SShortSingh.
Back to feed

DEV Community API returned 404 for a live article moments after it was published

0
·1 views

A tech publication discovered that DEV Community's single-item API endpoint returned a 404 error for an article that had just been published and was publicly accessible via its HTML page. Six API requests made within four minutes returned inconsistent results, with some endpoints failing to acknowledge the article's existence while others correctly listed it. The team had earlier designated the single-item endpoint as the authoritative source for confirming publication, but that approach failed on its very first day of use. The incident highlighted how absence of a result in one API layer does not confirm a record is missing, since caching, indexing delays, and summarization layers can all independently suppress a valid response. The authors conclude that confirming existence requires only one affirmative layer, while confirming absence demands every layer to agree — a standard that is rarely achievable in asynchronous systems.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

New Framework Suggests AI Search Visibility Builds Before Keyword Demand Emerges

A new content strategy framework proposes that AI-powered search systems may begin surfacing brands and sources through citations and entity signals before a topic shows measurable keyword search volume. Unlike traditional SEO, which relies on existing search demand to guide content creation, AI search tools like Google's AI Overviews can synthesize information from multiple sources in response to broad user prompts. Search Engine Land's analysis highlights that cited sources in AI search results can shift month to month, making static keyword ranking reports an incomplete measure of a brand's visibility. The framework does not replace conventional SEO but suggests expanding the measurement model to also track prompts, citations, and topical authority. Enterprise content teams are advised to monitor emerging themes and assess strategic relevance before committing to new content production.

0
ProgrammingDEV Community ·

Why blind retries in code can cost revenue and crash your platform

Most software retries failed calls by default, but without deliberate logic, this can silently harm users and systems. For user-facing operations, each retry adds latency that directly impacts revenue — Amazon found every 100ms of added delay costs roughly 0.1% in sales. The right approach is to fail fast on real errors like bad inputs or misconfigurations, reserving retries only for known transient issues such as temporary network timeouts. Background jobs follow a different calculus: retrying at the call level is cheaper than re-queuing an entire job that may have been near completion. Placing retry logic in the correct architectural layer — at the request handler rather than deep in library code — is key to making these decisions effectively.

0
ProgrammingHacker News ·

Fairphone 6 Main Camera Now Working on PostmarketOS

A developer has achieved a working main camera on the Fairphone 6 running PostmarketOS, a Linux-based mobile operating system. The milestone represents a notable step forward in open-source smartphone software compatibility with the Fairphone 6 hardware. The progress was shared via a personal blog post and gained attention on Hacker News. PostmarketOS aims to provide long-term software support for smartphones, aligning with Fairphone's repairability and sustainability ethos.

0
ProgrammingDEV Community ·

Midnight Local Undeployed rejects Map key updates; use insert-only pattern

A developer debugging Midnight Network's Local Undeployed environment traced repeated RpcError 1010 and WASM panic failures to a single root cause: updating an existing Compact Map key instead of inserting a new one. On the Undeployed chain, ledger writes are server-append operations, meaning overwriting an existing key triggers a transaction merge path that causes runtime crashes. The fix requires treating the public ledger as an append-only journal and reconstructing any derived values, such as token balances, off-chain for display purposes. Additionally, private witness values only become public ledger state through an explicit disclose() call, and hashing a witness to check access does not constitute valid access control. The findings were verified against a live local stack running Compact 0.23 and Midnight Node 0.22.5.