Urgent.News

What's breaking now, across thousands of outlets.

Tech

Ten hours unattended: what a long job needs to survive alone

Development covered 5 Aug 2026 to 7 Aug 2026 (commit dates). A lot of the work on this project runs overnight with nobody watching. The job plays the game, or edits the book, or sweeps the design documents, for ten hours or so, and in the morning there is a report and a stack of commits. The game tracks dozens of player attributes , and a ten-hour playthrough is the only way to watch them all…

The development occurred between August 5, 2026, and August 7, 2026. Much of the project's work is conducted overnight without any supervision. After ten hours, a report and a collection of commits are generated. The game monitors dozens of player attributes, and a ten-hour playthrough is necessary to observe them all. The main challenge was ensuring the work was executed correctly.

The first rule, which had the most significant impact, was to avoid asking questions. Allowing the job to halt and seek human input converted eight hours of unattended work into a question that arrived too late to be useful. The decision-making process involved weighing both sides against fixed criteria, choosing an option, documenting the reasoning and the rejected alternative, and continuing.

The job concluded that halting was rarely the correct course of action. Instead, it argued both sides, selected one based on predefined criteria, recorded the decision and the alternative it discarded, and proceeded. If a decision turned out to be incorrect, it could be revisited in the morning rather than having to start over after ten hours of inactivity.

A key lesson was the importance of measuring resources at the unit level being acted upon. Long-running processes consume resources, and these leaks can be detected by monitoring the total memory usage across the machine rather than just the main process. The browser they drive grows, and other processes accumulate, leading to swapping and slowdown. The correct approach is to measure the sum of everything the browser owns and compare it against a limit, triggering a recycling action if necessary.

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

How to Convert JSON to TypeScript Interfaces (and Why Types Aren't Enough)

When you consume an API in TypeScript, writing the types by hand from a JSON response is tedious and error-prone. A generator can turn a sample response into interfaces in seconds.

  • JSON converted to TypeScript interfaces automatically
  • Email field marked as null, not inferred as string
  • Tips provided to refine generated types

Pixel Helper cannot see a Conversions API POST. A 200 is not the contract.

A checkout worker posts a Purchase to the Meta Conversions API. The response is HTTP 200. Test Events stays empty. The next move is usually a new access token. The token is rarely the bug.

  • Pixel Helper fails to detect POST requests from Conversion API
  • HTTP 200 status code indicates server is alive, not data validation
  • Proper JSON formatting and required fields must be verified separately

More from Sunday 4 October →