Skip to content

Conversation

matthewdale
Copy link
Collaborator

Summary

When checking Markdown links, if the endpoint returns HTTP 429 (Too Many Requests), consider it a successful check.

Background & Motivation

The previous attempt to fix this (#2186) didn't work. Use this approach instead.

@matthewdale matthewdale added enhancement review-priority-urgent High Priority PR for Review: review immediately! ignore-for-release labels Sep 4, 2025
@matthewdale matthewdale marked this pull request as ready for review September 4, 2025 22:42
@Copilot Copilot AI review requested due to automatic review settings September 4, 2025 22:42
@matthewdale matthewdale requested a review from a team as a code owner September 4, 2025 22:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the Markdown link check configuration to properly handle HTTP 429 (Too Many Requests) responses by treating them as successful checks instead of retrying the requests.

  • Replaces the retry flag -r with acceptable status codes flag -a 200,206,429
  • Updates the comment to reflect the new approach of considering HTTP 429 as successful

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

API Change Report

No changes found!

@matthewdale matthewdale merged commit 747a8d0 into mongodb:release/1.17 Sep 5, 2025
35 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants