Skip to content

fix(ci): isolate cron rearm test from host memory pressure - #204543

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-cron-retention-memory-fixture-20261124
Nov 24, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-cron-retention-memory-fixture-20261124

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The Cron retention wake-up test assumes healthy memory but reads that state from the host. Under memory pressure, the scheduler correctly postpones retention and the fixture fails before it tests the worker-write notification.

User Impact

CI tests the worker-write rearm path deterministically. Production memory-pressure behavior is unchanged.

Why This Change Was Made

Pin the existing memory sensor to healthy for this fixture and restore it after scheduler shutdown. The existing parameterized test still covers both memory-pressure states. All scheduler, database, notification, and cleanup assertions remain unchanged.

Evidence

@clawsweeper

clawsweeper Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc vincentkoc self-assigned this Nov 24, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 24, 2026 09:36
@vincentkoc
vincentkoc enabled auto-merge (squash) November 24, 2026 09:37
@vincentkoc
vincentkoc merged commit c8e6d12 into main Nov 24, 2026
192 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-cron-retention-memory-fixture-20261124 branch November 24, 2026 09:45
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Nov 24, 2026
* commit '391dea93e0a97fff97f9f3d5e94eac992b247b09': (21 commits)
  test(update): cover maintenance release before conversion (#204548)
  fix(ci): control memory pressure in cron rearm fixture (#204543)
  fix: align release workflow tests with retained evidence
  test(ui): open the Settings drawer by keyboard before the Escape check (#204539)
  fix(ci): avoid redundant globs for literal test inventories (#204529)
  fix(pr): retain protected resources after native squash merges (#204496)
  fix(ui): show the check mark on the custom ask_user answer (#199999)
  chore(ui): refresh control ui locales (#204542)
  fix(update): build Git releases only once (#204512)
  fix(ci): avoid repeated full-inventory matching (#204525)
  test(ci): align exec completion fixtures with process instances (#204507)
  test(update): replace mocked JSON routing with child proof (#204527)
  fix(slack): reject system events with an unresolved conversation type (#204444)
  test(agents): distinguish the source-session root (#204524)
  perf(ai): keep Responses tool history checkpointed across turns (#204519)
  feat(zai): add GLM-5.4 as the Coding Plan default (#204522)
  ci: cover unscheduled test files daily and fail when a test has no scheduled lane (#204472)
  fix(ci): model a distinct FRV job retry in CLI fixtures (#204517)
  improve(ui): defer sign-in controls until needed (#204484)
  test(agents): assert the prepared MCP hook prompt (#204508)
  ...
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
(cherry picked from commit c8e6d12)

Companion audit: #204622 (1ee3caa) is not applicable: its keep-warm config is absent from the baseline and this test fails schema validation with it. #200180 (9f50802) is separately selected later in this lane; #206779 (76f14c3) targets that later pressure macOS simulation.

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant