Repository navigation
chore(demo): add the demo GIF recorder - #336
Merged
Merged
Conversation
Scripts under scripts/demo-gifs drive a packaged VSIX in a throwaway VS Code profile over CDP and encode each scene to a GIF, plus a per-second review sheet for the privacy check. They have their own package.json and are already excluded from the VSIX by scripts/** in .vscodeignore. Documents the workflow, layout, decision, and failure modes in .ai/.
Contributor
🛡️ Security Hardening Pipeline ResultsBranch: Workflow Run: 531 Scan Status
Summaries Collected: 4 Scanner Results🔬 CodeQL SAST (Javascript)Status: Completed Findings Summary
No security findings detected for Javascript. Artifacts: CodeQL Reports (Javascript) 🔗 Dependency ReviewStatus: ✅ No issues found No vulnerable or license-violating dependencies detected in this PR. 🔑 Gitleaks (Secrets)No 🔑 Gitleaks (Secrets) findings summary was produced. 📦 OSV (Dependencies)No 📦 OSV (Dependencies) findings summary was produced. Generated by Argus Generated by Argus |
- Refuse a GCH_DEMO_DIR not named gch-demo* or containing the home folder or repo, since the folder is wiped on every run. - Launch on a free debug port read from DevToolsActivePort, and kill VS Code if attaching fails, so a stray instance is never recorded. - Delete back to the @ however long the inserted version is. - Read the source count from the settings fixture. - Move the real mouse with the drawn cursor so hovers start in place. - Document npm ci, the root build prerequisite, and the folder rule.
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.
Summary
cd scripts/demo-gifs && npm install && npm run record./tmp/gch-demoand writeout/<scene>.gifplus a review sheet with one frame per second for checking nothing private shows up.package.jsonand lockfile, so the extension's install and bundle don't change.scripts/**was already in.vscodeignore, andvsce lsshows nothing fromscripts/in the VSIX..ai/gets arecord_demo_gifsworkflow, an architecture entry, a decision on hosting the GIFs as user-attachments, and a troubleshooting entry.index.yamlregenerated.Change Type
Context
User-facing impact
GitLab scope
Affected areas
Validation
Local checks
npx eslint --max-warnings 0 .(added a lint block forscripts/demo-gifs/**/*.mjs)npm auditinscripts/demo-gifs: 0 vulnerabilitiesnpm run recordfrom a clean work dir produced all five GIFs, matching the ones in the READMEManual test notes
Breaking Changes
Risk and Rollback
.ai/errors.yaml(demo_gif_recording_fails).Release Notes Draft
Checklist