aprs.me/test/aprsme
Graham McIntire d9c04f7e0c
Fix code review findings: security, correctness, performance, dead code
Security:
- Add SQL identifier validation to DbOptimizer.analyze_table/vacuum_table
- Move health/readiness routes to non-rate-limited pipeline

Correctness:
- Fix monitor reference leak in StreamingPacketsPubSub (track refs, demonitor on unsubscribe)
- Persist circuit breaker half-open state transitions
- Simplify ShutdownHandler.terminate to avoid pointless Process.send_after

Performance:
- Batch marker removal into single WebSocket event (remove_markers_batch)
- Use Task.Supervisor.start_child for fire-and-forget broadcasts

Dead code removal:
- Remove copy_insert/regular_batch_insert/rows_to_csv from DbOptimizer
- Remove dead packet_pipeline_integration tests
- Remove unused telemetry event detach

Other:
- Fix Callsign.valid? docstring to match permissive behavior
- Fix DatabaseMetrics to delegate instead of hardcoding pool stats
- Add circuit breaker and encoding test coverage
2026-02-19 18:49:27 -06:00
..
accounts add callsign to users 2025-07-10 16:07:05 -05:00
cluster Fix ConnectionMonitor deadlock and LeaderElection silent leadership loss 2026-02-19 18:18:31 -06:00
is Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packets Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
workers Add mix parse_file task, fix datetime deprecation, update gitignore, fix cleanup worker test 2026-02-18 14:49:14 -06:00
archiver_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
bad_packet_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
broadcast_task_supervisor_test.exs Fix code review findings: security, correctness, performance, dead code 2026-02-19 18:49:27 -06:00
callsign_test.exs more permissive callsign parsing 2025-07-12 09:10:49 -05:00
circuit_breaker_test.exs Fix code review findings: security, correctness, performance, dead code 2026-02-19 18:49:27 -06:00
connection_monitor_test.exs Fix ConnectionMonitor deadlock and LeaderElection silent leadership loss 2026-02-19 18:18:31 -06:00
connection_prevention_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
convert_test.exs Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23:07 -05:00
data_extended_test.exs fix messaging name 2025-06-24 14:29:47 -05:00
db_optimizer_test.exs Fix APRS object name extraction for names with special characters 2026-02-19 18:41:37 -06:00
device_identification_test.exs fix: Fix failing tests and improve test reliability 2025-07-30 14:24:21 -05:00
dynamic_supervisor_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
encoding_test.exs Fix code review findings: security, correctness, performance, dead code 2026-02-19 18:49:27 -06:00
encoding_utils_test.exs update deps 2025-07-16 08:20:20 -05:00
enhanced_parser_test.exs Fix credo issues 2026-02-09 11:17:56 -06:00
error_handler_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
geo_utils_test.exs Fix all failing tests 2025-07-25 14:14:04 -05:00
geometry_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
is_test.exs Fix multiple TODO bugs: drain handler, callsign dedup, packet pipeline 2026-02-19 18:27:25 -06:00
migration_lock_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
mock_helpers_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_consumer_pool_test.exs Fix API documentation to match implementation 2026-02-19 10:22:10 -06:00
packet_consumer_test.exs Fix APRS object name extraction for names with special characters 2026-02-19 18:41:37 -06:00
packet_counter_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_parsing_test.exs Fix ArgumentError for unknown field :phg in schema 2025-07-28 12:27:19 -05:00
packet_pipeline_integration_test.exs Fix code review findings: security, correctness, performance, dead code 2026-02-19 18:49:27 -06:00
packet_pipeline_setup_test.exs Add tests for 14 modules with 0% coverage 2026-02-09 17:19:50 -06:00
packet_pipeline_supervisor_test.exs Fix multiple TODO bugs: drain handler, callsign dedup, packet pipeline 2026-02-19 18:27:25 -06:00
packet_producer_backpressure_test.exs Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packet_producer_test.exs Add TCP backpressure to packet pipeline 2026-02-19 15:31:51 -06:00
packet_replay_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
packet_test.exs fix: Comprehensive packet processing and test optimization improvements 2025-08-01 17:50:07 -05:00
packet_weather_extraction_test.exs integrate /:call to main page 2025-07-13 10:36:58 -05:00
packets_encoding_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
packets_mic_e_test.exs add packet batcher 2025-06-24 15:06:09 -05:00
packets_oldest_test.exs updates with parser updates 2025-08-03 09:19:31 -05:00
packets_test.exs Add other SSIDs list to map sidebar, fix context/web boundary 2026-02-18 18:15:02 -06:00
packets_weather_test.exs fix geolocation hopefully 2025-07-10 17:12:49 -05:00
passcode_test.exs Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23:07 -05:00
streaming_packets_pubsub_test.exs test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00