Qa 139 vscode smoke#320
Merged
Merged
Conversation
#139) Adds editors/vscode/test/ — a headless extension-host runner that loads the compiled out/extension.cjs in a real VS Code and asserts the four acceptance bullets from #139: 1. activation without error 2. all five affinescript.* commands register and invoke 3. restartLsp cycles cleanly (back-to-back invocations resolve) 4. deactivate resolves without throwing Wires a vscode-smoke job into .github/workflows/ci.yml (Node 20 + xvfb-run + `npm test`). The compiled extension.cjs is already checked in (#35 Phase 3), so the smoke job needs only the Node-side test deps — not the OCaml toolchain. The Node-only runner is recorded as the second Runtime Exemption in .claude/CLAUDE.md, paralleling the existing affine-vscode-publish.yml carve-out (#104). Scope is strictly editors/vscode/test/; no production code adopts Node. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- editors/vscode/README.md gains a "Smoke testing the compiled extension" subsection under Contributing: run instructions, what the harness asserts, the LSP-attach env-var escape hatch, pointer to the Runtime Exemption in CLAUDE.md. - docs/CAPABILITY-MATRIX.adoc Node-CJS row gains the live-host smoke status (was missing — the row only attested the .cjs compile path). Refs #139, PR #317. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
No description provided.