Repository navigation
Commit fcd9748
committed
Send who requested the build in the metrics payload
Adds --buildUserEmail and --changeAuthorEmail to uploadMetadata.py, sent
as the top-level build_user_email and change_author_email keys on every
schema version, v1 per-design fallback included. Blank values are left
out. The dashboard stores them on the build and attributes the build to
the user who started it, so a "my branches" view can include builds a
user started by hand.
They describe the build rather than the payload's shape, so they do not
bump payload_schema_version. The backend must already register them as
metadata before this lands: a v1 message carries metrics at its root, and
an older backend would ingest the keys as metrics.
Signed-off-by: Miguel Dalberto Pedro <miguel.pedro@precisioninno.com>1 parent e2e6b16 commit fcd9748
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
| |||
193 | 208 | | |
194 | 209 | | |
195 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
196 | 228 | | |
197 | 229 | | |
198 | 230 | | |
| |||
220 | 252 | | |
221 | 253 | | |
222 | 254 | | |
| 255 | + | |
223 | 256 | | |
224 | 257 | | |
225 | 258 | | |
| |||
273 | 306 | | |
274 | 307 | | |
275 | 308 | | |
| 309 | + | |
276 | 310 | | |
277 | 311 | | |
278 | 312 | | |
| |||
0 commit comments