Commit c02f1ea
committed
feat(core,run-engine): expose a deployment's external id on the run context
A run knew its version but not the --external-id it was deployed under, so it
could not tell whether it was the deployment a version skew protection pin
currently names. A version cannot answer that: the pin is an opaque string and
nothing maps one to the other.
The deployment row is already fully selected and SWR-cached where the run context
is built, so this adds no query.1 parent 8d73d80 commit c02f1ea
2 files changed
Lines changed: 7 additions & 0 deletions
File tree
- internal-packages/run-engine/src/engine/systems
- packages/core/src/v3/schemas
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2008 | 2008 | | |
2009 | 2009 | | |
2010 | 2010 | | |
| 2011 | + | |
2011 | 2012 | | |
2012 | 2013 | | |
2013 | 2014 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
343 | 349 | | |
344 | 350 | | |
345 | 351 | | |
| |||
0 commit comments