Will Kahn-Greene's blog of Python, Mozilla, random content, personal projects, work projects, and other things mixed in there ad hoc, half-baked, and with a twist of lemon
What is it? Bleach is a Python library for sanitizing and linkifying text from untrusted sources for safe usage in HTML. Bleach v6.4.0 released! Bleach 6.4.0 includes two security fixes, a fix to tinycss2 dependency requirements, and some other things. See the changes here: https://bleach.readthedocs.io/en/latest/changes.html#version-6-4-0-june-5th-2026 Bleach v6.4.0 is the final release I haven't…
Every October, I do a maintenance pass on all my projects. At a minimum, that involves dropping support for whatever Python version is no longer supported and adding support for the most recently released Python version. While doing that, I go through the issue tracker, answer questions, and fix whatever I can fix. Then I release new versions. Then I think about which projects I should deprecate…
Premise The 0.4.0 release of uv does everything I currently do with pip, pyenv, pipx, pip-tools, and pipdeptree. Because of that, I'm in the process of switching to uv. This blog post covers switching from pyenv to uv. History 2024-08-29: Initial writing. 2024-09-12: Minor updates and publishing. 2024-09-20: Rename uv-sync (which is confusing) to uv-python-symlink. Start state I'm running Ubuntu…
What is it? crashstats-tools is a set of command-line tools for working with Crash Stats ( https://crash-stats.mozilla.org/ ). crashstats-tools comes with four commands: supersearch: for performing Crash Stats Super Search queries supersearchfacet: for performing aggregations, histograms, and cardinality Crash Stats Super Search queries fetch-data: for fetching raw crash, dumps, and processed…
Observability Team is a team dedicated to the problem domain and discipline of Observability at Mozilla. We own, manage, and support monitoring infrastructure and tools supporting Mozilla products and services. Currently this includes Sentry and crash ingestion related services ( Crash Stats (Socorro) , Mozilla Symbols Server (Tecken) , and Mozilla Symbolication Service (Eliot) ). In 2024, we'll…
Observability Team is a team dedicated to the problem domain and discipline of Observability at Mozilla. We will own, manage, and support infrastructure and tools supporting Mozilla products and services. Currently this includes crash ingestion related services: Crash Stats and crash ingestion pipeline (Socorro) , Mozilla Symbols Server (Tecken) , and Mozilla Symbolication Service (Eliot) . In…
Summary This post talks about a stability problem we have with Tecken wherein the instance runs out of disk and then becomes unhealthy, some work we're doing to make it better, and the steps to reproduce the problem in a local dev environment so we can test possible fixes. Read more… (9 min remaining to read)
Project time : 6 weeks impact : improved visibility 3% (10k / 300k) of Firefox crash reports from Windows users by fixing symbolication and signatures better understanding of consequences from sampling Firefox / Windows < 8.1 / ESR crash reports Summary In November 2021, we wrote up a bug in the Tecken product to support download symbols files using the code file and code id. In July 2023, Mozilla…
Summary 2022 took forever. At the same time, it kind of flew by. 2023 is already moving along, so this post is a month late. Here's the retrospective of Socorro engineering in 2022. Read more… (18 min remaining to read)
What is it? Bleach is a Python library for sanitizing and linkifying text from untrusted sources for safe usage in HTML. Bleach v6.0.0 released! Bleach 6.0.0 cleans up some issues in linkify and with the way it uses html5lib so it's easier to reason about. It also adds support for Python 3.11 and cleans up the project infrastructure. There are several backwards-incompatible changes, hence the…