惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hacker News: Ask HN
Hacker News: Ask HN
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
V
Visual Studio Blog
有赞技术团队
有赞技术团队
U
Unit 42
D
Docker
小众软件
小众软件
F
Full Disclosure
I
Intezer
Scott Helme
Scott Helme
P
Privacy International News Feed
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
B
Blog
Martin Fowler
Martin Fowler
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Vercel News
Vercel News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
宝玉的分享
宝玉的分享
S
Security Affairs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
月光博客
月光博客
C
Cisco Blogs
云风的 BLOG
云风的 BLOG
Schneier on Security
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Threat Research - Cisco Blogs
量子位
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Heimdal Security Blog
N
Netflix TechBlog - Medium
H
Hacker News: Front Page
P
Proofpoint News Feed
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
S
Schneier on Security

Buttondown's blog

Email could have been X.400 times better The physicists who convinced Fermilab to send Brazil's emails Better in-app previews Analytics 3.0 Subscriber ID variables Comments! Send latest premium action Automation filtering Free API subscribers Surveys in automations Reply to replies Labels for RSS feeds How Jeremy Singer-Vine curates curious datasets for readers 2023 (and what's next) Email vs web content Sort by engagement Better gift subscriptions How Andy Dehnart built a career reviewing television New email template Email-based automations Opt-in reply tracking Automatic alt text More social network integrations Sort by metadata Overlarge image warnings Automation tag actions Pause emails mid-flight Search tags and automations Gift via automations Subscriber-driving emails Programmatic webhooks Email page views Tag statistics Discord webhook formatting Automatic subscriber cleanup RSS subscriber count Weekly subscriber reports More list columns Customizable list views How Max Voltar turned a side gig into a trusted keyboard resource How Nick Disabato runs two newsletters from one design consultancy Made-for-you share images Automation improvements End-of-email surveys Filter by date Survey-triggered automations More automation functionality New webhooks How France Insider built a news service with paid subscribers Email as primary key How John Willshire unites two businesses in one newsletter Confirmation reminders Email churned subscribers Email-to-draft Subscriber metadata columns ChatGPT integration Faster web archives Referral program Better search results TikTok embeds Subscriber timeline Spotify embeds Improved RSS-to-email Subscribe page OG image New analytics page Google Tag Manager Even more subscriber types Integrating Duda with Buttondown Linktree integration guide Advanced and enterprise plans Framer integration guide API requests page Team collaboration In-email surveys Better CSS settings Better RSS automation fetching! Editor toolbar improvements Smart filters Faster emails page RSS automations Faster email analytics Zapier error codes Image accessibility checks Tags vs newsletters OG image picker Image editor improvements API bulk actions Improved OpenAPI spec Mastodon support Better subscriber filtering Better subscriber validation Hotkey support! Programmatic access to analytics Stronger bulk actions Faster archive page Custom canonical URLs Email slug and metadata Improved writing interface Generating a Typescript router in Django Filter emails by source
Public postmortem: archive downtime
Justin Duke · 2026-01-02 · via Buttondown's blog

TL;DR

On Friday, January 2nd, archives were down for seven minutes from approximately 9:38pm to 9:45pm Eastern. The root cause was a commit that, amongst many other things, included template tags for auto-reloading within debug mode in Django. The problem wasn't with the tags themselves, but with the fact that the third-party package containing those tags was only installed in dev mode — a classic Django anti-pattern.

How did we detect the issue?

Our 500 checker alerted us immediately, and we pinpointed the issue almost instantly.

How did we mitigate the issue?

This is where things got interesting. We attempted three different remediation strategies before landing on one that worked:

  1. Rollback attempt #1: We ran a command to roll back the deploy. This failed because the same commit included a migration to drop the welcome_message column on our newsletter table. Django does not handle this kind of rollback gracefully.

  2. Hotfix attempt #1: We tried committing a fix and pushing directly to Heroku, bypassing CI. This also failed because our deployment process immediately pulls built assets for each commit, which are only built in GitHub Actions.

  3. Manual database fix + rollback: We manually added the welcome_message field back onto the Django table and rolled back to the previous commit. This stopped the bleeding while the hotfix worked its way through CI.

A few minutes later, the hotfix passed CI, deployed successfully, and the incident was resolved.

How will we prevent this from happening again?

This incident highlighted a few things we need to improve:

  1. Staging deploys with health checks: Going forward, we'll change our deployment setup to first deploy to the demo site and run a naive health check against it. Such a health check would have caught this specific error before it reached production. Once that health check passes, we deploy to production and then to all other auxiliary deploy targets.

  2. Better rollback tooling: The front-end build issue — where we couldn't deploy without CI-built assets — is a true own goal. This is largely a documentation issue, since the workaround was there all along, but we need to make it more obvious and accessible in the heat of the moment.

  3. Commit hygiene: The size and complexity of this commit (bringing in an external dependency and dropping a database field) made remediation harder than it needed to be. This was a post-code-freeze commit, so not indicative of a larger pattern, but worth noting.