delete draft workspace!
This commit is contained in:
@@ -511,6 +511,8 @@ Concrete MCP sequence:
|
||||
7. `wf.workflow.create_artifact_from_workspace` after validation is clean.
|
||||
8. `wf.workflow.save_deployment`, then `validate_deployment`, then
|
||||
`run_deployment`.
|
||||
9. `wf.workflow.delete_draft_workspace` when the mutable authoring session is no
|
||||
longer needed.
|
||||
|
||||
`create_artifact_from_workspace` also uses a `request` object:
|
||||
|
||||
|
||||
@@ -353,6 +353,7 @@ resending the full draft each turn.
|
||||
| Fetch current draft workspace | `wf.workflow.get_draft_workspace` |
|
||||
| Patch current draft workspace | `wf.workflow.patch_draft_workspace` |
|
||||
| Save final workspace as artifact | `wf.workflow.create_artifact_from_workspace` |
|
||||
| Clean up a draft workspace | `wf.workflow.delete_draft_workspace` |
|
||||
|
||||
Workspace patches are optimistic-concurrency guarded. Pass the current
|
||||
`revision` from `get_draft_workspace`; a stale revision returns
|
||||
|
||||
Reference in New Issue
Block a user