Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(codersdk/workspacesdk): make dialer fail fast for authnz errors#19173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 2 commits intomainfromethan/dialer-fail-fast-authnz
Aug 5, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedAug 5, 2025
edited
Loading

Closes#18599.

The linked issue was created due to me assuming the dialer didn't fail fast at all. In reality, it does fail fast, but only for a select few status codes. Auth[n|z] errors aren't any of those status codes, despite being 'permanent' in the same way a400 is.
This PR makes 401* and 403 'permanent' errors, meaning the dialer will give up immediately after receiving them from coderd.

*One reason to receive a 401 is when the supplied resume_token is invalid. These are not permanent errors, and when we encounter those the dialer will retain the existing behaviour of unsetting the resume token and retrying.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@ethanndicksonethanndickson changed the titlechore: make workspace sdk dialer fail fast for authnz errorschore(codersdk/workspacesdk): make dialer fail fast for authnz errorsAug 5, 2025
@ethanndicksonethanndickson marked this pull request as ready for reviewAugust 5, 2025 02:15
@ethanndicksonethanndicksonforce-pushed theethan/dialer-fail-fast-authnz branch from080e6f0 to72b8701CompareAugust 5, 2025 03:40
@ethanndicksonethanndickson merged commit8b66a5a intomainAug 5, 2025
35 checks passed
@ethanndicksonethanndickson deleted the ethan/dialer-fail-fast-authnz branchAugust 5, 2025 07:52
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 5, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Initial coordination dial in Coder Desktop should fail fast
2 participants
@ethanndickson@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp