aprs.me/test/aprsme
Graham McIntire b5a39102a6
fix: Comprehensive packet processing and test optimization improvements
This commit includes several critical fixes and optimizations:

## Production Buffer Overflow Fix
- Fixed telemetry_vals data type conversion from strings to integers
- Enhanced put_telemetry_fields() with robust type conversion logic
- Handles mixed data types (string, integer, float) gracefully
- Prevents PacketConsumer GenServer crashes that caused buffer overflow
- Processes telemetry from both data_extended and top-level attrs

## Test Suite Performance Optimization
- Improved test execution speed by 48% (43.2s → 24.1s)
- Increased parallelization: max_cases from 16 to 48
- Optimized database connections and reduced timeouts
- Tagged slow tests and exclude them by default for fast development
- Fixed device seeding to only run when needed
- Enhanced log capture for packet consumer tests

## Code Quality Improvements
- Fixed handle_info clause grouping in LeaderElection
- Ensures mix compile --warnings-as-errors passes
- Added comprehensive telemetry conversion tests
- Improved test reliability and reduced flakiness

## Infrastructure Updates
- Added migration init container to StatefulSet for automatic schema updates
- Disabled AUTO_MIGRATE in main container (handled by init container)
- Created .test-commands with helpful test aliases

This resolves production stability issues and significantly improves development workflow.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 17:50:07 -05:00
..
accounts add callsign to users 2025-07-10 16:07:05 -05:00
cluster fix: Comprehensive packet processing and test optimization improvements 2025-08-01 17:50:07 -05:00
packets clean up warnings 2025-07-16 08:55:46 -05:00
workers Migrate background job processing from Oban to Exq 2025-07-26 18:39:50 -05: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 format 2025-07-29 12:44:40 -05:00
callsign_test.exs more permissive callsign parsing 2025-07-12 09:10:49 -05: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
device_identification_test.exs fix: Fix failing tests and improve test reliability 2025-07-30 14:24:21 -05:00
encoding_utils_test.exs update deps 2025-07-16 08:20:20 -05: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: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
packet_consumer_test.exs fix: Comprehensive packet processing and test optimization improvements 2025-08-01 17:50:07 -05: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 clean up warnings 2025-07-16 08:55:46 -05: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 clean up status page 2025-07-15 13:56:01 -05:00
packets_test.exs test: Add comprehensive test suite for Aprsme.Packets module 2025-08-01 17:18:39 -05: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 Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00