Skip to content

feat: detect login page redirects in screenshot service#19505

Merged
pimmey merged 1 commit intomainfrom
detect-redirect-to-login-in-unfurl-service
Jan 19, 2026
Merged

feat: detect login page redirects in screenshot service#19505
pimmey merged 1 commit intomainfrom
detect-redirect-to-login-in-unfurl-service

Conversation

@pimmey
Copy link
Copy Markdown
Contributor

@pimmey pimmey commented Jan 16, 2026

Closes: #19506

Description:

Improved error detection in UnfurlService by adding login page detection to catch authentication failures during screenshot generation.

The PR refactors the error detection logic in the screenshot service to:

  1. Check for both error boundaries and login page redirects
  2. Provide more specific error messages when authentication fails
  3. Add a unique ID to the login page component for reliable detection

This enhancement helps diagnose issues where users are unexpectedly redirected to the login page instead of seeing their requested content in screenshots.

Copy link
Copy Markdown
Contributor Author

pimmey commented Jan 16, 2026

@pimmey pimmey self-assigned this Jan 16, 2026
@pimmey pimmey requested a review from ZeRego January 16, 2026 16:18
@pimmey pimmey marked this pull request as ready for review January 16, 2026 16:18
@github-actions
Copy link
Copy Markdown

Your preview environment pr-19505 has been deployed.

Preview environment endpoints are available at:

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 16, 2026

Preview Environment

🌐 URL: https://lightdash-preview-pr-19505.lightdash.okteto.dev

📋 Logs: View in GCP Console

🔧 SSH: ./scripts/okteto-ssh.sh 19505

@pimmey pimmey changed the base branch from error-boundry-unfurl-service-throw to graphite-base/19505 January 16, 2026 16:34
@pimmey pimmey force-pushed the graphite-base/19505 branch from a37b971 to 7c196e4 Compare January 16, 2026 16:35
@pimmey pimmey force-pushed the detect-redirect-to-login-in-unfurl-service branch from df9119e to e21cbb3 Compare January 16, 2026 16:35
@graphite-app graphite-app bot changed the base branch from graphite-base/19505 to main January 16, 2026 16:35
Copy link
Copy Markdown
Contributor Author

pimmey commented Jan 19, 2026

Merge activity

  • Jan 19, 10:40 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jan 19, 10:40 AM UTC: @pimmey merged this pull request with Graphite.

@pimmey pimmey merged commit ec7694d into main Jan 19, 2026
57 of 60 checks passed
@pimmey pimmey deleted the detect-redirect-to-login-in-unfurl-service branch January 19, 2026 10:41
lightdash-bot pushed a commit that referenced this pull request Jan 19, 2026
# [0.2352.0](0.2351.0...0.2352.0) (2026-01-19)

### Features

* detect login page redirects in screenshot service ([#19505](#19505)) ([ec7694d](ec7694d)), closes [#19506](#19506)
@lightdash-bot
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.2352.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect redirect to login page in UnfurlService

3 participants