Skip to content

automations: feat: improve starter templates for 1.137 - #335013

Merged
Ulugbek Abdullaev (ulugbekna) merged 2 commits into
release/1.137from
ulugbekna/automation-templates-release-1.137
Sep 8, 2026
Merged

automations: feat: improve starter templates for 1.137#335013
Ulugbek Abdullaev (ulugbekna) merged 2 commits into
release/1.137from
ulugbekna/automation-templates-release-1.137

Conversation

@ulugbekna

@ulugbekna Ulugbek Abdullaev (ulugbekna) commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Backport #334983 (55733b2) to release/1.137 after prerequisite #334865.

  • Replace the four generic templates with Catch up on main, Issue triage, and Find bugs.
  • Preserve safe fast-forward updates, multi-repository triage grounded in individual repository precedents, and evidence-backed bug discovery.
  • Keep card and accessible descriptions concise; retain full prompts in the creation dialog and hover.
  • Preserve saved automations and provider/permission defaults.

Release compatibility fix

CI exposed three fixtures inherited from #334865 that still passed a main-only telemetry dependency to the four-argument release AutomationStore. Remove those arguments and the unused telemetry stub. This corrects eight compile errors and three browser test failures without changing production behavior.

Validation on release/1.137

  • Client transpilation and full client type checking passed.
  • Reproduced all three fixture failures before the correction.
  • 28 targeted tests passed across automation cards, provider routing, and Agent Host storage, including the three previously failing tests.
  • ESLint passed for every changed file; signed commits and pre-commit hygiene passed.

The main PR passed all CI and policy checks, received approval, and had both Copilot review threads resolved before merging. The release review naming suggestion was considered and resolved without introducing a release-only CSS selector rename.

Backport #334983 after the starter-template prerequisite #334865. Preserve the reviewed prompts, concise card and accessible descriptions, and regression coverage.

(cherry picked from commit 55733b2)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 8, 2026 08:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

There is a maintainability concern where a UI class/selector named for “prompt” now represents “description”, which should be reconciled to avoid future confusion.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Lite
Findings: 1 Low severity

New issues introduced by this change (1)
Severity Finding
Low severity src/​vs/​sessions/​contrib/​sessions/​browser/​views/​automationsView.ts — The element class name automations-template-card-prompt now renders the description (with the…
What changed in this PR

Backports improved “starter automation templates” into release/1.137, replacing the previous generic templates with three more actionable workflows while keeping the visible/accessibility copy concise and preserving full prompts via hover and the create dialog.

Changes:

  • Replaced the template catalogue contents and introduced a concise description field per template (with full prompt retained).
  • Updated the Automations cards UI to render short descriptions while keeping full prompts on hover and in the create dialog.
  • Updated accessibility output and browser tests to validate the new template behavior and copy.
File Description
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​automationsView.test.ts Updates expectations to cover the new template set and validate concise visible/accessible descriptions vs full prompts.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​automationTemplates.ts Defines the new three-template catalogue and adds description alongside prompt.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​automationsView.ts Renders template cards using description for visible text, keeping prompt in hover and dialog initial values.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​automationsAccessibility.ts Switches accessible template listing from full prompt text to concise description text.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/sessions/contrib/sessions/browser/views/automationsView.ts
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: b90e78d5 Current: 511b3bdc

Changed (14)

sessions/automations/automationsView/Empty/Dark
Before After
before after
sessions/automations/automationsView/Empty/Light
Before After
before after
sessions/automations/automationsView/Empty/DarkHighContrast
Before After
before after
sessions/automations/automationsView/NarrowEmpty/Dark
Before After
before after
sessions/automations/automationsView/NarrowEmpty/Light
Before After
before after
sessions/automations/automationsView/Loading/Dark
Before After
before after
sessions/automations/automationsView/Loading/Light
Before After
before after
sessions/automations/automationsView/Unavailable/Dark
Before After
before after
sessions/automations/automationsView/Unavailable/Light
Before After
before after
sessions/automations/automationsView/Unavailable/DarkHighContrast
Before After
before after
sessions/automations/automationsView/NarrowUnavailable/Dark
Before After
before after
sessions/automations/automationsView/NarrowUnavailable/Light
Before After
before after
sessions/automations/automationsView/Error/Dark
Before After
before after
sessions/automations/automationsView/Error/Light
Before After
before after

4 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

Correct three fixtures inherited from #334865 that passed a main-only telemetry dependency to the four-argument release AutomationStore. Remove the unused telemetry stub without changing production behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ulugbekna
Ulugbek Abdullaev (ulugbekna) merged commit 24639bd into release/1.137 Sep 8, 2026
30 checks passed
@ulugbekna
Ulugbek Abdullaev (ulugbekna) deleted the ulugbekna/automation-templates-release-1.137 branch September 8, 2026 09:14
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 8, 2026
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.

3 participants