Repository navigation
Commit e6a7bcc
authored
Add
## Summary
<!-- What changed and why. Link to issue if applicable. -->
<!-- Remember: we squash-merge, so this description becomes the commit
message. -->
Added a `runtime` field to the SDK that is automatically populated on
policy pack creation, ensuring that future policy pack updates only
accept the same runtime name to prevent invisible changes.
## Test plan
<!-- How did you test this change? -->
- [x] Added appropriate unit tests - For all changes
- [ ] Added a test in `pkg/engine/lifecycletest` - For all
engine/protocol changes
- [ ] Added a conformance test in `pkg/testing/pulumi-test-language` -
For language protocol changes
- [ ] Added a golden test in `pkg/backend/display` - For changes to the
output renderers
## Validation
<!-- Commands you ran. Do not include output, but make sure that you've
run these and checked the results. -->
- [x] `make lint` — clean
- [x] `make test_fast` — all pass
- [x] `make tidy_fix` — clean
- [x] `make format` — clean
- [x] Relevant SDK tests pass (if SDK changes)
- [x] `make check_proto` — clean (if proto changes)runtime field to policy packs (#23319)1 parent ceeab7d commit e6a7bcc
4 files changed
Lines changed: 64 additions & 8 deletions
File tree
- pkg/backend/httpstate
- client
- sdk/go/common/apitype
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
1886 | | - | |
| 1886 | + | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
| |||
1927 | 1927 | | |
1928 | 1928 | | |
1929 | 1929 | | |
| 1930 | + | |
1930 | 1931 | | |
1931 | 1932 | | |
1932 | 1933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
241 | 292 | | |
242 | 293 | | |
243 | 294 | | |
| |||
293 | 344 | | |
294 | 345 | | |
295 | 346 | | |
296 | | - | |
| 347 | + | |
297 | 348 | | |
298 | 349 | | |
299 | 350 | | |
| |||
390 | 441 | | |
391 | 442 | | |
392 | 443 | | |
393 | | - | |
| 444 | + | |
394 | 445 | | |
395 | 446 | | |
396 | 447 | | |
| |||
472 | 523 | | |
473 | 524 | | |
474 | 525 | | |
475 | | - | |
| 526 | + | |
476 | 527 | | |
477 | 528 | | |
478 | 529 | | |
| |||
536 | 587 | | |
537 | 588 | | |
538 | 589 | | |
539 | | - | |
| 590 | + | |
540 | 591 | | |
541 | 592 | | |
542 | 593 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments