Repository navigation
Avoid blocked npm mirror in Test Quality Improver - #11326
Merged
Merged
Conversation
Co-authored-by: lpcox <[email protected]>
Copilot
AI
changed the title
[WIP] Fix incomplete result reported by Test Quality Improver
Avoid blocked npm mirror in Test Quality Improver
Nov 8, 2026
lpcox
marked this pull request as ready for review
November 8, 2026 18:42
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the changes to prepare test dependencies before sandbox startup.
No open issues 🎉
What changed in this PR
Addresses #11292 by preparing Test Quality Improver’s root test dependencies before sandbox startup, avoiding the Azure npm mirror that blocked baseline testing.
Changes:
- Temporarily redirects mirror URLs to the public npm registry, preserves locked versions and integrity hashes, and restores the lockfile after installation.
- Preserves the published AWF runtime and regenerates the workflow lock.
- Adds regression coverage for dependency preparation, lockfile restoration, and runtime preservation.
| File | Description |
|---|---|
scripts/ci/test-quality-improver-workflow.test.ts |
Tests URL normalization, metadata preservation, restoration, and preparation order. |
scripts/ci/apply-general-workflow-patches.ts |
Adds Test Quality Improver to the published-runtime preservation list. |
scripts/ci/apply-general-workflow-patches.test.ts |
Covers published-runtime preservation for this workflow. |
.github/workflows/test-quality-improver.md |
Adds dependency preparation and instructs the agent to reuse installed dependencies. |
.github/workflows/test-quality-improver.lock.yml |
Regenerates the executable workflow with the preparation step. |
Review effort: Balanced (auto)
Contributor
|
✅ Copilot review passed with no inline comments. @copilot Add the |
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.
Test Quality Improver reported an incomplete result after
npm cifailed certificate verification against the blocked Azure mirror, preventing baseline test execution.Installation keeps TLS verification enabled and disables lifecycle scripts: