Skip to content

Suggest some missing completions #406

Open

Description

@zachlloyd

Warp, could you suggest a top missing completion spec that we might want to add?

Activity

  1. warp-factories commented on Sep 9, 2026

    @warp-factories
    Contributor

    Here's what I found while triaging this issue:

    Recommendation: add a podman completion spec.

    I inventoried the 496 hand-written specs under command-signatures/json/ and checked open issues and PRs for overlap. The highest-value gap is podman.

    Why podman

    Sketch

    • Files: command-signatures/json/podman.json, generators in command-signatures/src/generators/podman.rs, registered in generators/mod.rs.
    • Container lifecycle: run, create, start, stop, restart, kill, rm, ps, exec, logs, attach, inspect, cp, top, stats, pause/unpause.
    • Images: build, pull, push, images, rmi, tag, save/load, history, search, plus the image and manifest groups.
    • Podman-specific: pod, machine, generate (kube/systemd/spec), kube, quadlet, auto-update, farm, compose.
    • Resources: network, volume, secret, system (info/df/prune), login/logout.
    • Notable flags: global --remote, --connection/-c, --url, --identity, and storage/runtime overrides; run/create largely mirrors Docker plus extras such as --pod.
    • Generators worth having: running/all/paused containers, images with tags, pods, volumes, networks, secrets, and podman machine list.

    A thin first slice — lifecycle, images, pod/machine, and the core generators — is already worth shipping before chasing parity with docker.json.

    Runners-up

    1. jj (Jujutsu) — fast-growing Git-compatible VCS; generators for change IDs, bookmarks, and operations would carry a lot of weight.
    2. glab — the natural counterpart to the existing gh spec (issues, MRs, pipelines, repos).
    3. yq — ubiquitous YAML companion to the existing thin jq spec.
    4. ollama — popular local-LLM CLI, and a model-name generator is an easy win.
    Maintainer details

    Classification

    Enhancement — an open-ended maintainer request for a recommendation, not a defect report. No code change is proposed by the issue itself.

    Reproducibility

    High. The request is fully actionable from a repository inventory plus an issue/PR scan; nothing depends on the reporter's environment.

    Investigation

    Inventoried all 496 hand-written specs in command-signatures/json/*.json and the generator modules in command-signatures/src/generators/. Verified directly in the checkout that podman.json is absent while docker.json (354,624 bytes) and docker.rs exist and are a viable template; jj, glab, yq, and ollama are likewise absent, and the existing jq.json is thin (6,929 bytes). Candidates were weighed by terminal usage frequency, how much a spec helps (subcommand depth, non-obvious flags, dynamic arguments a generator can supply), and authoring tractability in this repo. Podman wins on all three. Deliberately excluded talosctl, wsl, and vp because they are already requested or in flight.

    Duplicate search

    Enumerated all open issues (excluding PRs and #406) via gh api --paginate. The only open 'add a completion spec' issues are #293 (talosctl) and #284 (vp) — different tools, not duplicates of a recommendation request. Title/intent searches for podman, jj, yq, glab, and ollama found nothing open. Recent open spec-adding PRs are #294 (talosctl), #270 (pkill), and #191 (wsl). No duplicate.

    Routing reasoning

    Resolved from live warpdotdev/warp-ownership. Source: warpdotdev/warp-ownership/ownership-areas/app.md, ownership area ### Command Completions (Matches: command completions and suggestions triggered by slash or command entry, autocomplete specific to commands) — this repository is the spec source for exactly that surface. The neighboring ### Completions and Bootstrap area in the same file was considered and rejected: it covers shell-provided tab completions, first-run bootstrap, and PS1 rendering rather than Warp's own command completion specs. Sole owner on the matched area, so no random selection was needed. assign-issue-owner exited 0.

    Routing to @acarl005 to review and apply a gate label (ready-to-spec / ready-to-implement) if this should proceed.

    This is my automated analysis and may be incorrect. A maintainer will verify the details.

    Responding as Warp for OSS: Open session · View run

  2. added
    triaged
    enhancement
    repro:high
    on Sep 9, 2026
  3. added
    ready-to-implement
    on Sep 9, 2026
  4. warp-factories commented on Sep 9, 2026

    @warp-factories
    Contributor

    This issue has been marked ready for an implementation. Community contributions are welcome — feel free to pick it up. A maintainer can also mention or assign @warp-factory to start automated work on it.

  5. zachlloyd commented on Sep 9, 2026

    @zachlloyd
    ContributorAuthor

    @warp-factory please implement

  6. warp-factories commented on Sep 9, 2026

    @warp-factories
    Contributor

    The podman completion spec is up in #407 (draft), and it needs a maintainer's call before it can go further.

    What's there

    • command-signatures/json/podman.json — all 61 real top-level subcommands, with full options on the lifecycle, image, pod, machine, network, volume, secret, and system commands. Sourced from a real podman 5.4.2 install, not inferred from docker: the Swarm-only surface is omitted, quadlet was confirmed not to be a real subcommand, and compose delegates to the existing docker-compose spec the way podman compose itself proxies out.
    • command-signatures/src/generators/podman.rs — 9 dynamic generators (running/all/paused containers, images, pods, volumes, networks, secrets, machines) plus 12 unit tests against captured podman output.
    • CI is green (8/8) and three review passes found no correctness or security defect. The two review findings that were actionable — a missing machine ls alias and a wrong --format description — are fixed.

    Where it's stuck
    This repo requires a screenshot of a populated completion dropdown for every new generator. Six of the nine have one, captured through a real Warp build. The other three — running_podman_containers, paused_podman_containers, and podman_machines — can't be produced here: starting any OCI container fails at crun: pivot_root: Operation not permitted (reproducible below podman with a bare unshare --user --pid --mount-proc), and podman machine init fails at epoll_ctl(...) = -1 EPERM during ignition even with QEMU, gvproxy, and an accessible /dev/kvm. Both available runner types are the same container sandbox, so this isn't something further effort here will fix.

    @acarl005 @zachlloyd — the decision is whether to verify those three generators on a machine that can run containers, or accept the change with the gap documented. Details and the full evidence are in the review on #407.

    Responding as Warp for OSS: Open session · View run

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

Metadata

Metadata

Assignees

Labels

enhancementready-to-implementrepro:hightriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions