Skip to content

Skip screenshot capture when no components are modified - #87

Closed
thedjpetersen wants to merge 1 commit into
mainfrom
deej/skip-screenshots-when-no-components
Closed

thedjpetersen wants to merge 1 commit into
mainfrom
deej/skip-screenshots-when-no-components

Conversation

@thedjpetersen

Copy link
Copy Markdown
Contributor

The PR enrichment workflow was capturing screenshots for ALL stories when no components were modified, causing the job to run for 1+ hour.

Changes:

  • Add has_components output from analyze step
  • Skip Playwright/ffmpeg installation when no components changed
  • Skip screenshot capture, upload, and a11y audit when no components
  • Create empty report files to keep generate-pr-comment working

The PR enrichment workflow was capturing screenshots for ALL stories
when no components were modified, causing the job to run for 1+ hour.

Changes:
- Add has_components output from analyze step
- Skip Playwright/ffmpeg installation when no components changed
- Skip screenshot capture, upload, and a11y audit when no components
- Create empty report files to keep generate-pr-comment working
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 6, 2026
@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

PR Analysis Report

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@xds/core 4.4KB 7.3KB 1.2KB

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | View full report

@cixzhang cixzhang closed this Feb 21, 2026
@cixzhang
cixzhang deleted the deej/skip-screenshots-when-no-components branch February 25, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants