Skip to content

Conversation

technicalpickles
Copy link
Contributor

@technicalpickles technicalpickles commented Aug 25, 2025

This PR adds support for the team: format (without @ symbol) and includes comprehensive tests for all team annotation formats. This addresses GitHub issue #131 and enhances the flexibility of team annotations.

Changes

  • Updated TEAM_REGEX to support team: format (without @ symbol)
  • Added comprehensive test suite for all team annotation formats
  • Test edge cases, invalid inputs, performance, and cross-platform compatibility
  • Ensure backward compatibility with existing @team and @team: formats
  • Add 7 new test functions covering 220+ lines of test code
  • All 68 tests pass, including new comprehensive test suite

Supported Formats

  • # @team MyTeam (current format)
  • # @team: MyTeam (issue #131 format - already worked!)
  • # team: MyTeam (Ruby-like format - newly added)

Related Issues

Closes rubyatscale/code_ownership#131

- Update TEAM_REGEX to support team: format (without @ symbol)
- Add comprehensive test suite for all team annotation formats
- Test edge cases, invalid inputs, performance, and cross-platform compatibility
- Ensure backward compatibility with existing @team and @team: formats
- Add 7 new test functions covering 220+ lines of test code
- All 68 tests pass, including new comprehensive test suite

This addresses GitHub issue #131 and adds the requested team: format
for better Ruby magic comment consistency.
- Remove redundant test functions (test_comprehensive_team_formats, test_team_annotation_edge_cases, etc.)
- Update existing test_team_regex to include new team: format tests
- Reduce change from ~220 lines to ~22 lines while maintaining same functionality
- All 61 tests pass with minimal, focused change
@technicalpickles technicalpickles force-pushed the feat/team-annotation-formats branch from 07787d8 to 2ac967f Compare August 25, 2025 16:05
Copy link
Contributor

@perryqh perryqh left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

@team: annotations with colons don't work (but look like they should)
2 participants