AWS Transform: unit-test generation choice + status-only UT substeps - #2857
Conversation
Mark the direct substeps of the "Generate Unit Tests" step (plan / generate / merge / coverage) as status-only so the IDE renders them as progress-only rows, without a checkpoint toggle, "View Results" button, or checkpoint checkbox. The step data returned by the service has no machine-readable step label, so the flag is assigned structurally during plan-tree assembly based on the parent step's name rather than a label prefix. The parent step keeps its normal checkpoint affordance.
Include GenerateUnitTests in the CreateJob objective only when it is a real boolean, so clients that omit it keep legacy behavior and an explicit false stays a decline. Matches shipped backend contract CR-298620129. Adds 4 unit tests.
|
Reviewed together with aws-toolkit-visual-studio-staging#2927. No blocking defects in this diff itself; one question needs an answer before merge because it spans both PRs. Question (potentially blocking): steps absent from
|
|
I verified in orchestrator - status-only UT substeps are exempt from pausing so the toolkit omitting them from the payload has no bearing on whether they pause; the "hidden UI + missing key ⇒ stall" coupling doesn't actually exist. This is not a blocker and the current omit-based approach is safe. |
What this adds
The language-server side of the unit-test generation experience for AWS Transform (.NET). It powers the Visual Studio behavior.
Customers choose up front whether unit tests get generated; this passes that choice to the transformation job and tells the IDE which steps to show as plain progress.
Changes (language server)
1. Carry the customer's unit-test choice to the job
2. Mark unit-test steps as status-only
Notes