Skip to content

v2.1.2 - Unique Athlete Counts & Graceful 404 Handling

Choose a tag to compare

@AustinW AustinW released this 11 Jan 05:53
· 13 commits to main since this release

What's New

Unique Athlete Counts

The usagym:test command now displays unique athletes by member ID, since athletes may have multiple registrations for different events:

Athlete Reservations: 186 unique athletes (541 registrations)

Sample athletes (first 5 unique):
┌───────────┬───────────────┬───────┬─────────────┐
│ Member ID │ Name          │ Level │ Can Compete │
├───────────┼───────────────┼───────┼─────────────┤
│ 2426288   │ Seth Astorga  │ 5     │ Yes         │
│ 2299938   │ Travis Greene │ 8     │ Yes         │
...

Graceful Handling of Unavailable Endpoints

The clubs endpoint returns 404 for some sanction types (e.g., MAG). This is now handled gracefully with a "SKIP" status instead of failing:

Club reservations endpoint not available for this sanction type.

+----------------------+--------+------------------------------------------------+
| Test                 | Status | Details                                        |
+----------------------+--------+------------------------------------------------+
| Club Reservations    | SKIP   | Endpoint not available for this sanction type  |
...

Full Changelog: v2.1.1...v2.1.2