Skip to content

Commit 57246e3

Browse files
authored
build: hold dependencies back to versions the CFS feed can serve (#1716)
* build: hold dependencies back to versions the CFS feed can serve CI restores packages from the Central Feed Service, which withholds upstream npm versions until they are roughly a week old, answering 404 for both the packument entry and the tarball. The nightly build broke because the lockfile referenced versions that were still inside that window. Roll webpack, postcss and sass (devDependencies) and fs-extra (a runtime dependency) back to the newest releases the feed can currently serve. All 311 locked versions were verified against the feed. * build: raise Dependabot cooldown to 10 days for CFS compatibility The Central Feed Service withholds upstream npm versions until they are roughly a week old. Measured against the vscjava feed, the newest servable version was 6.807 days old while the oldest withheld one was 6.738 days old, and withheld versions return 404 for both the packument entry and the tarball, so pinning an exact version does not help. A 7 day cooldown clears that threshold by only a few hours. Use 10 days so the setting keeps working if the feed's ingestion lag drifts.
1 parent 20839b5 commit 57246e3

3 files changed

Lines changed: 59 additions & 22 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"
12+
# CI restores packages from the Central Feed Service, which withholds
13+
# upstream versions until they are roughly a week old (measured at ~6.8
14+
# days; both the packument entry and the tarball return 404 before then).
15+
# Dependabot's built-in cooldown is only 3 days, so bumps otherwise land in
16+
# a window where the feed 404s and the build fails. 10 days leaves margin
17+
# in case the feed's ingestion lag drifts.
18+
cooldown:
19+
default-days: 10

‎package-lock.json‎

Lines changed: 47 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,16 @@
357357
"bytes": "^3.1.2",
358358
"css-loader": "^7.1.2",
359359
"file-loader": "^6.2.0",
360-
"postcss": "^8.5.24",
360+
"postcss": "^8.5.21",
361361
"postcss-loader": "^8.2.0",
362362
"process": "0.11.10",
363-
"sass": "^1.102.0",
363+
"sass": "^1.101.3",
364364
"sass-loader": "^17.0.0",
365365
"style-loader": "^3.3.1",
366366
"ts-loader": "^9.6.2",
367367
"tslint": "^6.1.3",
368368
"typescript": "^5.9.3",
369-
"webpack": "^5.109.1",
369+
"webpack": "^5.108.4",
370370
"webpack-cli": "^7.2.1"
371371
},
372372
"extensionPack": [
@@ -387,7 +387,7 @@
387387
"compare-versions": "^6.1.1",
388388
"expand-home-dir": "0.0.3",
389389
"expand-tilde": "^2.0.2",
390-
"fs-extra": "^11.4.0",
390+
"fs-extra": "^11.3.6",
391391
"hdr-histogram-js": "^3.0.1",
392392
"highlight.js": "11.11.1",
393393
"jdk-utils": "^0.7.0",

0 commit comments

Comments
 (0)