Subscribe free
Morning Merge · Wednesday, December 2, 20265 min read

ty 1.0: Astral's Python type checker goes prod

Plus Cloudflare open-sources Kitesurf, GitHub sets org limits, and Amazon ships Ergo

The main thing

An isometric conveyor feeds a continuous profiled metal extrusion smoothly through an orange precision checking die mounted in a compact inspection station.

You may have skipped a Python type checker because mypy takes long enough to brew a second pot. That excuse is now weaker. Astral's ty has reached 1.0, and Astral now recommends it for production use for all users.

ty is a type checker and language server written in Rust. Astral designed it as an alternative to tools like mypy, Pyright and Pyrefly. It is the default type checker at OpenAI, where switching to ty gave a median 24x speedup and cut peak memory by 73%. In a November audit of the 25,000 most-downloaded PyPI packages, 11.6% of repositories that use a type checker used ty. That puts it third, behind mypy and Pyright.

Most of the 1.0 work went into correctness. On the Python typing conformance suite, ty dropped from 224 false positives and 405 false negatives at beta to 14 and 13. Astral reports mypy at 190 and 109. ty 1.0 also adds a new generics solver, bidirectional inference and opt-in return type inference.

The migration tools are the practical part:

In the discussion, one commenter who uses ty as a language server still runs mypy in pre-commit and CI, citing incompatibilities and mypy's stronger generics checking. Another says ty flagged false positives that Pyrefly did not, though that may have improved since.

What to do today: Try ty on a branch of a real project. Start from a baseline instead of switching everything at once. Expect new diagnostics in lightly typed code, because ty now infers more precise types for containers and attributes that have no annotations.

Quick bits

Cloudflare open-sourced Kitesurf, its browser engine for AI agents, under Apache 2.0. It runs on Cloudflare Workers rather than in a Chromium container, with each page in its own Dynamic Worker, and its Rust core compiles to WebAssembly. It speaks the Chrome DevTools Protocol, and you can build and run it locally with Wrangler. It has no authentication of its own, so put some in front of it.

GitHub platform limits start January 5, 2027 for enterprise and organization capabilities on github.com Free, Team and Enterprise Cloud plans, including data-resident ghe.com Enterprise Cloud. They do not apply to Enterprise Server. At a hard limit, actions such as adding a member may be blocked, but nothing is deleted.

Amazon Ergo is an open-weight model from AWS for software engineering and agent work. It is now on Bedrock. You can fine-tune it on SageMaker AI.

Attackers used Optimizely to serve malware through the sites of at least 178 organizations. They abused a flaw in the signup flow to edit customers' Project JavaScript. Researchers say a sufficiently restrictive Content Security Policy could have blocked the attacker's external payload, even though the first script came from Optimizely's own domain.

Docker VMM is generally available in Docker Desktop 4.101 on macOS, Windows (x86) and Linux. Docker says common tasks run about twice as fast and memory goes back to the host when containers finish. Existing installs keep their current backend unless you switch.

pnpm 12.26 installs CLI tools such as jq and gh from their publishers' releases and records the checksums in the lockfile. It also has security fixes: outside Windows, scripts now run with /bin/sh by default (/system/bin/sh on Android), so a dependency's sh binary can no longer replace the shell that runs other packages' lifecycle scripts.

Athena powered by DuckDB is in preview. AWS claims queries on large datasets run up to 2x faster and cost up to 50% less than on Athena version 3. It adds an ADBC driver and support for Iceberg v3 tables.

Request limits won't protect your LLM bill: one developer sent 10 requests, all allowed by a 20-per-minute limiter, and burned 160,000 tokens. The fix is to cap input size, set a maximum for output tokens and forward the abort signal.

Also happening

Patch roundup

If ty finds 400 errors in your code, remember that they were there yesterday too.

← All issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →