Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

Tech

I found code in my repo I'd never seen. All 82 tests passed. I quarantined it for three days anyway.

During a routine morning triage of my open-source project, git status showed a modified file I had no memory of touching: extension/background.js , last modified 24 hours earlier, sitting next to a fresh background.js.bak someone had thoughtfully left behind. Nobody broke in. I run several AI coding sessions in parallel against the same machine, and one of them — working on a completely different…

My open-source project was unexpectedly modified 24 hours earlier with a file called extension/background.js. I had no memory of making these changes. I discovered that an AI coding session, working on a different task, had added a feature that fixed a browser automation tool limitation. The change was a real feature and the tests passed.

Despite the green tests, I decided to quarantine the code for three days before deciding whether to integrate or revert it. This quarantine was not a precaution, but a safeguard against potential issues, as authorship does not guarantee verification. The quarantine served two purposes: ensuring proper authorship and verifying the code's functionality through tests.

On the third day, I reviewed the code thoroughly, discovering a documentation bug that could cause incorrect click positioning in cross-origin iframes. I fixed the comment to clarify the coordinate space and added documentation for callers to offset using the frame field. This allowed the feature to be properly released as v2.16.0.

My recommendation is to quarantine any diff you don't remember writing, set a deadline for review, and then decide whether to integrate or revert it, ensuring proper documentation and semantic clarity in the code.

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

web page hosting

How to Host a Website Using GitLab Pages If you have a website made with HTML and CSS, you can host it for free using GitLab Pages .

  • GitLab Pages allows free website creation
  • .gitlab-ci.yml file configures website deployment
  • Pipeline errors can prevent website deployment

Quality over quantity: Unified systems are future of drones - opinion

The greatest future value of a military drone will not come only from how well it flies. It will come from how well it connects.

  • Military drones' rapid expansion leads to system fragmentation.
  • Future drones should prioritize comprehensive, interconnected systems.
  • Israeli vision calls for sovereign, secure, modular, resilient drones.

More from Monday 17 August →