Urgent.News

What's breaking now, across thousands of outlets.

Tech

Fail-Open Defaults in Agent PRs: A Provenance Review

The following scene is a composite review scenario. It is not a named customer story. A billing service received an agent pull request on Friday. The patch added retries, caching, and a thin HTTP client. Generated tests were green on the CI run. The reviewer still blocked the merge that afternoon. Three invented defaults would have hidden production failures. Agent patches often look complete at…

A billing service rejected a pull request containing a patch that added retries, caching, and an HTTP client on Friday. Despite the tests passing, the reviewer blocked the merge due to three invented defaults that could have hidden production failures. Agent patches often appear complete at first glance but can introduce hidden runtime contracts.

The article reviews these invented defaults, which include guessed hosts, timeouts, environment keys, and empty catch blocks that mask transport errors. The review sequence for contract-changing agent PRs involves extracting the new contract surface, classifying fail-open versus fail-closed behaviors, demanding a source for every default, and scanning the diff with a heuristic script to identify common invention smells.

Fail-open code turns outages into reported successes, and reviewers should treat it as a contract bug.

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

JSON to String Conversion: The Edge Cases That Actually Bite in Production

Every JS developer writes JSON.stringify(data) a hundred times before they ever stop to think about what it's actually doing under the hood.

  • JSON.stringify drops undefined, functions, and Symbol types silently in objects
  • NaN, Infinity, and -Infinity convert to null during serialization
  • Circular references in objects cause TypeError during JSON.stringify

Queue Depth Is the Real Cloud Trigger: A Secret-Class Overflow Router

On a shared lab workstation, five coding agents waited behind a single local inference process during a Friday merge window.

  • Five coding agents queued behind a single local inference process.
  • Overflow policy absent, causing secret-bearing context to leave the machine.
  • Proposed router classifies payloads, checks queue depth, and determines network accessibility.

More from Friday 4 September →