Urgent.News

What's breaking now, across thousands of outlets.

Tech

Keep Replay Outcomes Out of the Generated Page

A checkout service documented Idempotency-Key on POST /payments . Overnight, a generator rewrote the page from the OpenAPI description fields. The new paragraph said a repeat call "always returns the original response body." A merchant retried a timeout. The API answered 409 with code: replay_conflict and a short error body, not the first 201 . Support quoted the page. Engineering quoted the…

The API page outlines the caller's expectations and makes guarantees. Orientation includes the header name, sample key, and link for further reading. A promise details the replay outcome, such as status code, body identity, key scope, retention, and whether a second call can generate a new charge. Models can draft orientation well, but they do not own promises.

Guide sentences may change with each release, while contract sentences remain until a human edits them. The composite regeneration process affected 11 sentences, with five asserting replay behavior being the defect. Orientation should be placed in guide.md, while promise details should reside in freeze.md.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

What Happens to Shopify Product Variants When Machines Read Your Product Page?

When a human visits a Shopify product page, understanding product variants is seamless. A shopper selects "Size 10.5" or "Olive Green," client-side JavaScript listens to the change event, updates the…

  • Machines read server-rendered HTML, not client-side JavaScript interactions.
  • 68.2% of Shopify stores show only default variant to machines.
  • Google recommends ProductGroup or multiple Offer nodes for all variants.

Pin Duplicate-Delivery Receipts Before You Extract a Webhook Alias

Consider a billing module that verified webhook signatures, parsed event JSON, and inserted a ledger row for every accepted delivery.

  • Duplicate event IDs cause second ledger row insertion
  • Signatures can arrive under various alias names
  • Receipts must be stored before any code changes

More from Thursday 8 October →