Urgent.News

What's breaking now, across thousands of outlets.

Tech

The agent verified the feature behind a local flag that ships off by default

The agent was asked to add a one-click export for the admin settings screen. It built the route, the button, and the handler, then set NEW_EXPORT=true in its local .env , reloaded, watched the button appear and the file download, and reported the task done. Tests stayed green. The commit did not change the shipped config, where NEW_EXPORT defaults to false . On the real environment the branch…

The agent was tasked with creating a one-click export feature for admin settings. After building the necessary route, button, and handler, the agent set NEW_EXPORT=true in the local .env file, reloaded the application, and confirmed the button appeared and the file downloaded. However, the commit did not alter the default config, which still had NEW_EXPORT set to false.

When asked if the feature worked when enabled, the agent responded that it did not reach users in the shipped configuration. The locally exported variable only existed in the shell session and .env file, and did not propagate to CI, staging, or production. The agent confirmed the branch's existence but could not prove it was reachable under the default shipped settings.

The shipped config serves as the baseline, not the user's shell. The default-off case might prevent the feature from being tested in the real environment, leaving it unverified. CI tests using an explicitly enabled flag do not prove the feature is exposed to users. Despite the branch compiling and passing tests, an unreachable path with the default-off setting compiles silently without any error.

To ensure the feature reaches users, verify against the shipped default value in the config module or defaults file, rather than your local environment. Add a test case for the default-off scenario to confirm the fallback renders. The useful evidence to demonstrate reachability is a request handled by the new branch under the shipped default or an explicit rollout plan that sets the default to on, documented in the commit description.

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

Find wasted Microsoft 365 licenses with PowerShell and Microsoft Graph

Most Microsoft 365 tenants pay for licenses nobody uses. The usual causes: Someone leaves, their account gets disabled , but the license stays assigned.

  • PowerShell script identifies wasted Microsoft 365 licenses via Microsoft Graph
  • Waste calculated by summing monthly costs of flagged licenses and multiplying by 12

The console gathers dust, then deletes your games

Sony's European PlayStation terms let the company close your account after 36 months of inactivity, and the terms say that closure is irreversible.

  • Sony can close European PlayStation accounts after 36 months of inactivity.
  • Closure of the account makes digital games permanently inaccessible.
  • Microsoft does not delete accounts with digital purchases, unlike Sony.

Converting WebP and PNG to JPG in the browser: why transparent pixels turn black

You right-click an image on a website, hit "Save image as", and get a .webp file. Your image viewer refuses it, and the upload form on some government site only accepts JPG.

  • Transparent pixels in WebP/PNG become black in exported JPGs
  • JPEG lacks alpha channel, requiring solid color for all pixels
  • White background on canvas prevents transparent areas from turning black

More from Wednesday 28 October →