Troubleshooting
1. Some Repositories Are Not Visible on the Import Project Page
Issue: Certain repositories may not be visible when trying to import them into the project.
Solution:
- Ensure the application is installed on the workspace.
- Verify that the necessary repository has been granted the required permissions.
- If multiple repositories are not visible, double-check the repository selection settings and permissions.
2. Scan Fails, and Project Is Disconnected on Dashboard
Issue: Scan fails, and the project gets disconnected from the dashboard.
Solution:
- Check if there have been recent permission updates in the workspace. This can happen after new deployments.
- Ensure that the correct application settings are still in place, and permissions have not been inadvertently modified.
3. Pipeline Setup - Configuration Errors
Issue: Incorrect configuration can lead to failed pipelines, wasting time and resources.
Solution:
Before running the pipeline, double-check that the setup is correct to prevent errors and failure.
Test Locally: Run the following command in the terminal to test the configuration before running the pipeline:
npx userway --configPath=path/to/userway.config.ts
If the terminal prints a table with scan results, then the configuration is correct, and you are good to go for the pipeline.
4. Controlling Screenshots in E2E Configuration
Issue: Screenshots can slow down the pipeline if they are enabled unnecessarily.
Solution:
- In the End-to-End (E2E) configuration, make sure to control the screenshot capture.
- Set
screenshots: false
in the configuration to speed up the pipeline if screenshots are not required.