Skip to content

Promo recorder runs from a fresh install - #10

Merged
tshmieldev merged 1 commit into
mainfrom
tshmieldev/promo-recorder
Sep 21, 2026
Merged

tshmieldev merged 1 commit into
mainfrom
tshmieldev/promo-recorder

Conversation

@tshmieldev

Copy link
Copy Markdown
Owner

Follow-up to the review on #9. Tooling only; nothing in the extension changes.

  • playwright was imported by promo/record.mjs but not declared, so the script failed after a fresh bun install. It is a dev dependency now. The browser is still a separate one-off download (bunx playwright install chromium), noted at the top of the script, so CI and ordinary installs fetch nothing extra.
  • The page's file URL is built with pathToFileURL, so a folder named with #, ? or % stays a path.
  • The PROMO_DIR override is removed. It only existed to run the script from outside the repo while playwright was missing.

Checked by running bun promo/record.mjs simple from the repo: it rendered promo/sharp-simple.mp4. 125 tests pass; bun run check is clean.

From the review on #9.

- playwright was imported but not declared, so `bun promo/record.mjs` failed
  after a fresh install. It is a dev dependency now; the browser is still a
  separate one-off download, noted at the top of the script.
- The page's file URL is built with pathToFileURL, so a folder named with
  #, ? or % stays a path.
- The PROMO_DIR override is gone: it existed only to run the script from
  outside the repo while playwright was missing.
Copilot AI lite review requested due to automatic review settings September 21, 2026 13:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 5a2a951b-6eda-4265-9eaf-d620e2e8c09e

📥 Commits

Reviewing files that changed from the base of the PR and between ebcfde8 and 3dc5f91.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • package.json
  • promo/record.mjs
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@tshmieldev
tshmieldev merged commit a0abffc into main Sep 21, 2026
2 of 3 checks passed
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.

2 participants