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

fix: use random names for TestUpdateUserProfile#15868

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 1 commit intomainfromethan/username-flake
Dec 16, 2024

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedDec 16, 2024
edited
Loading

Fixes a flake seen inhttps://github.com/coder/coder/actions/runs/12346801529/job/34452940351
It's possible but exceedingly rare for the randomly generated username to be exactly 32 characters.
Then, appending a1 to that username causes the username to be invalid and the test to fail. Instead of appending we'll just generate a new username that is <=32 characters.

TheUpdateSelf subtest has the same appending, but uses a fixed username that is less than 32 characters, so it doesn't need to be changed.

matifali reacted with thumbs up emoji
@ethanndicksonGraphite App
Copy link
MemberAuthor

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

@ethanndicksonethanndickson marked this pull request as ready for reviewDecember 16, 2024 06:15
Copy link

@cdr-botcdr-botbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main or release branch
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@ethanndicksonethanndicksonenabled auto-merge (squash)December 16, 2024 06:20
@ethanndicksonethanndickson merged commit409e2c7 intomainDec 16, 2024
34 checks passed
@ethanndicksonethanndickson deleted the ethan/username-flake branchDecember 16, 2024 06:59
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsDec 16, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@cdr-botcdr-bot[bot]cdr-bot[bot] approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ethanndickson

[8]ページ先頭

©2009-2025 Movatter.jp