Resume session#1543
Open
nturinski wants to merge 16 commits into
Open
Conversation
added 9 commits
July 7, 2026 15:37
…esourcegroups into nat/resumeSession
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.
…de-azureresourcegroups into nat/resumeSession
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
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.