Skip to content

Conversation

@jlegrone
Copy link

@jlegrone jlegrone commented Aug 25, 2025

Summary

  • Make TaskQueueEnvKey constant private
  • Convert TestCase documentation to testable examples with godoc
  • Refactor control flow with else if instead of else + nested if

Use else if to make the conditional logic clearer in the inactive version scaling code.

Addresses: #127 (comment)
@jlegrone jlegrone force-pushed the jlegrone/address-pr-comments branch from 927e096 to a60db1f Compare August 25, 2025 21:35
Change TaskQueueEnvKey to taskQueueEnvKey since it's not used outside the package.

Addresses: #127 (comment)
@jlegrone jlegrone force-pushed the jlegrone/address-pr-comments branch from a60db1f to 064336a Compare August 25, 2025 21:38
- Move field descriptions from README to proper godoc comments on TestCase struct
- Create testable examples in example_test.go with compile-time checks
- Update README to reference godoc and examples instead of duplicating struct definition

Addresses: #127 (comment)
Copy link
Owner

@carlydf carlydf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@carlydf carlydf merged commit bf670d3 into carlydf:more-tests Aug 25, 2025
@carlydf carlydf deleted the jlegrone/address-pr-comments branch August 25, 2025 22:38
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