Skip to content

Expose factory UID in runner list output - #15272

Draft
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
factory/runner-list-factory-uid
Draft

Expose factory UID in runner list output#15272
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
factory/runner-list-factory-uid

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • select each runner's owning Factory UID in the GraphQL query
  • include nullable factory_uid in structured runner-list output
  • keep the human-readable table unchanged

Validation

  • cargo fmt --all -- --check
  • CARGO_HOME=/tmp/cargo-home CARGO_BUILD_JOBS=1 cargo check -p warp_graphql
  • CARGO_HOME=/tmp/cargo-home CARGO_BUILD_JOBS=1 cargo test -p warp --lib --no-default-features runner_info_serializes_nullable_factory_uid
  • CARGO_HOME=/tmp/cargo-home CARGO_BUILD_JOBS=1 cargo build -p warp --bin dev

CLI verification

Built and ran the modified oz-dev CLI against staging. A single --jq query selected one Factory-owned runner and one unassociated runner:

$ oz-dev runner list --output-format json --jq '{factory_owned: ([.[] | select(.factory_uid != null) | {uid, name, factory_uid}] | first), unassociated: ([.[] | select(.factory_uid == null) | {uid, name, factory_uid}] | first)}'
{
  "factory_owned": {
    "uid": "NbSjgkpqaLm2ZcMgmtcbU1",
    "name": "default",
    "factory_uid": "6XVgX5yTzpVUQAOaUE8H4f"
  },
  "unassociated": {
    "uid": "F3HLXihxdUfcD7DnK9JLIr",
    "name": "foreman",
    "factory_uid": null
  }
}

The default text output retains its existing columns (no Factory UID column):

UID                     Name     Description  Shape    OS     Arch    OS Settings                               Scope  Last updated
NbSjgkpqaLm2ZcMgmtcbU1  default               Default  Linux  x86-64  Docker image: warpdotdev/dev-base:latest  Team   12 hours ago

Co-Authored-By: Warp <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 18, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-factory on this PR to send it follow-up work.

View run View conversation View on Slack

@warp-agent-staging
warp-agent-staging Bot requested a review from bnavetta August 18, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants