Skip to content

feat: add --service-id flag to qovery log command#640

Merged
Guimove merged 1 commit into
mainfrom
feat/qovery-log-accept-service-id
May 12, 2026
Merged

feat: add --service-id flag to qovery log command#640
Guimove merged 1 commit into
mainfrom
feat/qovery-log-accept-service-id

Conversation

@Guimove
Copy link
Copy Markdown
Contributor

@Guimove Guimove commented May 12, 2026

Summary

  • Adds --service-id flag to qovery log that accepts a service UUID directly
  • Bypasses all name→ID API resolution (no listing of applications, containers, jobs, etc.)
  • Compatible with the existing context flow — org/project/environment are still resolved normally, only the service lookup is skipped

Motivation

When working from a Qovery console URL, the service UUID is immediately available in the path (e.g. .../service/9243f628-0c88-440f-9c4a-39b961650b7b/service-logs). Previously, the CLI required the service name instead, forcing an extra lookup. This flag eliminates that round-trip for agentic and scripted workflows.

Usage

qovery log --service-id "9243f628-0c88-440f-9c4a-39b961650b7b"

Test plan

  • Built and tested locally against a live service — logs streamed correctly with the UUID
  • Existing name-based flags (--service, --application, etc.) are unaffected
  • --service-id case is evaluated first in the switch, so it takes priority when provided

@Guimove Guimove merged commit faea62e into main May 12, 2026
6 checks passed
@Guimove Guimove deleted the feat/qovery-log-accept-service-id branch May 12, 2026 08:48
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.

4 participants