Files
kandev/docs/plans/attach-workspace-sources/task-08-end-to-end-coverage.md
T
Carlos Florêncio bc218dfbbe feat: add workspace sources from files panel (#1900)
* feat: add workspace sources from files panel

* fix: preserve worktree identity during recovery

* feat: unify workspace source actions

* fix: validate recovered workspace repositories

* fix: harden workspace source filesystem boundaries

* test: split workspace repository chip coverage

* fix: restrict repository rescan recovery paths

* fix: stabilize workspace source CI checks

* test: canonicalize workspace source paths

* test: align workspace source container paths

* fix: populate direct workspace repository names

* test: preserve git fixture rewrites across restarts

* test: isolate backend git fixture config

* fix: resume remote workspace executions before creation

* fix: preserve ssh agent identity during resume

* fix: preserve SSH workspace across backend restart

* fix: simplify workspace actions trigger

* fix: refine add workspace repositories UX

* docs: narrow workspace source UX updates

* fix: avoid phantom turn on session resume

* test(web): normalize workspace source request headers

* feat(web): streamline workspace source picker

* docs: remove trailing spaces from workspace source plan

* fix: prevent resume status from creating phantom turns

* fix(web): stabilize workspace source attachment

* refactor(web): extract workspace source store contract

* fix: avoid phantom turns on idle agent resume

* fix: address backend static analysis findings

* fix: preserve agentctl readiness status value

* fix: preserve resume messages without active turns

* fix: resume agents from promoted workspace root

* chore: merge origin/main into feature/add-new-repo-folder-d97

* feat(web): explain workspace source consequences

* test(websocket): count session activity subscription
2026-07-25 21:29:53 +01:00

2.2 KiB

id, title, status, wave, depends_on, plan, spec
id title status wave depends_on plan spec
08-end-to-end-coverage End-to-end coverage completed 5
05-remote-materialization
07-files-panel-surface
plan.md ../../specs/tasks/attach-workspace-sources.md

Task 08: End-to-End Coverage

Acceptance

  • Desktop and mobile-chrome tests prove mixed local repository/folder attachment, live Files refresh, Git-only scoping, reload persistence, mobile geometry, and active-turn gating.
  • Container-gated Docker and SSH tests prove repository materialization, folder capability gating, rollback, relaunch/reconnect, and owned cleanup.
  • Tests use isolated disposable repositories/folders and leave developer data untouched.

Verification

rtk make build-web
rtk make build-backend
cd apps/web
rtk pnpm e2e -- e2e/tests/task/add-workspace-sources.spec.ts --project=chromium
rtk pnpm e2e -- e2e/tests/task/mobile-add-workspace-sources.spec.ts --project=mobile-chrome
rtk env KANDEV_E2E_CONTAINERS=1 pnpm e2e -- e2e/tests/docker/add-workspace-sources.spec.ts e2e/tests/ssh/add-workspace-sources.spec.ts --project=containers

Files likely touched

  • apps/web/e2e/tests/task/add-workspace-sources.spec.ts (new)
  • apps/web/e2e/tests/task/mobile-add-workspace-sources.spec.ts (new)
  • apps/web/e2e/tests/docker/add-workspace-sources.spec.ts (new)
  • apps/web/e2e/tests/ssh/add-workspace-sources.spec.ts (new)
  • focused E2E fixtures/helpers only when necessary

Dependencies

Tasks 05 and 07.

Inputs

  • Spec Scenarios.
  • apps/web/e2e/README.md and existing task-create, mobile file viewer, Docker launch, and SSH launch specs.

Output contract

Summary, files changed, exact projects/tests run, artifacts/screenshots, blockers, risks, divergence, and task/plan status updates.

Result

  • Managed desktop Chromium coverage passed: 2/2 tests.
  • Managed Pixel 5/mobile Chrome coverage passed: 1/1 test, including enabled-state and focus return.
  • Docker and SSH specs were added, collected, typechecked, and linted. Live execution was environment-blocked before source attachment: the managed runner did not expose its Docker socket, while the direct host Docker task did not reach an idle state within 120 seconds.