SShortSingh.
Back to feed

How Munchable Built a Smarter Postgres Backup Job That Fails With Clear Errors

0
·90 views

Munchable, whose Postgres database lacks managed backups, relies entirely on a nightly GitHub Actions job to dump data to Cloudflare R2 and alert admins on failure. The backup is split into two archives: a full dump retained for 30 days and a smaller core dump — excluding the rebuildable product catalogue — kept for a year at near-zero cost within R2's free tier. After the first run failed with an uninformative 'Network is unreachable' error, developers added preflight checks that detect and explain common misconfigurations, such as using an IPv6-only direct host or the transaction pooler port that pg_dump cannot use. Each error message names the specific fix and points to a runbook file, so on-call engineers get actionable guidance rather than a bare failure. Bucket lifecycle rules, not the workflow itself, handle backup deletion to avoid accidental data loss from scripting bugs.

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
ProgrammingHacker News ·

Essay asks what objective reasoning in AI models is actually optimizing for

A post on alexwang.ai titled 'Reasoning as Pathfinding' examines the question of what goal reasoning is meant to achieve in modern AI systems. It was shared on Hacker News, where it gathered 24 points and 7 comments. The article's text is not included in the source material, so its specific arguments cannot be detailed here. The discussion centers on the framing of reasoning as a search or pathfinding process rather than a fixed capability. Readers interested in the underlying argument are directed to the original essay and its Hacker News thread.

0
ProgrammingHacker News ·

New comprehensive study examines how fingerprintable web users are

A new study on browser fingerprinting, the technique of identifying users by their device and browser characteristics, has been shared on Hacker News. The Hacker News listing contains only the headline and a link to the study's page, so its specific findings, methodology, and scope could not be confirmed from the available material. Readers interested in the results should consult the original source at fingerprinting.study. The item had 23 points and no comments at the time it was captured.

0
ProgrammingDEV Community ·

Autonomous AI Agents Are Replacing Static Prompts in Python Development

A DEV Community article argues that carefully engineered prompts and fixed sequential chains are brittle, failing when users provide unexpected input or a step returns malformed output. The author contends that LLM applications are shifting toward autonomous agents that pursue a high-level goal and adapt their plan as they go. Sequential chains are compared to a rigid GPS route, while agents are likened to a self-driving car that can respond to obstacles. The piece promises a hands-on tutorial that builds a self-correcting agent loop in Python, with code drawn from an MIT-licensed ebook and GitHub repository. The article presents this as a broader architectural change in how developers build production AI systems.