Skip to content

fix(sdk): guard non-positive Every durations#66

Merged
BCook98 merged 1 commit into
mainfrom
guard-sdk-timer-edge-cases
Jun 24, 2026
Merged

fix(sdk): guard non-positive Every durations#66
BCook98 merged 1 commit into
mainfrom
guard-sdk-timer-edge-cases

Conversation

@BCook98

@BCook98 BCook98 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make Room.Every(d <= 0) return 0 instead of panicking
  • align TestRoom timer behavior and add regression coverage
  • fix stale package-lock metadata and package comment

Tests

  • go test ./host/sdk
  • go test ./...
  • go build ./...
  • go vet ./...

@BCook98
BCook98 merged commit c470738 into main Jun 24, 2026
6 checks passed
@BCook98
BCook98 deleted the guard-sdk-timer-edge-cases branch June 24, 2026 10:11
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