Skip to content

feat(courses): GeoRacing course import and Session course context (#242) - #244

Merged
maxsail-project merged 8 commits into
mainfrom
feature/242-georacing-course
Nov 27, 2026
Merged

maxsail-project merged 8 commits into
mainfrom
feature/242-georacing-course

Conversation

@maxsail-project

Copy link
Copy Markdown
Owner

Summary

Merges the validated work for #242: an Admin-only import of GeoRacing course elements into a reviewed, provider-independent course context attached to a Session, rendered in the Viewer and used as a Session Start source for Start Analysis.

All increments were delivered on feature/242-georacing-course, verified by CI on each SHA and accepted by the product owner.

Increment Commit Scope
242.1 3e1904c GeoRacing elements GPX parser, stable-interval segmentation, duplicate/stationary detection, role suggestion, course schema v1, stateless Admin draft/validate API
242.2 546c7c8 Admin Courses tool: review, interval editing, UTC gun/end, map preview, validate and download
242.3 44c8f65, 570eb9a, db86afe Persistence and Session attachment (attach/replace/detach), Sailor-deletion cleanup, shared original/temporary course reads, Viewer course layer, Session candidate preselection, course markers in the start-line endpoint style
242.3.1 389d8e3 Automatic attachment to a single candidate Session on validation
242.3.2 460c9ca Edit gun and end times of an attached course
242.4 099d30a Course gun and start line as a Session Start source (precedence over VKX inference), #220 race end from the course, Start Analysis source label, shared start-line crossing test vectors

Decisions

D1–D14 are recorded on #242. Highlights:

  • Acquisition: Admin-only. Never via mailbox or Activity upload.
  • Review: human review before use.
  • Ownership: one course per race. A Session can hold several courses.
  • Precedence: a course Start replaces VKX-inferred Starts within its time range.

Contracts preserved

Documentation

Updated docs/current/:

  • admin.md
  • ingestion-and-data.md
  • domain-and-sessions.md
  • access-and-consent.md
  • session-viewer.md
  • analytics.md
  • solution-overview.md

Also updated: the navigation order in docs/admin-ux-ui-guidelines.md.

Validation

  • CI: green on every increment SHA. Each run executes the full backend suite, frontend tests, typecheck, Sonar and the production build.
  • Local: full backend regression passed. The only failures were the known pre-existing Windows-only errors (long test names), not reproduced in CI.
  • Manual: product-owner PASS on tablet, using real GeoRacing Race 1 exports with the URUGUAY Activity.
  • Fixtures: committed fixtures are synthetic. The real export is used only by an opt-in local test.

Refs #242

maxsail-project and others added 8 commits November 26, 2026 23:45
Stateless Admin course import (increment 242.1): GeoRacing elements GPX
parser, stable-interval segmentation, duplicate/stationary tracker
detection, role suggestion, course context schema v1, and bounded
draft/validate endpoints. Tests use a synthetic generated fixture; the
real export is an opt-in local test only.

Ref: #242

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maxsail-project
maxsail-project merged commit d6fe13f into main Nov 27, 2026
4 checks passed
@maxsail-project
maxsail-project deleted the feature/242-georacing-course branch November 27, 2026 15:54
@sonarqubecloud

Copy link
Copy Markdown

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