Skip to content

listen compact mode prints a dangling "Listening on" with no summary #402

Description

@leggetter

Summary

In compact output mode, hookdeck listen prints a dangling preposition where the summary line should be.

Reproduce

hookdeck listen 3030 <source> --output compact

Line 2 of the output is literally:

Listening on

Interactive mode prints the complete line:

Listening on 1 source • 1 connection • [i] Collapse

The compact renderer drops the summary and leaves the preposition stranded.

Why it matters

Compact is the automatic fallback when there is no TTY, so this is the line most CI logs, Docker logs and coding-agent transcripts will carry. It is also a line someone reads while trying to work out whether the CLI is doing anything — the exact situation #376 was about.

Suggested fix

Either render the same summary the interactive mode does, or drop the line entirely in compact mode. A bare Listening on is worse than nothing.

Testing

Acceptance: assert compact output contains either a complete summary or no Listening on line. There are existing listen output-mode acceptance tests to extend.

Related


Filed by Claude on Phil's behalf, from release-candidate testing.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions