Skip to content

fix(import): stop listing a phone's own name as its model number - #80

Merged
NotAFlightRisk merged 1 commit into
mainfrom
fix/no-self-aliases
Oct 19, 2026
Merged

NotAFlightRisk merged 1 commit into
mainfrom
fix/no-self-aliases

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

Device

Overview

When a second ROM names a phone, the import adds that ROM's other names as aliases, and if one of them was the phone's own name it went in too. So seven pages showed their own name under "Model numbers" - the POCO F4 page lists "POCO F4", the Mi 9T "Mi 9T" and so on. The import skips an alias that matches the device's name now, and those seven are tidied up.

Issue Number

None

Additional Info

The full import run locally on this branch puts none of them back, and stock dates still match the same 277 phones (they join on the name first anyway). The new test fails on the old store. Tests and validate pass.

@vercel

vercel Bot commented Oct 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
android-rom-compat Ready Ready Preview Oct 19, 2026 10:30am UTC

@github-actions github-actions Bot added the device Details on a phone we have: specs, model numbers, hardware, duplicates label Oct 19, 2026
@NotAFlightRisk
NotAFlightRisk merged commit 6d70450 into main Oct 19, 2026
7 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the fix/no-self-aliases branch October 19, 2026 10:34

This branch was successfully deployed

1 active deployment
Preview — eac95614 Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

device Details on a phone we have: specs, model numbers, hardware, duplicates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant