fix: resolve daily CI build failures (1ES pool image + npm auth) - #494
Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 6 commits intoJun 29, 2026
Merged
Conversation
- Add missing 'image: ubuntu-latest' to main pool configuration - Add .npmrc pointing to GraphDeveloperExperiences_Public Azure Artifacts feed - Add npmAuthenticate@0 task before npm ci in the pipeline Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
requested a review
from a team
as a code owner
June 4, 2026 23:55
Ramses Sanchez-Hernandez (ramsessanchez)
had a problem deploying
to
build_test
June 4, 2026 23:55 — with
GitHub Actions
Failure
Ramses Sanchez-Hernandez (ramsessanchez)
had a problem deploying
to
build_test
June 4, 2026 23:55 — with
GitHub Actions
Failure
Aligns with updated approach in microsoftgraph/msgraph-sdk-typescript-core#583. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 00:03 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 00:03 — with
GitHub Actions
Inactive
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 19:21 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 19:21 — with
GitHub Actions
Inactive
Replace hardcoded Azure Artifacts registry URL with ADO pipeline variable, matching the approach in msgraph-sdk-typescript-core PR #583. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 22:04 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 22:04 — with
GitHub Actions
Inactive
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 22:09 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 22:09 — with
GitHub Actions
Inactive
Adrian (adrian05-ms)
approved these changes
Jun 5, 2026
Adrian (adrian05-ms)
previously approved these changes
Jun 5, 2026
Replace .npmrc creation + npmAuthenticate@0 + script npm ci with a single npm@1 task using customRegistry/customFeed, matching the approach from microsoftgraph/msgraph-sdk-typescript-core#583. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 23:27 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
temporarily deployed
to
build_test
June 5, 2026 23:27 — with
GitHub Actions
Inactive
Ramses Sanchez-Hernandez (ramsessanchez)
requested a review
from Adrian (adrian05-ms)
June 5, 2026 23:34
Ramses Sanchez-Hernandez (ramsessanchez)
enabled auto-merge (squash)
June 5, 2026 23:38
Adrian (adrian05-ms)
approved these changes
Jun 29, 2026
Ramses Sanchez-Hernandez (ramsessanchez)
merged commit Jun 29, 2026
a688c3b
into
main
12 checks passed
Ramses Sanchez-Hernandez (ramsessanchez)
deleted the
fix/daily-ci-build-1es-pool-npm-auth
branch
June 29, 2026 19:15
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.
Summary
Fixes the daily CI build pipeline which was failing due to two issues:
1. Missing
imageproperty in pool configThe 1ES Pipeline Templates require
name,image, andosto all be specified. The main pool was missing theimageproperty, causing:Fix: Added
image: ubuntu-latestto the main pool configuration.2. npm registry auth for network isolation
Under 1ES network isolation policies, direct access to
registry.npmjs.orgis blocked, causing:Fix:
.npmrcinline at build time (not committed to the repo) pointing to theGraphDeveloperExperiences_PublicAzure Artifacts feednpmAuthenticate@0task beforenpm ciin the pipelineThis approach avoids committing an
.npmrcto the repo, which would break the GitHub Actions workflow that authenticates directly againstregistry.npmjs.org.