AINewsnow

The AI-written shell script that ran from the wrong folder and exited 0: `set -euo pipefail`, and where it still won't save you

This story is from 2026-10-22. It is preserved in the archive; the latest stories are on the live feed.

Result first: a four-line script whose cd failed (because BUILD_DIR was unset) kept going. It printed the wrong working directory, ran its "deploy" line, and exited 0. Adding one line, set -euo pipefail , made it stop on the first error with exit code 1: BUILD_DIR: unbound variable . #!/usr/bin/env…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-10-22 15:38 · DEV Community — AI
    The AI-written shell script that ran from the wrong folder and exited 0: `set -euo pipefail`, and where it still won't save you

More stories

  1. OpenAI acquires Orchestra Bio to fold drug-development agents into Rosalind — OpenAI News
  2. OlmoEarth v1.3: State-of-the-art embeddings for the whole planet — Allen Institute for AI (Ai2)
  3. Claude Duet is Anthropic's answer to Meta Muse and OpenAI Dots — Engadget
  4. Cognition Becomes First Customer for NVIDIA Vera Rubin NVL72 on CoreWeave Cloud — CoreWeave Blog
  5. CoreWeave Launches the First Generally Available NVIDIA RTX PRO 6000 Blackwell Server Instances — CoreWeave Blog
  6. Introducing CoreWeave Physical AI Launchables: Run Workloads With One Command — CoreWeave Blog
  7. Introducing SUNK: A Slurm on Kubernetes Implementation for HPC and Large Scale AI — CoreWeave Blog
  8. Barclays to cut 5,000 jobs as bank steps up AI adoption — Financial Times AI

Get the daily brief of stories like this at 6:30 every morning →