Express was bumped 4.21.2 -> 5.2.1, whose router uses path-to-regexp v8 which removed inline-regex route params. The route /pull/:pr(\d+) threw PathError at startup. Switch to /pull/:pr (handler already validates with /^\d+\$/ and returns 400).
Also update deploy runtime to NODE:22-lts and drop the stray 'node' and unused top-level 'path-to-regexp' dependencies.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7793a516-0204-44e1-bed5-d8ad91b9400a
* Changes to DE preview site to support managed identity. Changes to
infrastructure to use new preview site.
* Fix formatting.
* Potential fix for code scanning alert no. 56: Server-side request forgery
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Use different secrets for subscription/tenant/client id's.
* Revert new id names.
* Update Az CLI config.
* Update to Node 18 and update security vulnerable dependencies.
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Update subscription for preview PRs
* Fix command line args
* Replace subid for sub name
* Remove --subscription from az storage commands
* revert other changes
* Dynamic link to HEAD of a given PR
* Display pr name and link in notification console
* Pass along query string to Explorer
This means you can write a URL like:
https://cosmos-explorer-preview.azurewebsites.net/pull/123?feature.enableFoo=true
and when Explorer loads it'll have enableFoo set to true in the features
object.