fix(atlas): drop the keys the classic map left unused, tag the people reads

- lint:i18n-keys: common.reset, dawarich.bucket.visitedFrom and the two
  mobileAtlas keys were only read by the classic map and its popups; they
  go from every locale, and the atlas entry follows its lower count.
- lint:tx: AtlasPeopleService.profile also carries @txIndependent, so the
  method itself is no longer reported for its cache refresh reads.
This commit is contained in:
Maurice
2026-11-29 01:26:58 +01:00
parent e6ba039abc
commit a3db6e93bf
86 changed files with 33 additions and 172 deletions
@@ -103,9 +103,10 @@ export class AtlasPeopleService {
* One traveller's counts and badges, read through the Atlas reads the user's
* own Atlas uses.
*
* @txStandalone its only writes are those reads' region cache refreshes, each
* complete on its own and safe to repeat, so nothing a caller does around
* them needs to share their transaction.
* @txIndependent its only writes are those reads' region cache refreshes, each
* complete on its own and safe to repeat; nothing ties one to the other.
* @txStandalone for the same reason nothing a caller does around them needs
* to share their transaction.
*/
private async profile(id: number): Promise<{ person: Omit<AtlasPerson, 'badges'>; badges: Badge[] }> {
const stats = await this.atlas.stats(id);