GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet-proxy(connect-udp): fleet-connect-udp ignores argv entirely — --help and typo'd flags start the CONNECT-UDP endpoint · Issue #6134 · developing-today/code

fleet-proxy(connect-udp): fleet-connect-udp ignores argv entirely — --help and typo'd flags start the CONNECT-UDP endpoint #6134

New issue
Copy link
New issue
Copy link
Closed
#6143
Closed
fleet-proxy(connect-udp): fleet-connect-udp ignores argv entirely — --help and typo'd flags start the CONNECT-UDP endpoint#6134
#6143
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateskind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

fleet-proxy(connect-udp): fleet-connect-udp ignores argv entirely — --help and typo'd flags start the CONNECT-UDP endpoint

Summary

The standalone CONNECT-UDP endpoint bin fleet-connect-udp
(pkgs/fleet/crates/fleet-proxy/src/bin/fleet-connect-udp.rs, landed in
PR #6122 for #6109) never reads its arguments. main() (line 19) goes
straight to fleet_config::Config::load() (line 20), the
connect_udp_enabled() gate (line 27), and
fleet_proxy::connect_udp::run(&config) (line 35). There is no usage
text, no --help handling, and no rejection of unknown arguments.

This is the #5488 class (a --help that starts a daemon instead of
printing help) combined with the #5568 class (trailing arguments
silently ignored), on a bin that starts a network endpoint.

Evidence (verified this run, laptop, real binary built from HEAD)

Laptop primary ~/git/code @ 7a980eb4cf; binary built with
cargo build -p fleet-proxy --bin fleet-connect-udp --bin fleet-udp-forward
in pkgs/fleet. Probe config /tmp/probe-cudp/fleet.toml:
[proxy] connect_udp = true, connect_udp_listen = "127.0.0.1:39199",
passed via FLEET_CONFIG.

  • Bare: fleet proxy connect-udp on 127.0.0.1:39199 (RFC 9298, spike #6109 …) — serves until killed (timeout exit 124). Expected.
  • --help: identical output — the endpoint binds and serves until
    killed (exit 124). No usage is printed anywhere.
  • --bogus-junk: identical output — a typo'd flag silently starts
    the endpoint (exit 124).
  • --help with no opt-in config: exit 69 with the "stays dark"
    message — still no usage text.

Control, the sibling bin from the same PR: fleet-udp-forward --help
prints its usage line on stdout and exits 0;
fleet-udp-forward --bogus-junk prints unknown argument + usage and
exits 2 (EXIT_USAGE).

Why it matters

  • An operator (or a service unit with a typo, or a curious --help)
    cannot discover the bin's interface, and a misspelled flag does not
    fail fast — it starts a listening proxy endpoint instead. The bin is
    deliberately dark until a host opts in via config, but once the
    config opts in, any argument vector — including accidents — turns
    the endpoint on.
  • The fleet's other entry points all settled this exact question:
    fleet: serve <role> --help (and the queue-broker/secrets-broker argv0 aliases) starts the daemon instead of printing help #5488/fleet: serve <role> --help prints domain help instead of starting the daemon #5492 (serve-role help), fleet: serve <broker-role> silently ignores all trailing arguments — a typo'd flag starts the daemon instead of erroring #5568 (serve trailing args), fleet(proxy): proxy connect --help and init --help answer help through the error channel — exit 2 on stderr instead of usage on stdout at exit 0 #5619
    (proxy connect/init help on stdout, exit 0), fleet: root built-ins (version / capabilities / --version) silently ignore trailing arguments #5572 (root built-ins
    reject trailing args). This bin, written after all of them, follows
    none of those precedents — it has no argument surface at all.

Acceptance criteria

  • fleet-connect-udp --help and -h print usage (what the bin is,
    that it takes no arguments, and that behaviour is governed by the
    loaded fleet config's [proxy] connect_udp opt-in) on stdout and
    exit 0, without loading config or binding anything.
  • Any other argument is a usage error: message naming the argument +
    usage on stderr, exit EXIT_USAGE (2), without loading config or
    binding anything.
  • Bare fleet-connect-udp behaviour is unchanged in both config
    states (opted-in: endpoint serves; not opted in: stays-dark message,
    exit 69).
  • A pinning test or scripted probe covers the three shapes above
    (help, unknown arg, bare) so the behaviour cannot regress silently;
    cargo test -p fleet-proxy stays green.

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1773

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (lane A, slug new-issue-creator-code-a)
    • Session / ID: cron job new-issue-creator-code-a, run 2026-11-05 01:35 CST
    • Found via: filed this run
    • Task: fleet-connect-udp ignores argv entirely — --help/unknown flags start the CONNECT-UDP endpoint instead of printing usage / failing (verified with the real binary on the laptop @7a980eb4cf; sibling bin fleet-udp-forward is the control). Packet enqueued for a small fix per the fleet: serve <role> --help (and the queue-broker/secrets-broker argv0 aliases) starts the daemon instead of printing help #5488/fleet(proxy): proxy connect --help and init --help answer help through the error channel — exit 2 on stderr instead of usage on stdout at exit 0 #5619 precedents.
    • Expectation: effort s — done when --help prints usage on stdout at exit 0, any other argument is a usage error at exit 2, and bare behaviour is unchanged in both config states.
    • Links: packet packet-6134-fix.json (queue repo-health-code-pilot); body file hidden_files/issue-fleet-connect-udp-args-ignored.md
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Lane A (code-a) claimed task 9933 for issue #6134 (direct execution lane). Fresh check: issue #6134 is OPEN, no hard-stop labels, no open PR. Working it directly this shift: branch, implement, PR.

  7. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Sibling filed this run: #6139 covers the other bin from PR #6122 (fleet-udp-forward's duplicate scalar flags). The two fixes are independent — this issue is fleet-connect-udp's missing argument surface only.

  8. developing-today
    added
    status:in-review
    on Nov 5, 2026
  9. dezren39
    closed this as completedin #6143on Nov 5, 2026
  10. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 5, 2026
  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  12. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Done by lane A (code-a), task 9933: PR #6143 merged (merge commit 5be65e7) — fleet-connect-udp now classifies argv before loading config or binding: --help/-h print usage on stdout exit 0, any other argument exits 2 (EXIT_USAGE) naming it, bare behaviour unchanged in both config states. Verified on the laptop: cargo test -p fleet-proxy 46/46 (new pinning test bin_args_help_usage_error_and_bare), cargo fmt clean, real-binary probes for all shapes (help 0, bogus 2, bare-dark 69, bare-opted-in serves). Codex review on PR #6143: completed, no findings. Queue labels removed at this terminal state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleetpkgs/fleet multicall binary + platform crateskind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.