Content-Length: 263851 | pFad | https://github.com/coder/coder/commit/40a6367d4bcfbd7c108da76e379aec5c3c395f05

13 chore: update CLAUDE.md to discourage time.Sleep (#18967) · coder/coder@40a6367 · GitHub
Skip to content

Commit 40a6367

Browse files
authored
chore: update CLAUDE.md to discourage time.Sleep (#18967)
1 parent 6d33591 commit 40a6367

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ app, err := api.Database.GetOAuth2ProviderAppByClientID(ctx, clientID)
107107
- Full suite: `./scripts/oauth2/test-mcp-oauth2.sh`
108108
- Manual testing: `./scripts/oauth2/test-manual-flow.sh`
109109

110+
### Timing Issues
111+
112+
NEVER use `time.Sleep` to mitigate timing issues. If an issue
113+
seems like it should use `time.Sleep`, read through https://github.com/coder/quartz and specifically the [README](https://github.com/coder/quartz/blob/main/README.md) to better understand how to handle timing issues.
114+
110115
## 🎯 Code Style
111116

112117
### Detailed guidelines in imported WORKFLOWS.md

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/coder/coder/commit/40a6367d4bcfbd7c108da76e379aec5c3c395f05

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy