Repository navigation
Conversation
|
Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head This draft adds a lot of well-separated, well-tested code, but four verified defects block it: results lost on unpublish, a bad waypoint file stopping all publishing, a wrong public-video notice and threshold changes ignored after a flight. Blocking
Should fix
Low
Minor (3)
|
tridge
force-pushed
the
pr-flight-report
branch
from
December 3, 2026 21:27
282f5d0 to
e2993bd
Compare
Reads an entry's tlog and raw thermal recordings as the proxy writes them. Records the camera's own detections (DATA96 type 68) and hotspots above a threshold (CAMERA_THERMAL_RANGE projected to the ground), finds orbits from the flight modes, and cuts the thermal video of each orbit. File access only: there is no MAVLink connection and no way to send.
The job runner sends an orbit's thermal video to a GPU server over ssh and follows the job. On the server the service's key can run only the job agent, which fixes the pipeline and its limits.
A static page with a map of the track, mission, heat sources and orbits, and links to each orbit's splat and thermal video. Its data is rewritten as the flight goes on. Leaflet 1.9.4 is included for the map.
Starts and stops monitoring of an entry and shows the monitor's state and the splat jobs. Logins are SupportProxy entries, checked against keys.tdb opened read-only.
The monitor unit has no network. Only the jobs unit can read the GPU servers' ssh key.
Unit tests and the whole chain on a synthetic flight with a stand-in for the splat tools. numpy is added to the CI setup.
tridge
force-pushed
the
pr-flight-report
branch
from
December 3, 2026 21:40
e2993bd to
88afa08
Compare
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.
Summary
Adds a flight report service that runs beside the proxy. For an entry that has monitoring turned on it reads the tlog and the raw thermal recordings the proxy is already writing, and builds a public report page for the flight as it goes on.
The service only reads files. It makes no MAVLink connection and has no way to send to the vehicle. The monitor's systemd unit has no network, and only the jobs unit can read the GPU servers' ssh key. On a GPU server that key can run only the job agent, which fixes the pipeline and its limits.
Nothing changes in the proxy itself. Setup is described in
flightreport/README.md.Testing
tests/test_flightreport.py: 50 tests pass. They cover the parts separately and the whole chain on a synthetic flight, with a stand-in for the splat tools. numpy is added to the CI setup for them.Not tested