Skip to content

fix(stabilization): allow not found images#267

Merged
gregberge merged 1 commit intomainfrom
allow-404-images
Jan 15, 2026
Merged

fix(stabilization): allow not found images#267
gregberge merged 1 commit intomainfrom
allow-404-images

Conversation

@gregberge
Copy link
Member

No description provided.

@gregberge gregberge requested review from a team, Copilot and jsfez and removed request for a team January 15, 2026 08:24
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
argos-js-sdk-reference Ready Ready Preview, Comment Jan 15, 2026 8:38am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modifies the image stabilization logic to allow screenshots to proceed even when images fail to load (e.g., 404 errors). Previously, the stabilization would block on broken images by checking both img.complete and img.naturalWidth > 0, which prevented screenshots from being taken when images were not found.

Changes:

  • Removed the naturalWidth > 0 check from the waitForImages plugin to allow failed/not-found images

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gregberge gregberge merged commit baefd88 into main Jan 15, 2026
65 checks passed
@gregberge gregberge deleted the allow-404-images branch January 15, 2026 09:36
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