7 Commits

Author SHA1 Message Date
pulse-triage[bot]
bfdb532b90 Reuse API timing leaf shares between lifecycle events
Output-only events advance observed time without changing the live subtest tree. Cache its leaf shares until run, pause, cont or completion, including untimed transitions; preserve fractional timing, every verdict and all diagnostics.

Contract-Neutral: CI collector computation optimization only; no coverage, timing interpretation, artifact schema or product contract changes.
Change-source: pulse-maintainer
2026-11-29 17:25:33 +00:00
pulse-triage[bot]
3398d2817d Record parallel subtest wall time and rebalance backend CI weights
Go reports a parent test's Elapsed before waiting for parallel subtests,
causing .github/scripts/record-internal-api-test-seconds.py to record
parents that spawn t.Parallel() subtests near 0.00s even when their
subtests consume tens of seconds of package wall time. In
scripts/installtests, 22 such roots accounted for +132.6s to +158.0s of
unrecorded wall time on rest-2 (3-way) and rest-1 (2-way), skewing
hosted installtests wall times to 183.7/208.7/347.0s (3-way) and
225.9/471.9s (2-way). Meanwhile, #5239 eliminated the 240s TrueNAS
poller close stall (0.05-0.08s across four post-#5239 runs), leaving the
stale 240.03s monitoring weight skewing internal/monitoring by 170.6s
(366.4/377.8/207.2s 3-way; 541.3/410.1s 2-way).

Track fractional active leaf-test execution slots across Go JSON event
timestamps whenever a root test has paused subtests, clamping to
package-seconds against clock steps and preserving Go's exact monotonic
Elapsed for roots without paused subtests. Add unit and real Go -race
-json regression tests in scripts/tests/test_api_failure_index.py.

Refresh scripts/release_control/monitoring-test-seconds.txt,
scripts/release_control/installtests-test-seconds.txt, and the two
sliced whole-package hints in .github/scripts/go-package-test-seconds.txt
from four complete post-#5239 Build and Test runs (45940742093,
45942566161, 45942829787, 45944948230) plus scaled -race GOMAXPROCS=2
active-slot timings for the 22 parallel-subtest installtests roots. On
unseen holdout 45944013795:
- internal/monitoring 3-way: 366.39/377.82/207.21s -> 317.70/317.28/316.44s
  (-60.12s max, spread 170.61s -> 1.26s)
- internal/monitoring 2-way: 541.34/410.08s -> 475.89/475.53s
  (-65.45s max, spread 131.26s -> 0.36s)
- scripts/installtests 3-way: 184.03/193.51/356.73s -> 235.89/267.00/231.38s
  (-89.73s max, spread 172.70s -> 35.62s)
- scripts/installtests 2-way: 264.48/469.79s -> 381.86/352.41s
  (-87.93s max, spread 205.31s -> 29.45s)

Contract-Neutral: Fixes parallel-subtest duration accounting in the CI timing recorder and refreshes backend test-shard scheduling weights; timing output format, failure-index schema, privacy bounds, source-derived coverage admission, required checks, and product behavior are unchanged.
Change-source: pulse-maintainer
2026-11-27 06:05:07 +00:00
pulse-triage[bot]
5be9e06ca1 Keep API failure collection fatal with optional build caching
The old whole-job assertion rejected the narrowly optional cache restore even though API execution, admission and sidecar upload remain mandatory. Check every step structurally and allow only the complete pinned cache-restore shape. Adverse controls reject masking the job, runtime, admission or upload, and reject cache lookalike actions, arbitrary execution, paths and conditions.

Change-source: pulse-maintainer
2026-10-31 16:08:07 +00:00
pulse-triage[bot]
a370a6f8de Keep noisy CI test diagnostics out of an output-sized heap
Spool held test output after 64 KiB per root without truncation, private-name paths or altered coverage verdicts. Preserve failed and unfinished logs while passing and skipped roots stay quiet. Exercise four interleaved roots with 96 MiB of output under a fixed 64 MiB recorder budget, plus Unicode/order and existing real Go race/coverage controls.

Change-source: pulse-maintainer
Contract-Neutral: Ordinary CI diagnostic storage only; log bytes/order, timing and index schemas, source selection and verdicts are unchanged. Executable controls are in scripts/tests/test_api_failure_index.py.
2026-10-29 02:51:59 +00:00
pulse-triage[bot]
93459d762e Retain bounded API shard skip observations
Distinguish skipped selected tests and passing parents with skipped subtests in the existing CI sidecar. Retain only bounded source names and an aggregate child event count, including on failed or incomplete runs. Preserve shard selection, timings, diagnostics and required verdicts.

Change-source: pulse-maintainer
Contract-Neutral: CI-only additive skip diagnostics; no product installability, test-selection, threshold, privacy allowlist or required-verdict contract change.
2026-10-07 08:08:02 +01:00
pulse-triage[bot]
f2b5080bcc Require complete source-selected API shard execution evidence
Fail empty, malformed, truncated or substituted test streams even when the producer exits zero. Bind each existing CI shard to its source-derived selected names and package, retaining skips, diagnostics and bounded missing coverage alongside the unchanged timings. Preserve required checks, race/vet execution and timing weights; exercise real Go race JSON and parent failure controls.

Change-source: pulse-maintainer
2026-10-07 06:28:16 +01:00
pulse-triage[bot]
87c13e4074 Retain bounded API shard failure identities beside timings
Publish failed and unfinished source-test names in the existing shard artifact without waiting for other workflow jobs. Keep logs, timings, test selection and failure exits unchanged; record unknown completion and omitted unsafe or excess identities explicitly. Pin privacy, bounds, pipefail and timing-refresh compatibility, and align the existing shard contract with current compile admission.

Change-source: pulse-maintainer
2026-10-07 01:47:42 +01:00