Skip to content

harden dry run to strict all-green: windows-11-arm mem_rss + no optional legs#872

Merged
DeusData merged 2 commits into
mainfrom
fix/dryrun-strict-allgreen
Jul 5, 2026
Merged

harden dry run to strict all-green: windows-11-arm mem_rss + no optional legs#872
DeusData merged 2 commits into
mainfrom
fix/dryrun-strict-allgreen

Conversation

@DeusData

@DeusData DeusData commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Makes the release dry run genuinely all-green with no optional escape hatches. Two changes:

1. Fix the windows-11-arm mem_rss gate (flaky)

mem_rss_reflects_external_resident_memory asserted cbm_mem_rss() >= 128MB after touching a 256MB region. But on Windows cbm_mem_rss() reads WorkingSetSize (GetProcessMemoryInfo), which the OS trims under memory pressure — a stressed windows-11-arm runner kept only ~97MB resident, and the leg (a required gate) flaked. Fix: re-touch the region immediately before measuring, and assert a 32MB Windows threshold that survives aggressive trimming while staying far above the ~1MB mimalloc warm buffer — so it still guards the real regression (a broken small-counter RSS). The Linux #else branch keeps its 128MB undercount assertion.

Validated: a full branch dry-run passed windows-11-arm green with this fix (it flaked at 97MB before).

2. No optional legs in the dry run

Dropped optional/continue-on-error from the broad-matrix legs (ubuntu-22.04, ubuntu-22.04-arm, macos-15, windows-2025) so every dry-run platform is a required gate — a release must be all-green.

Scope / CI-sensitivity

Focused; merge-commit, not squash.

DeusData added 2 commits July 5, 2026 04:14
mem_rss_reflects_external_resident_memory asserted cbm_mem_rss() >= 128MB
after touching a 256MB region, but on Windows cbm_mem_rss() reads
WorkingSetSize (GetProcessMemoryInfo), which the OS trims under memory
pressure — a stressed windows-11-arm runner kept only ~97MB resident and
the leg (a required gate) flaked. Re-touch the region immediately before
measuring and assert a 32MB Windows threshold that survives aggressive
trimming while staying far above the ~1MB mimalloc warm buffer, so it still
guards the real regression (a broken small-counter RSS). The Linux #else
branch keeps its 128MB assertion (the actual undercount it was written for).

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
The release dry run must be all-green on every platform — drop the
optional/continue-on-error flags from the broad matrix legs (ubuntu-22.04,
ubuntu-22.04-arm, macos-15, windows-2025) so a failure on any of them gates
the run. Only affects broad_platforms=true (the dry run); the core PR-CI
matrix is unchanged.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
@DeusData DeusData enabled auto-merge July 5, 2026 03:05
@DeusData DeusData merged commit affa223 into main Jul 5, 2026
54 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant