Skip to content

fix(shared): Avoid trailing period after dashboard URL in key error messages - #9602

Draft
djgould wants to merge 1 commit into
mainfrom
devin/eager-dhawan-8df812
Draft

fix(shared): Avoid trailing period after dashboard URL in key error messages#9602
djgould wants to merge 1 commit into
mainfrom
devin/eager-dhawan-8df812

Conversation

@djgould

@djgould djgould commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Description

The missing/invalid key error messages ended a sentence immediately after https://dashboard.clerk.com/last-active?path=api-keys. Terminals and dev overlays linkify the trailing period into the URL, producing ?path=api-keys., which the dashboard fails to resolve — users land on /apps instead of the API Keys page. PostHog shows ~13% of error-link clicks hit the broken variant.

Rewords the four affected strings in @clerk/shared (errorThrower.ts, keys.ts) so the URL sits mid-sentence with a trailing word absorbing the period. No other runtime strings in the repo have a URL directly followed by sentence punctuation.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

🤖 Generated with Claude Code

…essages

Terminals and dev overlays linkify the sentence period into the URL,
producing a broken /last-active?path=api-keys. link.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview Aug 28, 2026 2:42pm
swingset Ready Ready Preview Aug 28, 2026 2:42pm

Request Review

@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8eaab1c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 23 packages
Name Type
@clerk/shared Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/chrome-extension Patch
@clerk/clerk-js Patch
@clerk/electron Patch
@clerk/expo-passkeys Patch
@clerk/expo Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/headless Patch
@clerk/hono Patch
@clerk/localizations Patch
@clerk/msw Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/react Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/ui Patch
@clerk/vue Patch
@clerk/swingset Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@9602

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@9602

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@9602

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@9602

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9602

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9602

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9602

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@9602

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@9602

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@9602

@clerk/express

npm i https://pkg.pr.new/@clerk/express@9602

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@9602

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9602

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@9602

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@9602

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@9602

@clerk/react

npm i https://pkg.pr.new/@clerk/react@9602

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@9602

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@9602

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@9602

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@9602

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9602

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@9602

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@9602

commit: 8eaab1c

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