Skip to content

Add user-facing status messages for cluster lookup and OCM auth - #591

Open
clcollins wants to merge 1 commit into
openshift:masterfrom
clcollins:add-cluster-lookup-status-messages
Open

Add user-facing status messages for cluster lookup and OCM auth#591
clcollins wants to merge 1 commit into
openshift:masterfrom
clcollins:add-cluster-lookup-status-messages

Conversation

@clcollins

Copy link
Copy Markdown
Member

Summary

  • Add a "Looking up cluster: ..." message to stderr before the cluster lookup API call, so the terminal doesn't appear hung while OCM resolves the cluster
  • Update the browser auth message to "Please complete OCM browser authentication..." for clarity when tokens are expired and the browser auth flow starts

Test plan

  • Run ocm-container -C <cluster-id> and verify "Looking up cluster: ..." appears before the lookup
  • With expired OCM tokens, run ocm-container and verify "Please complete OCM browser authentication..." appears
  • Verify all unit tests pass with make test

🤖 Generated with Claude Code

Add a "Looking up cluster: <id>..." message before the cluster lookup
API call, and update the browser auth message to "Please complete OCM
browser authentication..." so the terminal doesn't appear hung during
these operations.

Created with assistance from Claude 🤖 <claude@anthropic.com>

Signed-off-by: Christopher Collins <collins.christopher@gmail.com>
@openshift-ci
openshift-ci Bot requested review from tkong-redhat and tnierman August 9, 2026 18:45
@openshift-ci

openshift-ci Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant