Skip to content

Add utils wrap to be used when registering the activity func#2

Open
rodrigues-anchorage wants to merge 1 commit intovikstrous:masterfrom
rodrigues-anchorage:add_util_methods
Open

Add utils wrap to be used when registering the activity func#2
rodrigues-anchorage wants to merge 1 commit intovikstrous:masterfrom
rodrigues-anchorage:add_util_methods

Conversation

@rodrigues-anchorage
Copy link
Contributor

Add utils wrap to be used when registering the activity func

sean-george-anchor added a commit to sean-george-anchor/tempts that referenced this pull request Feb 19, 2026
Remediate all HIGH/MEDIUM/LOW findings from the security audit:

- Add sync.Mutex to Queue for concurrent map access safety (vikstrous#1)
- Remove hardcoded 10s activity timeout from WithImplementation (vikstrous#2)
- Remove debug fmt.Println leaking workflow IDs (vikstrous#3)
- Add validateName to all constructors, panic on empty names (vikstrous#4)
- Add nil client check in NewFromSDK (vikstrous#5)
- Fix %s to %w for proper error wrapping in replaytest (vikstrous#6)
- Fix "activtity" typo and wrong noun in error messages (vikstrous#7)
- Fix goroutine leak in Worker.Run with done channel pattern (vikstrous#8)
- Change mock stubs from panic to error return (#19)

Add 39 tests across 8 files bringing root package from 0% to 49%
coverage. Remaining uncovered code requires a live Temporal server.
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