Repository navigation
gate: a MEASURED_E2E group waits for ci-kit's measured-job guard on a Mac - #68
Merged
Merged
Conversation
… Mac The timing-measured groups (artifacts-perf, document-scale, presentations-scale) are listed in gate.yml's MEASURED_E2E; the plan marks their matrix entries `measured`. On a Mac their e2e job's first step, before the checkout, is SSFSKIM/ci-kit/mac/settle@v1 (ci-kit #58, 892fccaa): it releases the job once two reads 30 s apart each show the 1-minute load under 5, the display at @2x, no Parsec viewer or screensharingd and no computer use, and after 15 minutes refuses it with ci-kit's `ci-kit: … rerun` line naming the condition that failed, which ci-gate.sh already counts as refused and relaunches. A measured job's timeout is 45 minutes, the guard's 15 over the usual 30. This automates Decision Log 75's posture go. The refusal summary's comments name the guard beside the job-started check; its test pins the guard's line at a job's first step as refused, and the plan's test pins the mark, the guard's place and the timeout.
The measured-job guard runs before the checkout, and on the Mac the workspace persists between jobs: only the checkout's clean clears the last job's playwright-report/ and test-results/. A refused measured group therefore uploaded another job's report and measurements as its own e2e-<group> artifact, which ci-gate.sh then downloads as the failed job's report. The upload step now also needs the checkout's outcome to be success, so any failure before the checkout uploads nothing; gate-plan.test.mjs pins the condition and the checkout's id.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automates Decision Log 75's posture go for measured sets. It uses ci-kit's measured-job guard, from ci-kit #58 (merge 892fccaa, which closes ci-kit #55). CI-opt moved ci-kit's
v1tag to 892fccaa, soSSFSKIM/ci-kit/mac/settle@v1resolves to the guard. This PR adds no Decision Log entry; the architect writes it.gate.yml
MEASURED_E2E: artifacts-perf document-scale presentations-scalesits beside the other group lists.gate-plan.mjs) marks each matrix entrymeasured. A job-leveltimeout-minutescannot readenv, so the list reaches the job through the matrix, the same wayLIBREOFFICE_E2Ebecomesmatrix.libreoffice.SSFSKIM/ci-kit/mac/settle@v1, underif: matrix.measured && runner.os == 'macOS'.screensharingdtimeout-minutes: ${{ matrix.measured && 45 || 30 }}: the guard's 15-minute bound on top of the usual 30.MEASURED_E2Ecomment describe all of this.The refusal
ci-kit: … rerunline, for exampleci-kit: the mini did not settle for a measured job within 15 min (load 7.20, display @1x); waited 900 s; start: …; refusal: … — fix that there and rerun. The parenthesis names each condition the last read failed and what it read.scripts/ci-gate-refusals.sh's pattern already counts such a line as refused, at any step name. No code change was needed there.scripts/ci-gate.sh's header, now name the guard beside the job-started check.scripts/ci-gate-refusals.test.mjspins the guard's line, at itsRun SSFSKIM/ci-kit/mac/settle@v1step, as refused, together with the relaunch line..github/scripts/gate-plan.test.mjspins:measuredmarkMEASURED_E2Egroup has a package scriptifPlan doc: §3.2's jobs line and its
e2ebullet describe the guard and the 45-minute timeout.Evidence: class 1a
staticon the pool, on this head, is green: run https://github.com/SSFSKIM/MAWS/actions/runs/39223350574.node --testonscripts/ci-gate-refusals.test.mjs,.github/scripts/gate-plan.test.mjsandscripts/ci-gate-alerts.test.mjspasses 31 of 31 locally.actionlintreports nothing new.Not run: the guard itself on the mini. No Mac run was made for this PR. The first measured set after the landing exercises it, and its
ci-kit settle:line is in each measured job's log.