Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update links.yml #2052

Merged
merged 2 commits into from
May 1, 2023
Merged

Update links.yml #2052

merged 2 commits into from
May 1, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 1, 2023

copilot:all

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced broken link checks in CI with retry capabilities.

πŸ“Š Key Changes

  • πŸ”„ Switched from using lychee-action to manual lychee installation and execution.
  • πŸ”„ Included a retry mechanism for link checks using nick-invision/retry.
  • ⌚ Increased robustness by accepting certain failure status codes like 429 and 999 from specific platforms during checks.
  • 🧰 Additional check commands now include a maximum number of attempts and introduce delay between retries.

🎯 Purpose & Impact

  • πŸ› οΈ The direct installation of lychee ensures the latest version is used and might improve reliability.
  • πŸ”„ Retry mechanism provides resilience to temporary issues such as network flakiness, reducing false positives in broken link detection.
  • βœ… By accepting specific status codes, the changes aim at reducing noise from platforms that frequently block automated testing tools (like Instagram and LinkedIn), streamlining the workflow.
  • πŸš€ Overall, these changes are likely to enhance the CI process for the repository, ensuring smoother and more accurate continuous integration practices. Users and developers can expect improved link checking with fewer interruptions and disruptions.

@glenn-jocher glenn-jocher merged commit c8a6fa3 into master May 1, 2023
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch May 1, 2023 10:07
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.

None yet

1 participant