Add async TLE fetch/parse pipeline with hot-reloadable orbital state#82
Merged
seanwevans merged 2 commits intomainfrom Apr 1, 2026
Merged
Conversation
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.
Motivation
Description
tlemodule atdaemon/openastrovizd/src/tle.rsexposingfetch_tle_catalog(asyncreqwestdownload) andparse_tle_catalog(3-line catalog parser) plus anOrbitalRecordwrapper that buildsopenastroviz_core::Sgp4Propagatorinstances and epochStateVectors.daemon::run_serviceindaemon/openastrovizd/src/daemon.rs, spawningtle_refresh_loopand storing the catalog in a sharedArc<RwLock<Vec<OrbitalRecord>>>for hot-reloadable state.mod tle;indaemon/openastrovizd/src/main.rs) and add runtime/HTTP dependencies indaemon/openastrovizd/Cargo.toml(openastroviz-core,reqwest,tokio).daemon/openastrovizd/README.mdand include unit tests in thetlemodule for valid and malformed catalogs.Testing
cargo test -p openastrovizdandcargo test -p openastrovizd --quiet, and all daemon unit and integration tests completed successfully.cargo fmtwas not run in this environment becauserustfmtis not installed (error: installrustfmtviarustup component add).Codex Task