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 int64 in publisher delay#19457

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
deansheather merged 1 commit intomainfromdean/usage-int64
Aug 21, 2025
Merged

Conversation

deansheather
Copy link
Member

Builds were failing with:

Error: enterprise/coderd/usage/publisher.go:139:23: constant 720000000000 overflows int

Comment on lines +37 to +40
// Expect a panic if max is negative
require.PanicsWithValue(t,"invalid argument to Int63n",func() {
cryptorand.Int63n(0)
})

Choose a reason for hiding this comment

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

0 isn't negative

@deansheatherdeansheather merged commitbfd392b intomainAug 21, 2025
47 of 49 checks passed
@deansheatherdeansheather deleted the dean/usage-int64 branchAugust 21, 2025 01:23
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@ethanndicksonethanndicksonethanndickson approved these changes

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

Assignees

@deansheatherdeansheather

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@deansheather@ethanndickson

[8]ページ先頭

©2009-2025 Movatter.jp