feat(scenarios): require environment for scenario runs
- require environmentId when creating runs in API and MCP tools - pass selected environment data into step execution helpers - prompt for environment selection before running scenarios in UI
This commit is contained in:
1 parent
d8ea2d0126
commit
56d23f913d
13 files changed
+237
-28
No files matched your search
@@ -21,6 +21,9 @@ export class ScenarioRunEntity {
|
||||
@Column("text")
|
||||
scenarioId: string;
|
||||
|
||||
@Column("text", { default: "" })
|
||||
environmentId: string;
|
||||
|
||||
@ManyToOne(() => ScenarioEntity, { onDelete: "CASCADE" })
|
||||
@JoinColumn({ name: "scenarioId" })
|
||||
scenario: ScenarioEntity;
|
||||
|
||||
Reference in new issue
Block a user