run alpha/futures/spot lookup paths concurrently in collectRichTokenData
keep source decisions independent and output shape unchanged
add concurrency-focused test that fails under sequential execution
Test Plan
go test ./internal/services/tele/commands -run RunsLookupsConcurrently -v -count=1
go test ./internal/services/tele/commands -v -count=1
go test ./... -count=1
## Summary
- run alpha/futures/spot lookup paths concurrently in collectRichTokenData
- keep source decisions independent and output shape unchanged
- add concurrency-focused test that fails under sequential execution
## Test Plan
- [x] go test ./internal/services/tele/commands -run RunsLookupsConcurrently -v -count=1
- [x] go test ./internal/services/tele/commands -v -count=1
- [x] go test ./... -count=1
Fetch alpha, futures, and spot sources concurrently in token lookup flow to reduce end-to-end response latency while preserving independent source behavior.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
go test ./internal/services/tele/commands -run RunsLookupsConcurrently -v -count=1
go test ./internal/services/tele/commands -v -count=1
go test ./... -count=1
go test -race ./internal/services/tele/commands -run CollectRichTokenData -count=1
[codex] review results for PR #20.
PASS
No blocking issues found in the latest update.
Validation:
- `go test ./internal/services/tele/commands -run RunsLookupsConcurrently -v -count=1`
- `go test ./internal/services/tele/commands -v -count=1`
- `go test ./... -count=1`
- `go test -race ./internal/services/tele/commands -run CollectRichTokenData -count=1`
thuanle
merged commit 391169761a into feat/token-message-rich2026-04-26 19:15:53 +07:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Test Plan
[codex] review results for PR #20.
PASS
No blocking issues found in the latest update.
Validation:
go test ./internal/services/tele/commands -run RunsLookupsConcurrently -v -count=1go test ./internal/services/tele/commands -v -count=1go test ./... -count=1go test -race ./internal/services/tele/commands -run CollectRichTokenData -count=1