Skip to content

feat: support custom timeout for DevTools license download (#24722) (CP: 25.2)#24799

Merged
vaadin-bot merged 1 commit into
25.2from
cherry-pick-24722-to-25.2-1782310851468
Jun 24, 2026
Merged

feat: support custom timeout for DevTools license download (#24722) (CP: 25.2)#24799
vaadin-bot merged 1 commit into
25.2from
cherry-pick-24722-to-25.2-1782310851468

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #24722 to branch 25.2.

Original PR description

DevTools triggers an asynchronous license download that opens the
system browser so the user can sign in and fetch a license. The
license-checker waits a fixed 60 seconds for that to complete, which
is too short for first-time users who still need to register a Vaadin
account before they can download the license. When the timeout
elapses the download fails and the popup that initiated it becomes
stale, forcing a page reload and a repeat of the whole flow.

Allow callers of downloadLicense in the dev tools to pass an optional
timeout. The value is forwarded to the server and passed on to
LicenseChecker.checkLicenseAsync; when omitted the previous default
behavior is kept.

Fixes #24717

DevTools triggers an asynchronous license download that opens the
system browser so the user can sign in and fetch a license. The
license-checker waits a fixed 60 seconds for that to complete, which
is too short for first-time users who still need to register a Vaadin
account before they can download the license. When the timeout
elapses the download fails and the popup that initiated it becomes
stale, forcing a page reload and a repeat of the whole flow.

Allow callers of downloadLicense in the dev tools to pass an optional
timeout. The value is forwarded to the server and passed on to
LicenseChecker.checkLicenseAsync; when omitted the previous default
behavior is kept.

Fixes #24717

---------

Co-authored-by: totally-not-ai[bot] <290682512+totally-not-ai[bot]@users.noreply.github.com>
Co-authored-by: Artur Signell <artur@vaadin.com>
@vaadin-bot

Copy link
Copy Markdown
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) June 24, 2026 14:31
@github-actions

Copy link
Copy Markdown

Test Results

 1 452 files  ±0   1 452 suites  ±0   1h 24m 55s ⏱️ -32s
10 268 tests +2  10 200 ✅ +2  68 💤 ±0  0 ❌ ±0 
10 740 runs  +2  10 671 ✅ +2  69 💤 ±0  0 ❌ ±0 

Results for commit e4c55b9. ± Comparison against base commit b782d6a.

@vaadin-bot vaadin-bot merged commit 73c7bb4 into 25.2 Jun 24, 2026
31 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-24722-to-25.2-1782310851468 branch June 24, 2026 14:37
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.

2 participants