Bot behavior - 404 handling #69497
Labels
Area-Validation-Pipeline
Issues related to the manifest validation pipeline.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Background
One of the activities of the bots is to scan the repo to ensure that installer hashes match and that URL's are not 404. This is fairly complex behavior, so to level-set and ensure that I am of the correct understanding, please let me know if I am missing any part of the intended functionality here or if it has been changed since the original implementation
Expected Behavior
With the above behavior, the latest version of a package will never be removed automatically, and community members will be notified that an update is required, decreasing the downtime for packages which are 404 and not able to be updated. Additionally, older versions of packages which are no longer working would be removed, ensuring the most accurate version list is available.
Discovery
I have a custom function I run which gets a URL response. This is the same function which is used in the YamlCreate script to determine if a URL is valid before accepting it. With this, I decided to do a test scan of the packages just out of curiosity, and found several 404's which are not the latest version.
Reproduction
Install-Module -Name powershell-yaml
$files = gci -recurse -File -Filter '*.installer.yaml'
When doing this, I found that packages like Alibaba.Yuque had many versions which were 404. The latest version was not 404, but a majority of the older versions were.
A small portion of the output
Related Items
The text was updated successfully, but these errors were encountered: