Skip to content

Add maintenance view to the agentic workflows dashboard#42297

Merged
pelikhan merged 5 commits into
mainfrom
copilot/update-github-extensions-dashboard
Jun 29, 2026
Merged

Add maintenance view to the agentic workflows dashboard#42297
pelikhan merged 5 commits into
mainfrom
copilot/update-github-extensions-dashboard

Conversation

Copilot AI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This adds a dedicated maintenance view to the .github extensions 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

    • Adds a new Maintenance tab to the dashboard alongside the existing workflow/run/usage views.
    • Splits maintenance actions into two lanes:
      • workflow source updates via gh aw update
      • repository/extension upgrades via gh aw upgrade
  • Check vs run actions

    • Introduces explicit check and run controls for both operations:
      • Check updates uses current workflow status output to inspect update state
      • Run update executes gh aw update
      • Check upgrades executes gh aw upgrade --audit
      • Run upgrade executes gh aw upgrade
    • Keeps command output inline in the dashboard so the operator can inspect results immediately.
  • Pre-release support

    • Adds a toggle to include pre-release versions when running upgrade-related commands.
    • Threads that selection directly into upgrade command construction without affecting update commands.
  • Dashboard state + refresh behavior

    • Adds maintenance-specific UI state for:
      • selected pre-release mode
      • last maintenance action
      • in-flight execution state
      • inline command output
    • After mutating maintenance actions (update / upgrade), refreshes the dashboard datasets so workflow, run, usage, and experiment views reflect the new repository state.
  • Command wiring

    • Reuses the existing command execution path instead of introducing a separate backend surface.
    • Centralizes maintenance command construction in the dashboard app so the UI and executed command stay aligned.
buildMaintenanceCommand(action) {
  if (action === "check-update") return "gh aw status --json";
  if (action === "run-update") return "gh aw update";
  if (action === "check-upgrade") {
    return `gh aw upgrade --audit${this.includePreReleases ? " --pre-releases" : ""}`;
  }
  return `gh aw upgrade${this.includePreReleases ? " --pre-releases" : ""}`;
}

Copilot AI and others added 2 commits June 29, 2026 16:45
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Add maintenance view to the extensions dashboard Add maintenance view to the agentic workflows dashboard Jun 29, 2026
Copilot AI requested a review from pelikhan June 29, 2026 16:49
@pelikhan pelikhan marked this pull request as ready for review June 29, 2026 17:07
Copilot AI review requested due to automatic review settings June 29, 2026 17:07

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.

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

Comment on lines 37 to +40
selectedRun: WorkflowRun | null;
includePreReleases: boolean;
maintenanceOutput: string;
maintenanceLastAction: string;
Comment on lines 124 to 128
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: "",
Comment thread .github/extensions/agentic-workflows-dashboard/src/app.ts
Comment thread .github/extensions/agentic-workflows-dashboard/web/app.js
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill to verify this PR is fully ready to merge and address any remaining issues.

Generated by 👨‍🍳 PR Sous Chef · 193.2 AIC · ⌖ 8.61 AIC · ⊞ 6.7K ·

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot merge main, recompile fix conflicts

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@copilot please run the pr-finisher skill to verify this PR is fully ready to merge and address any remaining issues.

...

Ran PR finisher checks and pushed fixes in ddaf193 (restored run-audit state/method wiring + /api/refresh cache clear before post-maintenance refetch) and 51ff9f5 (merged latest main to resolve mergeability conflicts). Local validation passed: make fmt, make lint, make test-unit, make test, make recompile, plus parallel_validation (Code Review + CodeQL) with no findings. CI on the new head is now stale/unverified and needs a maintainer re-trigger before merge.

Copilot AI requested a review from gh-aw-bot June 29, 2026 18:03
@pelikhan pelikhan merged commit eae5e47 into main Jun 29, 2026
@pelikhan pelikhan deleted the copilot/update-github-extensions-dashboard branch June 29, 2026 18:05
Copilot stopped work on behalf of pelikhan due to an error June 29, 2026 18:18
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