# Old code can't learn a new shape, so tellus makes the new code speak both

Original title: Rolling upgrades in tellus: old code cannot learn a new shape

> Hacker News story 50700836 · language: en · submitted 2026-11-30
> Web version: https://zeli.app/story/50700836
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 6 · by [hseeberger](<https://news.ycombinator.com/user?id=hseeberger>) · 💬 0
[original](<https://heikoseeberger.de/2026-11-24-rolling-upgrades/>) · [HN discussion](<https://news.ycombinator.com/item?id=50700836>)

## Summary

During a rolling upgrade, old and new nodes exchange messages, and tellus encodes with postcard, which writes only values in order — so an added field either breaks decoding or, worse, silently turns a u32 into a wrong i32. The fix: every payload carries a schema version, and the new code bridges both directions, upcasting old messages and downcasting to peers still on the old release. One rollout suffices, and rollbacks work too.

## Key quote

> The key point is this: old code cannot be taught anything. It is already deployed, and it knows only the old shape. So the new code has to bridge both directions.

---

## Cite

- Page: https://zeli.app/story/50700836
- Date: 2026-11-30
- Source: heikoseeberger.de (https://heikoseeberger.de/2026-11-24-rolling-upgrades/)
- Hacker News: https://news.ycombinator.com/item?id=50700836

## Other languages

- zh: https://zeli.app/zh/story/50700836 · markdown: https://zeli.app/zh/story/50700836.md
- ja: https://zeli.app/ja/story/50700836 · markdown: https://zeli.app/ja/story/50700836.md
- ko: https://zeli.app/ko/story/50700836 · markdown: https://zeli.app/ko/story/50700836.md
- de: https://zeli.app/de/story/50700836 · markdown: https://zeli.app/de/story/50700836.md
- es: https://zeli.app/es/story/50700836 · markdown: https://zeli.app/es/story/50700836.md
- ru: https://zeli.app/ru/story/50700836 · markdown: https://zeli.app/ru/story/50700836.md
