Skip to content

Search deployments by id in the command palette - #343

Merged
acoshift merged 1 commit into
mainfrom
search-deployment-id
Oct 14, 2026
Merged

acoshift merged 1 commit into
mainfrom
search-deployment-id

Conversation

@acoshift

@acoshift acoshift commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Summary

The command palette (/ or the navbar search box) finds a deployment by its numeric id.

Typing any of these opens that deployment:

  • the id itself (9007199254740993)
  • the id-based resource name (d9007199254740993)
  • a pod or service name that starts with that resource name (d9007199254740993-<projectId>-…)

The id is indexed as hidden keywords, the same way a project's numeric id is searchable but not shown on the row. Name and location search are unchanged.

Requires deploys-app/api#142 and https://github.com/deploys-app/apiserver/pull/266 so deployment.list returns id as a string-encoded int64. Until that ships, ids simply do not match; name search still works.

Search by deployment id

Test plan

  • bun lint and bun check
  • bun run test tests/search.spec.js
    • searching the id, d<id>, and a pasted pod name shows the deployment and opens its metrics page
    • a different id shows no matches
    • existing palette tests still pass

Requested via Grok Work
Prompter: ACS
Session: 28f2de0b-6c98-4383-a668-72356733573b

The palette matches a deployment's numeric id, its d<id> resource name, and a pasted pod or service name that starts with that resource name.

Prompter: ACS
@deploys-app
deploys-app Bot temporarily deployed to pr-343 October 9, 2026 09:48 Destroyed
@deploys-app

deploys-app Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift
acoshift merged commit 34252c7 into main Oct 14, 2026
5 checks passed
@acoshift
acoshift deleted the search-deployment-id branch October 14, 2026 04:40

This branch was successfully deployed

No deployments
pr-343 — 4f29bab5 Deployed Oct 9, 2026 by deploys-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant