Refine Error Messaging for Expired/Revoked Environment Variable
Problem to solve
Users are currently experiencing frequent and unhelpful error pop-ups when their GITLAB_WORKFLOW_INSTANCE_URL
and GITLAB_WORKFLOW_TOKEN
environment variable credentials expire or are revoked.
The error message lacks clear instructions on resolving the issue and the provided buttons: Delete Account
and Ignore Error
are misleading. The Delete Account
button is non-functional for this type of account error and the Ignore Error
button dismisses the pop-up without preventing future occurrences, leading to confusion and a poor user experience.
Proposal
- We should have a clear instructional error message. The error pop-up should guide the user on correcting the error by suggesting they update or remove the relevant environment variables.
- Proposed message title: Access Token Expired or Revoked
- Proposed message
Your access token from environment variables for ${instance_url} is no longer valid. Please update or remove the GITLAB_WORKFLOW_INSTANCE_URL and GITLAB_WORKFLOW_TOKEN to resolve this issue.
- Remove
Delete Account
button (we should not modify user environment variables directly) -
Ignore Error
suppresses the error message and does not show again
Further details
Stems from user reported issue that is linked.