Skip to content

Fix architecture tracking.#3999

Open
lewisgoddard wants to merge 1 commit intomasterfrom
fix-architecture-tracking
Open

Fix architecture tracking.#3999
lewisgoddard wants to merge 1 commit intomasterfrom
fix-architecture-tracking

Conversation

@lewisgoddard
Copy link
Member

The issue is that the .download-link click handler is async, and the browser may follow the link (triggering page navigation/download) before the await detectedArchitecture() Promise resolves, abandoning the async chain before plausible() is ever called.

The fix is to pre-fetch the architecture detection eagerly (before the user clicks), so it's already resolved by the time a click fires.


This pull request is ready for review.

@lewisgoddard lewisgoddard requested a review from a team February 28, 2026 13:40
@lewisgoddard lewisgoddard enabled auto-merge (squash) February 28, 2026 13:40
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.

1 participant