Repository navigation
Fix progress message and auto-fetch GTFS-RT data - #24
Merged
chtitux merged 1 commit intoNov 7, 2025
Merged
Conversation
Fixed two issues:
1. Corrected progress message during ZIP loading phase
- Changed from "Extracting GTFS ZIP file" to "Loading and extracting GTFS ZIP file"
- More accurate since this phase includes both downloading (if URL) and extraction
- Located in gtfs-sqljs.ts:207
2. Auto-fetch GTFS-RT data when feed URLs are configured
- If realtimeFeedUrls are provided during initialization, RT data is now
fetched automatically after GTFS static data is loaded
- Happens after 100% progress is reported
- Failures are logged as warnings but don't fail the entire load
- Users no longer need to manually call fetchRealtimeData() initially
- Subsequent updates can still be triggered manually with fetchRealtimeData()
Documentation updates:
- Updated README to indicate auto-fetch behavior
- Added note in Progress Phases section explaining RT fetch happens after 100%
- Clarified that RT data is ready to use immediately after fromZip() completes
This provides a better developer experience as RT data is available
immediately without requiring a separate fetch call.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed two issues:
Corrected progress message during ZIP loading phase
Auto-fetch GTFS-RT data when feed URLs are configured
Documentation updates:
This provides a better developer experience as RT data is available immediately without requiring a separate fetch call.