You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[QA] In-editor end-to-end smoke test for the .affine VS Code extension #139
The port of the VS Code extension from extension.ts to extension.affine (tracked in #63, unblocked by #35) is complete and mechanically verified: the .ts file is gone, package.jsonmain points at ./out/extension.cjs, the --vscode-extension wiring (#90, #116) resolves the Vscode/VscodeLanguageClient imports, and tools/check-no-extension-ts.sh guards against regression.
The one acceptance item from #63 that cannot be proven from the repo tree is live-host behaviour: it needs a running VS Code extension host.
Acceptance criteria
Load the compiled ./out/extension.cjs in a real VS Code host and verify:
Extension activates without error.
All five commands register and run: affinescript.{check,eval,compile,format,restartLsp}.
LSP client starts, attaches, and restartLsp cycles it cleanly.
Disposables are cleaned up on deactivate (no leaked watchers/terminals).
Origin
Split out of #63 so that issue can close on its mechanically-verifiable criteria. Fold into the #104 publish QA pass if convenient rather than running standalone.
Smoke harness shipped in PR #317. Verifies all four acceptance bullets headlessly via @vscode/test-electron (CI job vscode-smoke).
Local runbook: from editors/vscode/, fetch deps (one-time) then xvfb-run npm test (or plain npm test on a desktop session). See the PR body for the AC→test mapping and editors/vscode/README.md for the full runbook.
Activity
hyperpolymath commentedon May 21, 2026
Smoke harness shipped in PR #317. Verifies all four acceptance bullets headlessly via
@vscode/test-electron(CI jobvscode-smoke).Local runbook: from
editors/vscode/, fetch deps (one-time) thenxvfb-run npm test(or plainnpm teston a desktop session). See the PR body for the AC→test mapping andeditors/vscode/README.mdfor the full runbook.Qa 139 vscode smoke (#320)
fix(ci): three foundational unblocks for the main-branch baseline (PR…
fix(ci): unblock the PR queue — bench/dune + adapter-load + .res-fixt…
fix(vscode-smoke): SKIP cleanly when @hyperpolymath/affine-vscode is …
feat(codegen): embed affine-vscode adapter at compile time (root-caus…
feat(codegen): embed affine-vscode adapter at compile time (root-caus…