mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 01:21:24 +01:00
Windows Setup E2E runs its long cases on parallel runners (GST-3303) (#4575)
Pull requests that touch install files get their Windows Setup E2E result about 3 minutes sooner: its long cases now run on parallel Windows runners instead of one after another. This goes toward PR feedback in minutes: Windows Setup E2E was the last check to finish on 77 of the 234 pull request heads it ran on. Nothing to do: every case still runs on every in-scope pull request, and no required check changes. Refs: GST-3303 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
29bff55dd8
commit
593d7e1634
7 files changed
+296
-128
No files matched your search
@@ -179,6 +179,8 @@ const SCANNER_EXEMPT: Record<string, string> = {
|
||||
'served-page JS talking to its own loopback server (relative ./api fetch)',
|
||||
'crew/scripts/gate-cost-replay.ts':
|
||||
'developer-invoked read-only measurement (GSTA-49 T0): git fetch of gstack\'s own origin by SHA (old PR heads and tested merge commits) so past PR gates can be replayed; a download only, no gstack or user state leaves the machine',
|
||||
'scripts/windows-held-install-fixture.sh':
|
||||
'CI-only fixture for the Windows Setup E2E held-install jobs: fetches one pinned release commit of gstack\'s own public repo from the workflow checkout\'s origin (a download only) and pushes to a bare repo under $RUNNER_TEMP; never runs on a user machine, and no gstack or user state leaves the runner',
|
||||
'scripts/ubicloud':
|
||||
'developer-invoked test infrastructure: Ubicloud API calls (VM create/show/destroy) with the developer\'s own token, the checkout streamed over SSH to that developer\'s own ephemeral VM, and toolchain downloads run on the VM; no installed-gstack user state is sent',
|
||||
// Skill prose templates: these render agent-executed instructions (the
|
||||
|
||||
@@ -18,7 +18,7 @@ const OBSERVED: Record<string, string> = {
|
||||
'free-tests.yml': 'free-suite,macos-named-regressions',
|
||||
'windows-smoke.yml': 'windows-smoke',
|
||||
'windows-scoped-tests.yml': 'windows-scoped-shard',
|
||||
'windows-setup-e2e.yml': 'windows-setup,held-install-journey',
|
||||
'windows-setup-e2e.yml': 'windows-setup,windows-setup-recovery,windows-setup-cso,held-install-journey,held-install-trial,held-install-later-release',
|
||||
'quality-gate.yml': 'quality',
|
||||
'evals.yml': 'build-image,eval-slices',
|
||||
};
|
||||
|
||||
@@ -160,7 +160,7 @@ describe('Windows Setup E2E runs by install path', () => {
|
||||
expect(scope['runs-on']).toBe('ubuntu-24.04');
|
||||
expect(scope.steps[0].with).toEqual({ 'fetch-depth': 2, 'persist-credentials': false });
|
||||
const windowsJobs = Object.keys(setupE2e.jobs).filter(name => name !== 'windows-scope' && name !== 'trunk-dynamic-ci');
|
||||
expect(windowsJobs).toEqual(['windows-setup', 'held-install-journey']);
|
||||
expect(windowsJobs).toEqual(['windows-setup', 'windows-setup-recovery', 'windows-setup-cso', 'held-install-journey', 'held-install-trial', 'held-install-later-release']);
|
||||
for (const name of windowsJobs) {
|
||||
expect([name, setupE2e.jobs[name]['runs-on'], setupE2e.jobs[name].needs, setupE2e.jobs[name].if])
|
||||
.toEqual([name, 'windows-latest', 'windows-scope', "needs.windows-scope.outputs.install == 'true'"]);
|
||||
|
||||
Reference in new issue
Block a user