aprs.me/test/aprsme
Graham McIntire 179e2e407d
fix: Convert telemetry_seq string values to integers
The APRS parser returns telemetry sequence numbers as strings (e.g., "094"),
but the database schema expects integers. This was causing Ecto.ChangeError
in production when processing telemetry packets.

Changes:
- Updated put_telemetry_fields/2 to convert string seq values to integers
- Added comprehensive tests for telemetry_seq type conversion
- Handles nil, string, integer, and invalid seq values gracefully

Production deployment notes:
1. Check if migration 20250801215236 has run in production
2. If not, run pending migrations before deploying this fix

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 17:12:47 -05:00
..
accounts add callsign to users 2025-07-10 16:07:05 -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 Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23: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: Convert telemetry_seq string values to integers 2025-08-01 17:12:47 -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 fix: Convert telemetry_seq string values to integers 2025-08-01 17:12:47 -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