Add maintenance view to the agentic workflows dashboard#42297
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a new Maintenance tab to the agentic workflows dashboard extension so maintainers can check/run gh aw update and gh aw upgrade (including an “include pre-releases” toggle) directly from the UI, with inline command output and post-action data refresh behavior.
Changes:
- Adds a Maintenance tab UI with update/upgrade “check” vs “run” controls and inline output.
- Introduces maintenance-specific client state (
includePreReleases, last action, in-flight state, output) and command construction helpers. - Adds layout styling for the maintenance action grid.
Show a summary per file
| File | Description |
|---|---|
| .github/extensions/agentic-workflows-dashboard/web/styles.css | Adds a responsive grid layout for the maintenance action cards. |
| .github/extensions/agentic-workflows-dashboard/web/index.html | Adds the new Maintenance tab UI, including the pre-release toggle and output panel. |
| .github/extensions/agentic-workflows-dashboard/web/app.js | Wires Maintenance tab state + command execution into the shipped web runtime. |
| .github/extensions/agentic-workflows-dashboard/src/app.ts | Adds typed maintenance state + command construction/execution in the source dashboard app. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 4
- Review effort level: Low
| selectedRun: WorkflowRun | null; | ||
| includePreReleases: boolean; | ||
| maintenanceOutput: string; | ||
| maintenanceLastAction: string; |
| selectedRun: null, | ||
| auditData: null, | ||
| loadingAudit: false, | ||
| errorAudit: "", | ||
| includePreReleases: false, | ||
| maintenanceOutput: "Use this view to check dashboard maintenance commands before applying updates or upgrades.", | ||
| maintenanceLastAction: "", | ||
| commandInput: "", |
|
@copilot please run the
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
|
@copilot merge main, recompile fix conflicts |
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Ran PR finisher checks and pushed fixes in |
This adds a dedicated maintenance view to the
.githubextensions dashboard so maintainers can check for pending updates/upgrades and run those operations without dropping to the terminal. The view also exposes pre-release selection for upgrade flows.Maintenance surface
Maintenancetab to the dashboard alongside the existing workflow/run/usage views.gh aw updategh aw upgradeCheck vs run actions
gh aw updategh aw upgrade --auditgh aw upgradePre-release support
Dashboard state + refresh behavior
update/upgrade), refreshes the dashboard datasets so workflow, run, usage, and experiment views reflect the new repository state.Command wiring