Skip to content

fix(gtfs): accept orphan calendar service rules - #92

Merged
adot-7 merged 2 commits into
mainfrom
ao/metroshell-60/issue-91
Aug 13, 2026
Merged

fix(gtfs): accept orphan calendar service rules#92
adot-7 merged 2 commits into
mainfrom
ao/metroshell-60/issue-91

Conversation

@adot-7

@adot-7 adot-7 commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Closes #91

Summary

  • accept valid calendar and calendar_dates service definitions that are unused by trips
  • retain reverse validation for trip service IDs against the supplied calendar definition set
  • add deterministic Load + BuildIndexes regression coverage for orphan calendar rules

Tests

  • gofmt
  • go test ./...
  • go vet ./...
  • go build ./...
  • git diff --check
  • read-only user feed Load + BuildIndexes validation passed

The user-provided feed under mapdata/extracted was accessed read-only and no mapdata files are included.

@adot-7
adot-7 merged commit e5dc705 into main Aug 13, 2026
1 check passed
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.

Fix GTFS parser: accept unused calendar service rules

1 participant