071f8ba658 
								
							
								 
							
						 
						
							
							
								
								LogReader: add time_series helper  
							
							
 
							
						 
						
							8 months ago  
				
					
						
							
							
								 
						
							
							
								9ec54f59c6 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: switch logging from raw file format to zstd compressed files ( #34549 )  
							
							... 
							
							
 
							
							* switch logging from raw file format to zstd compressed files
* more zst suffix
* compress bootlog
* remove class RawFile
* Optimize ZstdFileWriter by adding input caching
* use ZSTD_compressStream2
* cleanup
* LOG_COMPRESSION_LEVEL=10
* space
* add zst suffix to LOGS_SIZE_RATE 
							
						 
						
							9 months ago  
				
					
						
							
							
								 
						
							
							
								2af9f68147 
								
									
								
							
								 
							
						 
						
							
							
								
								LogReader: more specific exceptions ( #33914 )  
							
							... 
							
							
 
							
							* more specific logreader exceptions
* huh
* fix 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								1e92af9b3c 
								
							
								 
							
						 
						
							
							
								
								[bot] Update Python packages ( #33436 )  
							
							... 
							
							
 
							
							* Update Python packages
* bump
* specify any list of sources
ooh this is pretty nice
* update
* y
* fix
* fix that
* bump
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 239cc69a20 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9da055853f 
								
							
								 
							
						 
						
							
							
								
								LogReader clean ups ( #33446 )  
							
							... 
							
							
 
							
							* buggin me
* no caps
* remove at least one level of indirection
* no recursion, remove a bunch of junk
* default is now allfault ??
* back
* fix tests
old-commit-hash: 5796bf12b6 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								730924e7f2 
								
							
								 
							
						 
						
							
							
								
								LogReader: formatting and remove unnecessary type alias  
							
							... 
							
							
 
							
							old-commit-hash: 34305bec09 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								786aff27da 
								
							
								 
							
						 
						
							
							
								
								azure_container: pass the filename explicitely when using get_url ( #33407 )  
							
							... 
							
							
 
							
							* Pass filename explicitely when using azure container
* Do not update segments in test_processes
* openpilotci_source_zst
* Fix static analysisc
old-commit-hash: b5958ebb60 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								937ed5f700 
								
							
								 
							
						 
						
							
							
								
								Add testing closet to LogReader source ( #33242 )  
							
							... 
							
							
 
							
							* add testing closet to logreader source
* check source availability
* use internal_source_available
old-commit-hash: 118932acd3 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6a2b4dedfc 
								
							
								 
							
						 
						
							
							
								
								tools/logreader: add desc arg to run_across_segments() ( #33226 )  
							
							... 
							
							
 
							
							old-commit-hash: 9e648e428d 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7ce33fbe2b 
								
							
								 
							
						 
						
							
							
								
								process replay: use zst ( #33138 )  
							
							... 
							
							
 
							
							* test
* update refs to zst
* update
old-commit-hash: dfd387520e 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7b67994a05 
								
							
								 
							
						 
						
							
							
								
								use zstandard library ( #33110 )  
							
							... 
							
							
 
							
							* use zstandard
* run 10
* bye bye
* this was a little overzealous
* clean up
old-commit-hash: 1b3b5ab758 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								539c828861 
								
							
								 
							
						 
						
							
							
								
								tools: keep re pattern file small ( #33084 )  
							
							... 
							
							
 
							
							remove bz2 from re file
old-commit-hash: e68bb26e14 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								309ccf6482 
								
							
								 
							
						 
						
							
							
								
								LogReader: support multiple log extensions in route ( #33066 )  
							
							... 
							
							
 
							
							* support rlog.zst
* TODO
old-commit-hash: e38a1428aa 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5333e8ba20 
								
							
								 
							
						 
						
							
							
								
								LogReader: show total segment count in missing rlog prompt  
							
							... 
							
							
 
							
							old-commit-hash: 3e41b1b287 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5887093eed 
								
							
								 
							
						 
						
							
							
								
								LogReader: print number of missing rlogs ( #32830 )  
							
							... 
							
							
 
							
							* count rlogs
* minimization changes
* cache to avoid duplicate checks
* no real point in checking qlogs to just show the warning
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 504dd4543d 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9f50db15c0 
								
							
								 
							
						 
						
							
							
								
								LogReader: try zst on internal source ( #32751 )  
							
							... 
							
							
 
							
							* internal source list files like azure api
* messy but works
* no limit
* simpler
* clean up
* clean up
* clean up
* that's obvious
* better
* we need to unfortunately return a url, so best to take a naive approach for now
* todo
* fix
* clean up
old-commit-hash: b45caf4033 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								644156420b 
								
							
								 
							
						 
						
							
							
								
								LogReader: revert broken check  
							
							... 
							
							
 
							
							it returns files OR None
old-commit-hash: 68e22faa29 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8f402f29a3 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: remove timestamp ( #32750 )  
							
							... 
							
							
 
							
							* add deprecation warning
* remove timestamp
* Update logreader.py
old-commit-hash: d5ce4b3085 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ed80e9357a 
								
							
								 
							
						 
						
							
							
								
								LogReader: improve error messages ( #32747 )  
							
							... 
							
							
 
							
							* better error messages
* clean up
old-commit-hash: 3ede1e2a7c 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e88cbb0162 
								
							
								 
							
						 
						
							
							
								
								add zstd Python library ( #32731 )  
							
							... 
							
							
 
							
							* add zstd
* fix
* uploader
* logreader: zst support
* caps
* only logreader
old-commit-hash: 04a93dd849 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								450d012166 
								
							
								 
							
						 
						
							
							
								
								logreader.py: optimize event loading and sorting in _LogFileReader ( #32729 )  
							
							... 
							
							
 
							
							* improve logfilereader
* less changes
old-commit-hash: c64bca97ba 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								529699f3fe 
								
							
								 
							
						 
						
							
							
								
								logreader: fix auto source + interactive modes ( #31847 )  
							
							... 
							
							
 
							
							* interactive modes
* these exceptions don't matter
old-commit-hash: a819292073 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bc7664aa2b 
								
							
								 
							
						 
						
							
							
								
								LogReader: fix sort by time and union types ( #31565 )  
							
							... 
							
							
 
							
							* fix :(
* test_sort_by_time
* this isn't required
* not slow, and just compare sorted
* messy
* works
* clean up
* clean up
* not here
* clean up
* clean up
* clean up
* makes network call
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: e964c5944d 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9bd90112d0 
								
							
								 
							
						 
						
							
							
								
								use pyupgrade to update to new typing syntax ( #31580 )  
							
							... 
							
							
 
							
							* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b995250ae49 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8dbdd4736c 
								
							
								 
							
						 
						
							
							
								
								test_logreader: test internal scenarios ( #31484 )  
							
							... 
							
							
 
							
							* test source scenario
* test source scenario
* fix
old-commit-hash: 16d1339553 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								42f292b3ce 
								
							
								 
							
						 
						
							
							
								
								test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE ( #31481 )  
							
							... 
							
							
 
							
							* fix spelling
* test interactive
* remove that
* test taht
* move that
old-commit-hash: 8aee0d2af2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								edd4649d24 
								
							
								 
							
						 
						
							
							
								
								LogReader: add typing hints ( #31464 )  
							
							... 
							
							
 
							
							logreader typing
old-commit-hash: 33cf6bda9e 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								38fc6f9dd6 
								
							
								 
							
						 
						
							
							
								
								LogReader: retain old behavior for direct parsing of files ( #31419 )  
							
							... 
							
							
 
							
							* maintain exception
* test that head is not called
* annoying mock
* test with cache
old-commit-hash: 1436f576df 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5c16ae62d8 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: simplify slice ( #31455 )  
							
							... 
							
							
 
							
							* simplify slicing
* rm
old-commit-hash: 8fe9bc7a69 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4c7ad7f3b7 
								
							
								 
							
						 
						
							
							
								
								tools/lib: format code ( #31454 )  
							
							... 
							
							
 
							
							easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
old-commit-hash: 0846175f44 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8b5f1235f4 
								
							
								 
							
						 
						
							
							
								
								live_logreader to its own file ( #31436 )  
							
							... 
							
							
 
							
							own file
old-commit-hash: d6762c3035 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								fbf5ada69f 
								
							
								 
							
						 
						
							
							
								
								LogReader: live_logreader helpers ( #31416 )  
							
							... 
							
							
 
							
							live helper
old-commit-hash: 0a92c5bf96 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1384c10fb0 
								
							
								 
							
						 
						
							
							
								
								logreader: skip internal source if not available ( #31400 )  
							
							... 
							
							
 
							
							* logreader: skip internal source if not available
* raise exception
* but only when appropriate
old-commit-hash: 667693b8c2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9b4b5d3cf5 
								
							
								 
							
						 
						
							
							
								
								LogReader: skip file_exists check for comma_api ( #31251 )  
							
							... 
							
							
 
							
							* valid file
* missed this one
old-commit-hash: 6010a39bf8 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								16e0907129 
								
							
								 
							
						 
						
							
							
								
								LogReader: add ```.filter``` ( #31222 )  
							
							... 
							
							
 
							
							add filter
old-commit-hash: c782fbc34e 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								223b1ed065 
								
							
								 
							
						 
						
							
							
								
								LogReader: add tqdm back to run_across_segments ( #31216 )  
							
							... 
							
							
 
							
							tqdm
old-commit-hash: 7835f9cce0 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								abfa8fcda9 
								
							
								 
							
						 
						
							
							
								
								CommaCarSegments: BIG Database! ( #31169 )  
							
							... 
							
							
 
							
							* sanetized selector
* god damn
* add to re
* slog branch
* slog
* source
* big
* not slog
* cleanup
* no space
* works!
* trigger
* main!
old-commit-hash: 824ddffec8 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9edc902106 
								
							
								 
							
						 
						
							
							
								
								LogReader: fail-fast on invalid segments ( #31152 )  
							
							... 
							
							
 
							
							* don't check all
* is
old-commit-hash: edd2428b60 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7d76ac8eba 
								
							
								 
							
						 
						
							
							
								
								LogReader: replace get_first_message with LogReader.first ( #31146 )  
							
							... 
							
							
 
							
							* first
* str
old-commit-hash: dd0c474e6c 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								67bb21219c 
								
							
								 
							
						 
						
							
							
								
								LogReader: no redownloading on multiple iterations ( #31141 )  
							
							... 
							
							
 
							
							* no redownload
* sort
old-commit-hash: 88dcaa51c4 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0d558d02ee 
								
							
								 
							
						 
						
							
							
								
								auto_source: add commaCarSegments source ( #31137 )  
							
							... 
							
							
 
							
							add source
old-commit-hash: ac71c30ad5 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								6a1d7fd732 
								
							
								 
							
						 
						
							
							
								
								comma_api_source: fix qlogs ( #31136 )  
							
							... 
							
							
 
							
							fix qlogs
old-commit-hash: 3d9b483e10 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8768be968b 
								
							
								 
							
						 
						
							
							
								
								LogReader: don't use route for max_segment ( #31129 )  
							
							... 
							
							
 
							
							* dont use route
* fix and cleanup
old-commit-hash: d574013d7b 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c5c522c984 
								
							
								 
							
						 
						
							
							
								
								plotjuggler: auto fallback to qlogs with prompt ( #31110 )  
							
							... 
							
							
 
							
							* qlog fallback
* show a warning for that
* qlog fallback
* fix
* wording
old-commit-hash: 65490bb3c5 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c03fe6bb13 
								
							
								 
							
						 
						
							
							
								
								add example of using the comma car segments database ( #31117 )  
							
							... 
							
							
 
							
							* add vin fingerprinting example
* perhaps!
* remove segment
* easier
old-commit-hash: 389b8ca30d 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f447062b66 
								
							
								 
							
						 
						
							
							
								
								CommaCarSegments: public database of segments for each platform ( #31114 )  
							
							... 
							
							
 
							
							* comma car segments
* comma car segments for test_models
* oneliner
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* better name
* not used here
* sort
* remove print
* better comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: caa9153974 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b29eea47ce 
								
							
								 
							
						 
						
							
							
								
								sanitizer: sanitize vin number ( #31090 )  
							
							... 
							
							
 
							
							old-commit-hash: 2c86c023fe 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a9676e7086 
								
							
								 
							
						 
						
							
							
								
								auto_source: optimize api calls and use head to determine if file exists ( #31025 )  
							
							... 
							
							
 
							
							* fast
* catch all
* source
* fix file_exists
* remove duplicate reset
* test multiple loops
* iterations
* cleanup imports
old-commit-hash: 2967cada71 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5df01b3d22 
								
							
								 
							
						 
						
							
							
								
								LogReader: fix plotjuggler not reading properly ( #31023 )  
							
							... 
							
							
 
							
							* fix plotjuggler
* simpler
* fix juggler
* fix that
old-commit-hash: 61fe705160 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4b7edec2b0 
								
							
								 
							
						 
						
							
							
								
								LogReader: move opci to tools/lib ( #31021 )  
							
							... 
							
							
 
							
							move opci
old-commit-hash: 7d400112df 
							
						 
						
							2 years ago