Commit 27e83df
authored
fix(preprod): Handle missing date_built in UI and backend (EME-671) (#104444)
Frontend: Update the build details sidebar to display a timestamp even
when
`date_built` is not available by falling back to `date_added`. The
tooltip now
shows "App build time" when displaying `date_built`, or "App upload
time" when
displaying date_added.
Backend: Extract `build_date` from `apple_app_info` and set it as
`date_built`.
Previously, Launchpad was sending `build_date` in `apple_app_info`, but
the Sentry
endpoint was not extracting it. This fix ensures that the build date
from the
XCArchive metadata is properly stored in the `date_built` field.
Before:
<img width="321" height="133" alt="Screenshot 2025-12-05 at 11 29 39"
src="https://github.com/user-attachments/assets/e2ee1df3-09ba-4b90-b453-569412f78a11"
/>
After:
<img width="307" height="125" alt="Screenshot 2025-12-05 at 11 29 30"
src="https://github.com/user-attachments/assets/4dceb788-d440-43da-92df-ce236df98572"
/>
This ensures users always see a relevant timestamp for their builds.1 parent aa58e30 commit 27e83df
File tree
2 files changed
+11
-3
lines changed- src/sentry/preprod/api/endpoints
- static/app/views/preprod/buildDetails/sidebar
2 files changed
+11
-3
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
296 | 302 | | |
297 | 303 | | |
298 | 304 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | | - | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
0 commit comments