Skip to content

chore(test): cover update continuation after maintenance - #204548

Merged
vincentkoc merged 1 commit into
mainfrom
test/update-maintenance-release-20261124
Nov 24, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/update-maintenance-release-20261124

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

The update tests prove that a held maintenance lock blocks mutation, but they can still pass if an update remains blocked after that lock is released.

User Impact

No runtime behavior changes. The test suite now protects continuation after temporary maintenance during a package-to-Git conversion, while preserving the held-lock refusal and exceptional exits.

Why This Change Was Made

Extend the existing table and reuse its native lock-owner child. The released case waits for the child's release acknowledgment, then checks that production mutation admission completes. The fixture uses the actual conversion inputs: a package source and the dev channel.

One additional expanded case, 16 net test lines, and no production changes.

Evidence

  • Baseline: all five existing cases pass. Deliberately retaining the initial contention after a successful wait still leaves those five cases green.
  • With the new case, that same fault fails only the released-owner outcome; the other five cases pass.
  • After restoring production byte-for-byte, all six cases pass: 10.94 seconds in the test runner, 43.59 seconds including changed-input compilation.
  • Focused format, lint, CLI-update test types, line-cap and whitespace checks pass.
  • Fresh independent source review and the full pinned-range local review found no remaining issues.

This exercises native lock release and production admission around the mocked Git updater. It does not perform a clone, installation, or live Gateway update.

@vincentkoc vincentkoc self-assigned this Nov 24, 2026
@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.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review November 24, 2026 09:32
@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: S labels Nov 24, 2026
@vincentkoc
vincentkoc merged commit 391dea9 into main Nov 24, 2026
173 of 174 checks passed
@vincentkoc
vincentkoc deleted the test/update-maintenance-release-20261124 branch November 24, 2026 09:47
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant