Skip to content

[pull] main from actions:main - #330

Merged
pull[bot] merged 1 commit into
meonBot:mainfrom
actions:main
Aug 17, 2026
Merged

[pull] main from actions:main#330
pull[bot] merged 1 commit into
meonBot:mainfrom
actions:main

Conversation

@pull

@pull pull Bot commented Aug 17, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

#14561)

* [Windows] Fix MongoDB installer after release-notes URL and anchor change

The release-notes URL with a trailing slash now answers 308 Permanent
Redirect, which Invoke-WebRequest on Windows PowerShell 5.1 does not
follow, so the install fails on windows-2025, windows-2025-vs2026 and
windows-2022. The release anchors on that page also lost their dots
(#7040---aug-11-2026), so the old parser matched nothing.

Use the canonical URL without the trailing slash and read versions from
the changelog anchors (#std-label-7.0.40-changelog), which keep the
dotted version. Also pick the highest version rather than the first on
the page, and fail with a clear message when nothing parses.

* Resolve MongoDB version from the downloads feed instead of the docs page

Addresses review feedback. Scraping the release-notes page has now broken
twice: the URL with a trailing slash answers 308 Permanent Redirect, which
Invoke-WebRequest on PowerShell 5.1 does not follow, and the release anchors
lost their dots so the parser matched nothing.

https://downloads.mongodb.org/current.json lists the newest release of each
supported branch, so it is not subject to the markup and URL changes that
broke scraping.

---------

Co-authored-by: Davit Ioramashvili <294214454+v-davit-ioramashvili@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 17, 2026
@pull pull Bot added the ⤵️ pull label Aug 17, 2026
@pull
pull Bot merged commit 335e23e into meonBot:main Aug 17, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant