Skip to content

Add a couple of code review guidelines#9516

Merged
bergundy merged 1 commit intotemporalio:mainfrom
bergundy:reviewer-guidelines
Mar 17, 2026
Merged

Add a couple of code review guidelines#9516
bergundy merged 1 commit intotemporalio:mainfrom
bergundy:reviewer-guidelines

Conversation

@bergundy
Copy link
Copy Markdown
Member

  • Use errors.AsType instead of errors.As
  • Use require.ErrorContains instead of two separate assertions (require.Error + require.Contains)

@bergundy bergundy requested review from a team as code owners March 13, 2026 23:18
@bergundy bergundy enabled auto-merge (squash) March 13, 2026 23:53
@bergundy bergundy merged commit eb106f2 into temporalio:main Mar 17, 2026
68 of 70 checks passed
stpierre pushed a commit that referenced this pull request Mar 17, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
@temporal-cicd temporal-cicd bot mentioned this pull request Mar 17, 2026
temporal-cicd bot pushed a commit that referenced this pull request Mar 17, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
stephanos pushed a commit that referenced this pull request Mar 17, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
stephanos pushed a commit that referenced this pull request Mar 18, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
@bergundy bergundy deleted the reviewer-guidelines branch March 20, 2026 05:39
stephanos pushed a commit that referenced this pull request Mar 20, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
birme pushed a commit to eyevinn-osaas/temporal that referenced this pull request Mar 23, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
stephanos pushed a commit that referenced this pull request Mar 23, 2026
- Use `errors.AsType` instead of `errors.As`
- Use `require.ErrorContains` instead of two separate assertions
(`require.Error` + `require.Contains`)
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.

2 participants