Skip to content

Resume session#1543

Open
nturinski wants to merge 16 commits into
feat/CoRfrom
nat/resumeSession
Open

Resume session#1543
nturinski wants to merge 16 commits into
feat/CoRfrom
nat/resumeSession

Conversation

@nturinski

Copy link
Copy Markdown
Member

Improvements to Copilot-on-Rails covering session resume, project artifact tracking, and UI discoverability.

Session resume
Record each agent launch so an interrupted run can be resumed from the right phase.
Wire up the "Resume project setup" status-bar affordance and command in extension activation. (Hard to see but some devs probably look down here)
image

Project artifact tracking
Track .azure/requirements.json alongside the plan files, so a project is detected from its requirements too (ProjectPlanFiles.hasRequirements, updated hasAny).
Centralize all .azure/* artifact paths into shared glob constants and watch all of them.

UI
Add an azureProject.refresh command to the Azure Project view's title bar for manual refreshes.

Cleanup
Add named constants for the Copilot-on-Rails agent identifiers to remove duplicated agent-name strings.
Add refreshProjectTree to the extension actions namespace.

Nathan Turinski added 9 commits July 7, 2026 15:37
Wire a refresh command for the 'azureProject' tree view: register 'azureProject.refresh', expose ext.actions.refreshProjectTree bound to the tree provider's refresh(), and add a refresh title-bar button (codicon refresh) gated on view == azureProject.
Closing the project-plan, debug/local-plan, or requirements view now clears the session (handleTrackedViewClosed -> clearSession), so an abandoned flow stops offering resume. Programmatic phase hand-offs are guarded by a one-shot suppressTrackedViewCloseOnce() so advancing to the next phase isn't treated as abandonment. Chat-session close detection is left as a documented TODO pending a stable API.

Also replaces hard-coded agent-name strings in the recordAgentLaunch call sites and the AGENT_PHASE/PHASE_CONFIG maps with the shared constants from constants.ts.
@nturinski nturinski requested a review from a team as a code owner July 8, 2026 17:51
nturinski and others added 7 commits July 8, 2026 10:52
…me session fixes

On UI approval, set project-plan status to Integrating (new writeProjectPlanStatus util) and add the state to plan-state references and the integrate agent prerequisites.

Resolve the frontend preview folder from the project plans folder-structure tree, falling back to services/web then a looksLikeFrontend workspace scan.

Mark the session active in-window on resume even when re-opening the Frontend Preview instead of launching a chat agent, so the resume offer is dismissed.
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.

1 participant