Startrekzky opened a new issue, #8017: URL: https://github.com/apache/incubator-devlake/issues/8017
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### Use case It took a user 40 min to 1 hour to find out a pipeline failed because there were invalid tokens. It's much better to let the user know immediately after an expired token is detected. ### Description ### Use cases | No. | use case | | -- | -- | | 1 | A project' has multiple connections (Jira & GitHub), and ALL of the tokens are invalid | | 2 | A project' has multiple connections (Jira & GitHub), and only part of the token (e.g. Jira token) is invalid | | 3 | A project' has multiple connections (Jira & GitHub), and one of the GitHub tokens is invalid | ### Expected result when triggering the pipeline in the above use cases To make it simpler, all the above use cases will have the same result: 1. When users trigger a pipeline in `Collect data` or `Full refresh` mode `manually` on the UI: a. prompt the user of invalid tokens in which connection(s). b. And, the pipeline will not run either. 2. When users trigger a pipeline in `Re-transform` mode: The pipeline can be executed. This operation does not check the tokens. 3. When a pipeline is automatically triggered (users cannot choose the sync mode), the pipeline fails immediately. ### Tokens to be checked All tokens of the connections under the project. ### Prototypes When there is one or more invalid tokens detected, prompt a dialogue to guide the user to update the tokan.  ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org