Skip to content

Piece 2 blocked: PR #257 (monitor) not yet merged, and copilotide provider API has diverged #302

Description

@warnes

@warnes Automated Piece 2 status check.

PR #160 (copilot-ide → dev) is merged ✅ (merged 2026-08-07 by @belucid), so the routine moved on to the "PR #160 is merged" branch of its instructions — but it hit two blockers before it could safely make code changes:

1. PR #257 (the monitor) is still open, not merged into dev.
The Piece 2 instructions assume pkg/monitor/copilotwatch.go, pkg/monitor/copilotwatch_test.go, pkg/monitor/activity_copilotide.go, pkg/monitor/activity_stub.go, pkg/cmd/monitor_copilotide.go, and pkg/cmd/monitor_stub.go already exist in dev (gated behind //go:build copilotide_monitor) and just need that tag removed. None of these files exist in dev at all — they only exist on PR #257's branch (feat/source-tree-monitor in warnes/getspecstory), which is still open. There is nothing to un-gate yet.

2. The merged copilotide provider code has diverged from the fork's accessor branch.
The accessor commit on feat/copilotide-all-workspaces (warnes/getspecstory) was written against an earlier shape of pkg/providers/copilotide (a WorkspaceMatch type, local readWorkspaceJSON/uriToPath/collectCodeWorkspaceFolders helpers). What actually landed via PR #160 refactored workspace matching into a shared pkg/providers/vscode package instead:

  • ReadWorkspaceJSON and URIToPath already exist and are already exported — but in vscode, not copilotide.
  • Variants() doesn't exist anywhere (the four VS Code distributions are just package-level vars in copilotide: VSCode, VSCodeInsiders, VSCodium, VSCodiumInsiders).
  • CollectCodeWorkspaceFolders doesn't exist exported anywhere; vscode.collectCodeWorkspaceFolders is unexported.

So the fork's accessor code can't be copy-pasted as-is — it needs to be re-derived against the current vscode-package-based structure once there's an actual monitor caller to design it for.

Recommendation: land/rebase PR #257 against current dev first (it will need updating for the same provider refactor), then redo the accessor wrappers against the real call sites, rather than pre-adding unused accessors now.

No code changes or PRs were made by this run to avoid producing dead/mismatched code. Next steps: review and merge/rebase PR #257, then re-run Piece 2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions