Commit b7608da
feat(preprod): Add installable attribute to EAP alias mappings (#112363)
Register PREPROD in the shared `INTERNAL_TO_PUBLIC_ALIAS_MAPPINGS`
infrastructure so the EAP attributes endpoint translates
`has_installable_file` → `installable`. This makes the `installable`
boolean filter appear in the mobile builds search bar dropdown on the
Distribution view.
Previously, the PREPROD trace item type had no entry in the alias
mapping dicts in `search/eap/utils.py`, so
`translate_internal_to_public_alias()` returned the raw internal name
`has_installable_file`. The frontend `filterToAllowedKeys()` then
couldn't match it against the allowlist (which expects `installable`),
so the attribute was silently filtered out.
The mapping dict is built dynamically from
`PREPROD_SIZE_ATTRIBUTE_DEFINITIONS`, so any future aliased PREPROD
attributes will automatically be included.
Refs EME-868
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0a58b34 commit b7608da
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
| |||
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
0 commit comments