Skip to content

docs-sync: fix(cli): sort by provider then name (#4426) (7cb1522) #103

@superplanehq-integration

Description

@superplanehq-integration

Opened automatically by SuperPlane — Skills and Docs Sync canvas.

What changed

UPDATE

The superplane integrations list CLI command now sorts its output by provider then name, which is a user-visible behavior change. If the docs/api-reference or any hand-written page describes or shows example output for integrations list, it should be updated to reflect the new deterministic ordering. Even if no example output is currently shown, the change is significant enough to warrant a note in the CLI reference or relevant concept pages (e.g., the integrations/component-nodes section) so users know to expect grouped, sorted results.

Push details

Commits

[
  {
    "added": [
      "pkg/cli/commands/integrations/list_test.go"
    ],
    "author": {
      "date": "2026-04-28T03:21:04-03:00",
      "email": "60622592+forestileao@users.noreply.github.com",
      "name": "Pedro Leão",
      "username": "forestileao"
    },
    "committer": {
      "date": "2026-04-28T03:21:04-03:00",
      "email": "noreply@github.com",
      "name": "GitHub",
      "username": "web-flow"
    },
    "distinct": true,
    "id": "7cb15223f792d13f3083c1de63f7d80f68abf2d5",
    "message": "fix(cli): sort  by provider then name (#4426)\n\n## Summary\n\n  - `superplane integrations list` now sorts connected integrations by\n`spec.integrationName` (primary) then `metadata.name` (secondary,\nstable).\n- Same-provider instances (e.g. `github` and `github-superplanehq`,\nmultiple\nDaytona targets) appear together in deterministic order, making it\ntrivial to\n  scan and pick the right one.\n- Applies to both text and JSON output — the sort runs before the\nrenderer\n  branches.\n\n  ## Why\n\nOrganizations have multiple instances of the same provider. The\ndisambiguating\nidentifier (`metadata.name`) was already shown in the `NAME` column, but\ninstances were returned in arbitrary order, so operators and agents had\nto\n  hunt across the table to compare them. Sorting groups them naturally.\n\n---------\n\nSigned-off-by: Pedro F. Leao \u003cpedroforestileao@gmail.com\u003e",
    "modified": [
      "pkg/cli/commands/integrations/list.go"
    ],
    "removed": [],
    "timestamp": "2026-04-28T03:21:04-03:00",
    "tree_id": "0151602a68dcb96695cbeedef21c91c437629c91",
    "url": "https://github.com/superplanehq/superplane/commit/7cb15223f792d13f3083c1de63f7d80f68abf2d5"
  }
]

DO NOT edit files under src/content/docs/components/ — those are auto-generated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions