Repository navigation
Fix Update Astro dependency downloads and upgrade command - #71619
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Astro update to provide terminal safe output
Fix Update Astro dependency downloads and upgrade command
Oct 24, 2026
pelikhan
marked this pull request as ready for review
October 24, 2026 11:12
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new regression suite is not connected to automated test runners, leaving the intended safeguards inactive.
1 open issue
1 file not reviewed
docs/package-lock.json: Generated file
What changed in this PR
Addresses dependency-download and command failures encountered by gh-aw’s automated Astro documentation updater in #71537.
Changes:
- Replace 32 mirror tarball URLs with canonical npm URLs, preserving versions and integrity hashes.
- Switch to
npm-check-updates --upgradeand regenerate the workflow lock. - Add regression checks for tarball URLs, integrity presence, and the upgrade flag.
| File | Description |
|---|---|
scripts/update-astro.test.cjs |
Adds lockfile and updater-command regression checks. |
docs/package-lock.json |
Replaces mirror URLs with canonical npm tarball URLs. |
.github/workflows/update-astro.md |
Uses the supported --upgrade flag. |
.github/workflows/update-astro.lock.yml |
Refreshes compiled workflow and admission hashes. |
Review effort: Max
|
|
||
| const root = path.join(__dirname, ".."); | ||
|
|
||
| test("Update Astro uses the supported npm-check-updates upgrade flag", () => { |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Update Astro stopped without a terminal safe output after npm hit a certificate error downloading a mirror-pinned tarball. The workflow also instructed the agent to use an unsupported
npm-check-updatesflag.--updateto--upgradeand regenerate the compiled workflow lock.