Urgent.News

What's breaking now, across thousands of outlets.

Tech

Node.js API Uptime Health Status Monitoring with 4 Agent Rollback Signals

Short answer: monitor an e-commerce AI agent loop with four signals: request availability, end-to-end latency, cost per completed task, and an independent heartbeat for scheduled work. Logs and metrics can drive the first three and a small status view, but they cannot prove that a cron job which stopped executing is alive. Send that dead-man signal to a Healthchecks-style service, and make every…

The article outlines a system for monitoring the uptime and health of Node.js API agents used in e-commerce AI agent loops. Four key signals are proposed to monitor these loops: request availability, end-to-end latency, cost per completed task, and an independent heartbeat for scheduled work. The article emphasizes that logs and metrics alone cannot prove that a stopped cron job is alive, and a "dead-man" signal sent to a Healthchecks-style service is necessary to trigger alerts.

The page is designed to provide actionable insights within a minute, such as whether the new release has changed failure or latency distributions, the source of damage in dependencies or tool steps, and whether rollback is safer than leaving the release in place. The article recommends tracking loop duration, attributed cost, outcome, release, route, and bounded result class to determine the safety of rollback or dependency isolation.

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

I built a referral leaderboard that ignores page views. Here's the credit model.

Most referral leaderboards count the wrong thing. They count clicks or visits, and the moment a visit is worth something, somebody points a traffic tool at it and the board is over.

  • ViralRefer's referral leaderboard ignores page views, countering manipulable clicks.
  • Users earn credits by friends performing the same action, not just viewing the link.
  • The system is fair, with 26 language variants and Cloudflare Pages hosting.

Why coding agents should work on a copy of your repo

A coding agent should work on its own copy of your repository, on its own branch, so that nothing it does touches your working files until you have read the diff and merged it yourself.

  • Coding agents should work on a copy of your repository on a separate branch.
  • Git worktrees enable multiple working directories within a single repository for agent tasks.
  • Review agent changes with git diff before merging and removing the worktree directory.

Rootless podman export of a keep-id container shifts every file owner, exit 0

TL;DR : podman export of a rootless container that was created with --userns=keep-id writes a tarball in which every file owner is shifted by the container's ID mapping.

  • Rootless podman export shifts file owners in keep-id containers.
  • Exported tarball shows incorrect UID 1 for container user's files.
  • Using podman commit resolves incorrect file ownerships in exported tarball.

More from Wednesday 30 September →