Repository navigation
[workers-auth] Use client-specific temporary-account guidance and structured auth errors - #16375
Conversation
🦋 Changeset detectedLatest commit: 870d3f7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
|
LGTM |
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
💬 Approved with comments — No correctness, security or performance problems found. The only comment is optional: add a Wrangler changeset for the Findings: 1 suggestion The decision is advisory: this comment never approves, blocks or requests changes on the pull request. 🔧 Fix with your agentPaste the following into your coding agent to investigate and fix these issues. 🚀 Release: 💬 1 suggestionThe changeset covers workers-auth but not the Wrangler Recommendation: 💬 Optional Nits
View full reviewRisk: Low The
Users can notice this, for example in how errors appear and how ✅ All other checks passed🔒 Security: ✅ LGTMNo security issues found in the authentication error changes or the dev teardown changes. 📖 AGENTS.md: ✅ LGTMNo AGENTS.md updates are needed for this change. 📋 Code Quality: ✅ LGTMNo issues found.
⚡ Performance: ✅ LGTMNo performance issues found. 📝 Documentation: ✅ LGTMNo documentation issues found. Reviewed commit: |
65989f4 to
23f56ee
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
There was a problem hiding this comment.
Devin Review found 1 new potential issue.
⚠️ 1 issue in files not directly in the diff
⚠️ Wrangler watcher fix lacks release entry
The runBuild teardown fix has no Wrangler changeset after this deletion. The remaining auth changeset does not describe the fix, so Wrangler users lose its changelog entry.
Related to cloudflare/cf#298.
workers-auth now uses each CLI's temporary-account flag in authentication errors:
--temporary-accountfor cf and--temporaryfor Wrangler. ExportAuthenticationErrorso consumers can inspect login/refresh failure reasons without matching messages, while preserving Wrangler's existing telemetry type and label.Fix the Windows CI teardown race by waiting for pending unbundled rebuilds and disposing the entrypoint build context before removing build directories.
Validation after rebasing onto
origin/main(a4eb57d33), using the frozen lockfile:credentials.test.ts,state.test.ts, andtoken-exchange.test.ts, previously verified on unchanged base7d57659636.