Skip to content

fix: move EnableScriptlessNBCCSECmd to ScenarioRuntime#8325

Merged
awesomenix merged 1 commit intomainfrom
nishp/multiplescenario
Apr 15, 2026
Merged

fix: move EnableScriptlessNBCCSECmd to ScenarioRuntime#8325
awesomenix merged 1 commit intomainfrom
nishp/multiplescenario

Conversation

@awesomenix
Copy link
Copy Markdown
Contributor

Follow up PR to address comments from previous

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves the E2E “scriptless NBC CSE cmd” toggle from the scenario definition into per-run runtime state (ScenarioRuntime), adjusting the scenario runner to support setting this runtime flag before executing the scenario.

Changes:

  • Remove EnableScriptlessNBCCSECmd from Scenario and add it to ScenarioRuntime.
  • Update RunScenario to no longer return an error and to set the runtime flag for the scriptless_nbc subtest via ScenarioRuntime.
  • Adjust runScenario runtime initialization to preserve an existing ScenarioRuntime (so pre-set runtime flags are not overwritten).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
e2e/types.go Moves EnableScriptlessNBCCSECmd from Scenario into ScenarioRuntime.
e2e/test_helpers.go Updates scenario execution flow to set/read the scriptless-NBC toggle via ScenarioRuntime and simplifies RunScenario signature.

Comment thread e2e/types.go
@awesomenix awesomenix force-pushed the nishp/multiplescenario branch from 889eedd to 1192186 Compare April 15, 2026 21:55
@awesomenix awesomenix enabled auto-merge (squash) April 15, 2026 22:51
@awesomenix awesomenix disabled auto-merge April 15, 2026 22:51
@awesomenix awesomenix merged commit 5f27b41 into main Apr 15, 2026
21 of 28 checks passed
@awesomenix awesomenix deleted the nishp/multiplescenario branch April 15, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants