You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* test: fix session storage mock initialization
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3aafafb2-5e0b-49a1-b15d-ca56d5dd535e
* build: update lodash to 4.18.1
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3aafafb2-5e0b-49a1-b15d-ca56d5dd535e
* ci: pin validation to Node 20
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3aafafb2-5e0b-49a1-b15d-ca56d5dd535e
* fix: load static data webpack configs asynchronously
* fix: handle undefined ARM_TOKEN in authenticators for tests
* refactor: deduplicate static data copy patterns
* fix: skip ARM token fetch in static data build to fix CI failure
webpack.staticData.js calls webpack.publisher.js which previously
always fetched an ARM token via getArmToken(). In CI there is no
AZURE_CLIENT_SECRET set, so it fell back to interactive browser auth
which fails with AuthenticationRequiredError.
The static data build does not need a real ARM token — startup.publish.ts
uses a hardcoded StaticSettingsProvider when NODE_ENV === staticDataEnvironment,
and StaticAuthenticator already handles undefined/empty ARM_TOKEN gracefully.
- Add optional skipArmToken parameter to webpack.publisher.js
- Pass { skipArmToken: true } from webpack.staticData.js
* fix: await async publisher webpack configs
* fix: set isLocalRun=true and root=http://localhost:8080 in config.validate.json to fix end2end-tests CI
* fix: use nullish coalescing for skipArmToken option in webpack.publisher.js
* fix: restore managementApiUrl fallback in MapiClient.setBaseUrl and static settings for mock publishing mode
* fix: remove redundant 'products/' prefix in getProduct calls in product-subscribe components
* fix: improve error message in MapiClient.setBaseUrl to reflect all config sources
* fix: pre-seed sessionStorage mock and add --exit to mocha to fix test failures and stuck process
---------
Co-authored-by: Roman Kolesnikov <rokolesnikov@microsoft.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
thrownewError("Unable to determine management API URL: no valid configuration found (managementApiUrl, serviceName/subscriptionId/resourceGroupName, or backendUrl must be set).");
0 commit comments