Skip to content

SWP-9: add Recent Jobs panel for browsing user's SLURM jobs#19

Open
yasithdev wants to merge 3 commits into
mainfrom
SWP-9
Open

SWP-9: add Recent Jobs panel for browsing user's SLURM jobs#19
yasithdev wants to merge 3 commits into
mainfrom
SWP-9

Conversation

@yasithdev

@yasithdev yasithdev commented Apr 27, 2026

Copy link
Copy Markdown
Contributor
  • Adds a "Usage" tree view (collapsed by default) under the CyberShuttle sidebar
  • Root nodes: SLURM clusters derived from the session store
  • Each cluster expands into Active (squeue) and Recent (sacct, last 25 from past 30 days, deduped against active) sections
  • squeue + sacct fired in parallel via SshManager.runRemoteCommand
  • Clicking a job opens a markdown preview on the cybershuttle-job: scheme; content built from scontrol show job + tail -n 200 of stdout/stderr
  • Re-clicking the same job fires the provider's onDidChange to force a fresh fetch
  • No public commands declared in package.json (cluster refresh deferred — collapse/reopen the view to refetch for now)

@yasithdev yasithdev requested a review from DImuthuUpe April 27, 2026 03:57
@yasithdev yasithdev changed the title feat: add Recent Jobs panel for browsing user's SLURM jobs SWP-9: add Recent Jobs panel for browsing user's SLURM jobs Apr 27, 2026
@yasithdev yasithdev self-assigned this Apr 27, 2026
@yasithdev yasithdev added the enhancement New feature or request label Apr 28, 2026
@yasithdev yasithdev closed this Apr 28, 2026
@yasithdev yasithdev reopened this Apr 28, 2026
@yasithdev yasithdev moved this to In Progress in Cybershuttle Apr 28, 2026
Adds a "Usage" tree view (collapsed by default) under the CyberShuttle
sidebar that lists SLURM clusters from the session store. Expanding a
cluster runs squeue + sacct in parallel and shows two sections:
Active jobs and Recent (last 25 from the past 30 days, deduped against
active).

Clicking a job opens a markdown preview with scontrol-derived metadata
(state, partition, times, node list, etc.) and tail of stdout/stderr.
Markdown content is provided via a TextDocumentContentProvider on the
'cybershuttle-job:' scheme. A re-click forces a fresh fetch via the
provider's onDidChange event.
@yasithdev yasithdev marked this pull request as ready for review May 8, 2026 00:45
@yasithdev yasithdev moved this from In Progress to In Review in Cybershuttle May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant