SShortSingh.
Back to feed

Rehearse Rollbacks on a Disposable Copy Before Merging Agent-Drafted Migrations

0
·4 views

A migration should be judged ready only after a second person has successfully reversed it on a copy, not merely because the forward change applied cleanly. The recommended process uses a disposable copy of the database at the same engine version, with baseline counts and checksums captured before and after the forward change. The stated rollback is then run, and the results are compared against the original baseline to detect missing data, such as values lost when a column is dropped and re-added. A verdict of reversible, forward-fix-only, or blocked is recorded by a rehearser who did not write the draft, and the verdict expires once the affected tables change. The guidance also stresses testing idempotency and partial failure, and applying the same masking and access controls to scratch copies as to backups.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

OpenAI's OpenWorks pilot pays US local experts to coach small businesses on AI

OpenAI launched OpenWorks, a US-only pilot on 23 November 2026, that funds local AI experts to work in person with independently owned small businesses at no cost to the firms. Partners are contractors who may earn up to $8,000 a month, a ceiling rather than a guaranteed payment, and must spend at least four full days a month with local businesses. Participating businesses also receive three months of ChatGPT Business free, and the pilot covers 20 US communities. OpenAI has announced no plans to expand the program to India or other countries. The company's published case studies report owner-estimated results that have not been independently verified.

0
ProgrammingDEV Community ·

Guide Shows How to Run a WireGuard VPN Server with WG-Easy on a Contabo VPS

A DEV Community tutorial explains how to set up a private VPN using the WireGuard protocol and the WG-Easy web dashboard on a Contabo cloud server. It argues that commercial VPNs can suffer from shared-IP CAPTCHA blocks, peak-hour slowdowns, and trust concerns over logging. The guide walks through installing Docker, enabling IP forwarding, configuring the container and firewall rules, and generating client configurations. It also claims WireGuard offers faster handshakes and better battery efficiency on mobile devices than OpenVPN. The author concludes that self-hosting can offer a private alternative to paid commercial VPN services.

0
ProgrammingDEV Community ·

Debugging Duplicate and Missing Cron Runs Across a DST Transition

A daily report scheduled for 02:30 Europe/Berlin is ambiguous on 25 October 2026, when that local time occurs at both 00:30 and 01:30 UTC. The article argues that the correct behavior depends on a scheduling contract, such as running once per local business date or once per real UTC instant, and that jobs on the same machine may follow different rules. It recommends keying business operations on job name and intended local date, avoiding recomputing slots from the worker's clock on retries, and recording delivery attempts separately from completed operations. It also suggests testing fixtures for both ambiguous instants, a normal summer date, and delayed redeliveries, then comparing expected slots against completed operations and delivery history. Because scheduler policies vary, the author advises validating the actual schedule and dispatch records alongside application-level tests.

0
ProgrammingDEV Community ·

Benchmark Rankings Can Flip Depending on Task Mix, Study Shows

A benchmark's winner can change without either model changing, depending on how tasks are grouped and weighted. The article uses constructed figures: two systems tested on ten edit tasks and ten refactors, where one leads on edits and the other on refactors. Weighting edits at 75% of a workload favors the first system, while a 25% edit weighting reverses the outcome. The author recommends fixing task definitions, scoring rules, and missing-case handling before running tests, and reporting results per stratum. Paired analysis on shared task IDs is advised for judging whether performance differences are meaningful.