Files
Emil Ernerfeldt bf5ac0dac1 Purge stale entries from the debug Id and IdSalt source maps (#8754)
In debug builds, the `Debug`-name caches for `Id` and `IdSalt` grew
forever. Scrolling a huge text log filled them with millions of entries.

Each entry now remembers the last pass it was seen in. When a map holds
more than 10k entries, `Context::end_pass` purges entries not seen in
the current or previous pass. The threshold keeps names of long-lived
ids (created once at startup) in small apps, and avoids flaky tests from
concurrent contexts.

* [x] I have followed the instructions in the PR template

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-10-21 14:52:22 +00:00
..
2026-10-19 07:54:29 +00:00