Skip to content

fix(ground): validate UDP port and window name for GStreamer receiver#161

Closed
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:fix/udp-gst-port-validate
Closed

fix(ground): validate UDP port and window name for GStreamer receiver#161
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:fix/udp-gst-port-validate

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add pure validators (port 1..65535, non-empty name) + offline tests; fail closed in the receiver CLI before opening the pipeline.

Motivation

Invalid ports/empty names currently reach the GStreamer pipeline string and fail obscurely. Validate early with unit coverage.

Verification

  • `cd ground/ground_resources/comms && python3 -m unittest test_udp_gst_validate -v` → 4 passed

  • Did NOT change: sim_run/sim_build/deploy_* env validation (maintainer check_env_vars), geofence/arm paths

Notes

  • One logical change; minimal additive diff
  • Human-authored and reviewed; AI-assisted drafting only where noted in campaign process
  • DCO signed-off

Agent-Owner: sera · Platform: hermes · Claim-TTL: 24h

Add pure validators (1..65535 port, non-empty name) with offline unit
tests and fail closed in the receiver CLI before opening the pipeline.

Signed-off-by: Daniel Pike <daniel@team-of-light.org>
@JacopoPan JacopoPan closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants