Commit 14dcc76
authored
feat: run.ctx tidying and additions (#2322)
* Cleanup context and execution creation, cache stuff, add parent and root task run ids
* more efficient by using friendly IDs instead of doing joins
* metadata.root/parent now reference current run when run has no root/parent
* Adding changeset
* try to make test less flaky
* Clean imports
* Another attempt to fix the flaky test
* Fix usage by still passing durationMs and costInCents to the execution, just not the run.ctx1 parent 5ea6605 commit 14dcc76
File tree
38 files changed
+1445
-400
lines changed- .changeset
- apps/webapp/app
- presenters/v3
- routes
- v3
- marqs
- services
- internal-packages
- cache
- src
- stores
- run-engine
- src
- engine
- systems
- tests
- run-queue
- packages
- cli-v3/src/entryPoints
- core/src/v3
- isomorphic
- runMetadata
- schemas
- taskContext
- usage
- trigger-sdk/src/v3
- references/hello-world/src/trigger
38 files changed
+1445
-400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments