Commit Graph

457 Commits

Author SHA1 Message Date
Robo
b3669c244f ci: fix electron download from test steps (#292811)
* ci: fix electron download from test steps

* build: always repackage electron from oss entry scripts
2026-02-04 16:37:20 +01:00
Raymond Zhao
000e601e5e Revert "engineering: use tar+zstd for win32 node_modules cache" (#291740)
Revert "engineering: use tar+zstd for win32 node_modules cache (#291624)"

This reverts commit 70529729e6.
2026-01-29 21:48:29 +00:00
João Moreno
70529729e6 engineering: use tar+zstd for win32 node_modules cache (#291624)
* engineering: use tar+zstd for win32 node_modules cache

* bump cache

* Update .github/workflows/pr-node-modules.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update build/azure-pipelines/win32/product-build-win32-node-modules.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update build/azure-pipelines/win32/steps/product-build-win32-compile.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/workflows/pr-win32-test.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* bump cache salt

* more fixes

---------

Co-authored-by: Aman Karmani <aman@tmm1.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-29 21:16:43 +01:00
Robo
3e56b3a2a4 feat: enable win11 context menu for stable (#287832)
* feat: enable win11 context menu for stable

* chore: update dll package

* chore: codesign appx for stable

* feat: support system setup

* fix: allow installing appx for system setup

* fix: add -SkipLicense to avoid exception during install
2026-01-15 19:49:28 +01:00
Ladislau Szomoru
dd65f0c5ef Engineering - switch from npm-run-all to npm-run-all2 (#284087)
* Introduce compilation error

* Engineering - limit the tasks that we run

* Limit available memory to simulate an OOM

* Try to update the task

* Remove the use of npm-run-all

* Fix script

* Another try

* Try npm-run-all2

* Restore tasks, keep npm-run-all2

* Switch from npm-run-all to npm-run-all2

* Revert changes that were used for testing
2026-01-05 15:49:42 +01:00
João Moreno
e354fed9eb missing codesign for win32 web bits (#280914) 2025-12-03 10:59:11 +00:00
Raymond Zhao
6e7ee5ac27 chore: publish symbols (#277552) 2025-12-01 13:48:27 -08:00
Robo
4c5bfb172a feat: create versioned resources for windows setup (#263998)
* feat: create versioned resources for windows setup

* chore: use inno_updater to remove old installation

* chore: remove old installation as part of setup

* chore: update explorer-command

* chore: prefer session-end

* chore: uninst delete updating_version

* chore: make session-ending write synchronous

* chore: cleanup updateService.win32.ts

* chore: invoke inno_updater gc path for non background update

* chore: move session-end path to runtime

* chore: use commit for updating_version

* chore: fix invalid string

* chore: set appUpdate path

* chore: update inno_updater

* chore: empty commit for testing

* chore: some cleanups

1) Check for session-ending flag in appx and tunnel callsites
2) Move gc for background update to cleanup phase in updateservice
3) Set update state to ready when there is a running inno_setup

* chore: disallow same version update

* chore: disallow application launch in the middle of update

* chore: empty commit for testing

* chore: bump inno_updater

* chore: empty commit for testing

* chore: move gc to update startup

* chore: move feature behind insider only check

* chore: bump inno_updater

* chore: bump explorer-command

* fix: build

* fix: gc for background update in system setup

* chore: create separate cli entrypoints for build

* fix: check for setup mutex created by inno

* chore: remove problematic updatingVersionPath deletion

* chore: remove redundant update check

* chore: bump inno_updater

* chore: fix build

* chore: bump inno updater
2025-11-24 21:32:12 +09:00
Matt Bierner
f0e7fe3775 Convert a few more build scripts to TypeScript
For #277526
2025-11-21 09:26:54 -08:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
João Moreno
911a41f96e Revert "Insider builds should have an auto increasing version number" (#278356)
Revert "Insider builds should have an auto increasing version number (#277497)"

This reverts commit 222fb55dd5.
2025-11-19 15:08:11 +01:00
João Moreno
222fb55dd5 Insider builds should have an auto increasing version number (#277497)
* wip

* more logs

* add bump-insiders-version.yml

* ok give this a try

* fix paths

* missing parameter

* ok

* fix

* fix CI

* hm

* rm

* fix appx version

* fix inno

* whoops

* update insiders version in compile job as well

* thanks @lszomoru
2025-11-17 17:21:33 +01:00
Raymond Zhao
18d828e5d5 chore: suppress node warnings (#274905)
* chore: suppress node CFG warnings

* Add lines from gdnsuppress
2025-11-04 12:45:30 +09:00
Matt Bierner
fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Paul
d72d6a2424 Generate policy data as JSON (#272368) 2025-10-21 12:48:33 -07:00
Paul
6025703c6a Revert "Generate policy data as JSON" (#272362) 2025-10-20 16:12:10 -07:00
Paul
99c299e880 Generate policy data as JSON (#272018) 2025-10-20 14:38:48 -07:00
Ladislau Szomoru
4b8bd3cb6f Engineering - refactor product pipeline (#269979) 2025-10-06 11:12:40 +02:00
Ladislau Szomoru
7833e078b6 Engineering - remove task that is not needed (#268847) 2025-09-29 12:17:09 +00:00
Ladislau Szomoru
034e8a4bf4 Engineering - add node_modules stage to keep node_modules cache warm (#268839)
* Engineering - scaffold Windows jobs to maintain node_modules cache

* Add agent pool

* No need to extract node_modules

* Delete commented out code

* Add Linux jobs

* Add macOS job

* Add missing condition

* Add Web job

* Remove steps to download compilation output

* Fix condition for the node_modules stage

* Remove parameter

* Add Alpine jobs

* Remove the check to test the stage

* Switch macOS job to x64

* Restore the check for the node_modules stage

* Remove extraction
2025-09-29 13:55:31 +02:00
Ladislau Szomoru
a4838b9ffd Engineering - update rust toolchain (#268270) 2025-09-25 08:07:20 -07:00
Ladislau Szomoru
3dbf54100c Engineering - cleanup Windows CLI jobs (#268267)
* Engineering - move Windows CLI jobs into the template

* Rename files

* Declare output in the template context

* Refactor job template

* Move files around

* Move files around

* Fix path

* Another try

* Revert "Another try"

This reverts commit ac1f1ad2df.

* Some more paths to fix
2025-09-24 22:50:36 -07:00
Raymond Zhao
3eb3a2f4ea chore: remove gdnsuppress (#268196) 2025-09-24 17:30:39 +00:00
Ladislau Szomoru
4e16556bcf Engineering - cleanup pipeline file name (#268173) 2025-09-24 16:23:39 +02:00
Ladislau Szomoru
d89b89ea9e Engineering - fix Windows stage (#268171) 2025-09-24 14:01:10 +00:00
Ladislau Szomoru
f45dabea55 Engineering - move jobs into templates (#268167)
* Engineering - move compilation job into template

* Move Windows jobs into a template

* Fix typo

* Tweak job display name
2025-09-24 15:37:55 +02:00
Ladislau Szomoru
f873c6e2b8 Engineering - extract Windows ci jobs in a template (#268131)
* Engineering - extract windows ci job into a template

* Fix condition

* Adopt new job template
2025-09-24 12:19:15 +02:00
Ladislau Szomoru
4298c058c7 Engineering - move Windows CLI job into the template (#268110) 2025-09-24 07:47:37 +00:00
Ladislau Szomoru
61d114ddc1 Engineering - pipeline perf improvements (#268041)
* Engineering - declare compilation stage output

* Fix typo

* Declare artifacts

* Mark compilation output as non-production

* Remove condition for testing purposes

* Move declaration

* Comment out test related logs

* Upload test logs

* Add the comment back

* Remove code that is commented out

* Trying to switch to one artifact

* Add back all outputs

* Consistent outputs

* Add output parent directory

* Add more artifacts

* Move things around

* Add outputs to the CI jobs

* Switch over the CLI job

* Adjust sbomPackageName for CLI

* Restore the for loop

* More improvements to the CLI job

* Fix SBOM path

* Remove commented out tasks

* Fix atrifact names for the CI build

* Update target path
2025-09-23 14:49:19 -07:00
Ladislau Szomoru
bb58370bb2 Engineering - tweak repository checkout task (#267213)
* Engineering - limit the checkout for the publish and release stages

* Tweak checkout for each job

* Fix path
2025-09-17 16:30:05 +02:00
Ladislau Szomoru
8b03d13e2e Engineering - pipeline improvements (#267130)
* Engineering - try things out

* Use parameters.sbomEnabled instead

* Windows CLI - disable SBOM creation

* macOS CLI - disable SBOM creation

* Remove the isProduction template parameter
2025-09-17 00:05:39 +00:00
Aaron Munger
f51beb9eab increase timeout for correct task, revert other timeout (#266402) 2025-09-12 10:12:33 -07:00
Aaron Munger
2f42681464 allow for long install dependency times (#266240) 2025-09-11 18:37:50 +00:00
Ladislau Szomoru
8e7ae9a3b5 Engineering - mark test artifacts as non-production (#266146)
* Engineering - disable SDL tasks for non-production artifacts

* Engineering - set isProduction for test artifacts
2025-09-11 07:12:40 +00:00
João Moreno
8d7e69612d revert back to official nodejs mirror (#265692)
maybe the issue is gone by now 🤞:
- https://github.com/microsoft/azure-pipelines-tasks/issues/18280
- https://github.com/nodejs/nodejs.org/issues/4495
2025-09-08 17:14:10 +00:00
João Moreno
0ec8ac6438 Check for artifact existence before publishing (#263777)
* Refactor artifact publishing steps to use a common template across all build configurations

* Refactor conditions in publish artifact template

* typo

* whops

* fix msg

* hm
2025-08-29 15:49:34 +02:00
Robo
35173c1de1 Revert "ci: always generate artifact prefix (#263738)" (#263764)
This reverts commit 502526da29.
2025-08-28 08:31:42 +00:00
Robo
502526da29 ci: always generate artifact prefix (#263738) 2025-08-28 07:22:41 +02:00
Robo
9d7c34c96a chore: update electron@37.3.1 (#263552)
* chore: update electron@37.3.1 (#262877)

* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* temp: bump distro

* chore: bump distro
2025-08-27 13:08:07 +00:00
Robo
4a31639f5f ci: make artifact name unique for cpuprofile (#263543) 2025-08-27 07:38:20 +00:00
Raymond Zhao
80c270d20f Revert "chore: update electron@37.3.1" (#263488)
Revert "chore: update electron@37.3.1 (#262877)"

This reverts commit ad0b5d23c1.
2025-08-26 23:04:57 +00:00
Robo
ad0b5d23c1 chore: update electron@37.3.1 (#262877)
* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* chore: bump distro
2025-08-26 15:40:21 +02:00
Robo
3ae9caf352 ci: always publish cpu profile for codesign failure (#262944)
ci: always publish cpu profile for codsign failure
2025-08-22 15:47:20 +00:00
Robo
1bd6a44494 Revert "chore: enable verbose logs for windows electron smoketests" (#262291)
This reverts commit cf2732fd8b.
2025-08-19 10:28:34 +00:00
Ladislau Szomoru
cb596f81ac Engineering - cleanup pull request ADO pipeline (#262276)
* Initial implementation

* Fix indentation
2025-08-19 11:25:14 +02:00
Matt Bierner
12a275ffe7 Use ts-native to compile our build scripts
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
Robo
53fa43adfa ci: fix build (#259996) 2025-08-06 10:44:45 +02:00
Robo
e3231fea7f ci: generate and upload cpu profile for win32 codesign steps (#259808) 2025-08-05 16:38:18 -07:00
Robo
c9118f6388 ci: log diagnostics for deemon failures on windows (#258422) 2025-07-29 06:23:26 -07:00
Robo
f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00