mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
build(oss): retry CG notice generation and widen platform poll budget (#323179)
This commit is contained in:
@@ -44,7 +44,7 @@ const QUALITY_JOB_NAMES = ['Quality Checks', 'Quality'];
|
||||
const SHIPPING_NOTICE_NAME = 'ThirdPartyNotices.new.txt';
|
||||
const TARGET_NOTICE = path.resolve('ThirdPartyNotices.txt');
|
||||
|
||||
// Poll budget: 20 attempts x 30s = 10 minutes. Deliberately far below the
|
||||
// Poll budget: 30 attempts x 30s = 15 minutes. Deliberately far below the
|
||||
// copilot 30min so a never-produced artifact degrades to fallback quickly, but
|
||||
// with generous margin over the parallel Quality stage (CG + scan + merge).
|
||||
// The gate accepts only once ThirdPartyNotices.new.txt has been downloaded,
|
||||
@@ -58,7 +58,7 @@ const TARGET_NOTICE = path.resolve('ThirdPartyNotices.txt');
|
||||
// NB: this is the OUTER artifact-availability poll. It is unrelated to the
|
||||
// inner retry() wrapper in retry.ts, which independently retries each AZDO API
|
||||
// call up to 10 times for transient network errors and emits no attempt log.
|
||||
const POLL_ATTEMPTS = 20;
|
||||
const POLL_ATTEMPTS = 30;
|
||||
const POLL_INTERVAL_MS = 30_000;
|
||||
|
||||
function log(message: string): void {
|
||||
|
||||
@@ -148,6 +148,7 @@ jobs:
|
||||
displayName: "Generate ThirdPartyNotices (CG)"
|
||||
inputs:
|
||||
outputfile: $(Build.SourcesDirectory)/ThirdPartyNotices.generated.txt
|
||||
retryCountOnTaskFailure: 3
|
||||
continueOnError: true
|
||||
|
||||
# =========================================================================
|
||||
|
||||
Reference in New Issue
Block a user