Commit bd33a24
committed
ref(bundles): Introduce
### Description
As we don't need all of the fields of the `UploadContext` struct for `source_bundle::build` (in particular, we don't need the `chunk_upload_options`), we introduce a new struct with only the fields needed for the function.
We will use this new struct in the next PR to avoid needing to get chunk upload options for the `bundle-jvm` command.
### Issues
- See #2927
- See [CLI-220](https://linear.app/getsentry/issue/CLI-220/dont-call-chunk-upload-for-bundle-jvm)BundleContext struct (#2923)1 parent edd0d61 commit bd33a24
1 file changed
Lines changed: 30 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
15 | 37 | | |
16 | 38 | | |
17 | 39 | | |
18 | 40 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
24 | 46 | | |
25 | 47 | | |
26 | 48 | | |
| |||
152 | 174 | | |
153 | 175 | | |
154 | 176 | | |
155 | | - | |
| 177 | + | |
156 | 178 | | |
157 | 179 | | |
158 | 180 | | |
| |||
184 | 206 | | |
185 | 207 | | |
186 | 208 | | |
187 | | - | |
| 209 | + | |
188 | 210 | | |
189 | 211 | | |
190 | 212 | | |
191 | 213 | | |
192 | 214 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | 215 | | |
197 | 216 | | |
198 | 217 | | |
| |||
213 | 232 | | |
214 | 233 | | |
215 | 234 | | |
216 | | - | |
| 235 | + | |
217 | 236 | | |
218 | 237 | | |
219 | 238 | | |
| |||
0 commit comments