Skip to content

refactor(puppeteer): split runScript orchestration#191

Merged
cawalch merged 1 commit into
mainfrom
issue-143-split-run-script
Jul 7, 2026
Merged

refactor(puppeteer): split runScript orchestration#191
cawalch merged 1 commit into
mainfrom
issue-143-split-run-script

Conversation

@cawalch

@cawalch cawalch commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Splits PuppeteerRunner.runScript into smaller helpers for result construction and final flush handling.

  • adds dedicated success/failure result builders
  • extracts final flush + cleanup into finishRun()/flushFinalEvents()
  • preserves existing behavior

Tests: cd services/puppeteer-worker && npm test

Fixes #143

@cawalch
cawalch merged commit c805ffe into main Jul 7, 2026
11 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.

Split PuppeteerRunner.runScript() into smaller composable methods

1 participant