Skip to content

Prototype built-package Ghostwright recordings in CI - #13

Open
rauhryan wants to merge 6 commits into
spike/component-recordingsfrom
spike/recording-ci
Open

rauhryan wants to merge 6 commits into
spike/component-recordingsfrom
spike/recording-ci

Conversation

@rauhryan

@rauhryan rauhryan commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Build Ghostwright from the PR revision, install its tarball in an isolated consumer, and record a real CLI conversation. The recording workflow uploads MP4/GIF, asciicast, and terminal-frame JSON, then updates a PR comment with the artifact link.

This playground-only prototype targets spike/component-recordings and needs no sibling UI/TTY repositories. The build/test job has read-only repository permissions. A separate job posts comments only on same-repository PRs and skips superseded heads. Artifacts are retained for 14 days; failed tests remain failed after upload.

The recording plugin is now available through the built ghostwright/recording export. Isolated package testing exposed an incompatible Effection minimum; the package and lockfile now require 4.2.0, matching the scope API in use.

Validation:

  • Clean filtered install using the frozen workspace lockfile and production package build.
  • Installed tarball CLI test passes, produces MP4/GIF, and verifies package exports resolve to installed dist files.
  • Actionlint, changed-file lint/format, and diff checks pass.
  • Live GitHub Actions build, packaged CLI test, and encoding succeeded. The bot posted the recording artifact link on this PR.
  • Downloaded the CI artifact and verified its H.264 MP4, GIF, cast, and final Ghostty frame (Hello, Ada!). Source metadata confirms the test imported installed package dist/index.js.

@socket-security

socket-security Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​effection@​4.0.3 ⏵ 4.2.098 +61009494 +1100

View full report

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Ghostwright CLI and Vim recordings

✅ Build + packaged CLI/Vim tests: success
PR head: 47f2ff4365aa2744d224dbc9d4e25e7368e36c49
Built revision (PR merge commit): 51e6d5a58e911a3d601012cbcb6857e2b9e453ad
Test/encoding: success

Download CLI MP4
Download Vim MP4

Download all recording files — MP4, GIF, asciicast and JSON trace. Available for 14 days.

View Actions run

These tests install the Ghostwright tarball built by this run and drive a real CLI and Vim/netrw through PTYs. No UI/TTY sibling checkouts are used.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant