Skip to content

fix(ci): restore main qualification - #129607

Merged
steipete merged 3 commits into
mainfrom
fix/ci-restore-main-qualification
Aug 25, 2026
Merged

steipete merged 3 commits into
mainfrom
fix/ci-restore-main-qualification

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Restores deterministic main qualification for the embedded-model and cron session-identity suites. Both suites were loading unrelated runtime/plugin policy during focused ownership tests; the cron suite also performed an assertion-free warmup turn that could time out before any session assertion ran.

Why This Change Was Made

Current main already contains the onboarding alias owner fix and its stronger behavior regression, so the semantic rebase dropped that superseded production/test commit.

The remaining change keeps only unique test-boundary repairs:

  • model consistency uses the real scoped plugin metadata snapshot and isolates provider model normalization;
  • cron session identity removes the assertion-free warmup and isolates provider normalization plus thinking-capability policy.

This preserves current-main behavior and leaves the branch source/test-only. No generated locales, onboarding changes, timeout increases, or unrelated qualification repairs remain.

The original model/cron isolation commits are by Jason O'Neal from #126986.

User Impact

No product behavior changes. Main qualification now tests model resolution and cron session identity without depending on unrelated plugin/provider discovery or a hidden warmup turn.

Evidence

Semantic rebase:

  • Rebased once onto e1e2818a6ab0bb4e8426cd80b03f4e03b5c9882f.
  • Exact pushed head: c60b20728d7b654ae8d443a913e9257fd523cca5.
  • Live main later advanced to c3eca4f50813307a9aa13245529495065b3ca1c5; those commits do not touch this PR's files and a merge simulation is conflict-free.

Focused tests:

  • node scripts/run-vitest.mjs src/agents/embedded-agent-runner/model-resolution-consistency.test.ts - 8/8 passed.
  • node scripts/run-vitest.mjs src/commands/onboard-custom-config.test.ts - 39/39 passed, confirming the upstream replacement.
  • node scripts/run-vitest.mjs src/cron/isolated-agent.session-identity.test.ts - 14/14 passed.

Static verification:

  • pnpm tsgo:core - passed.
  • Focused core-test type shards for agents, commands, and services/cron - passed.
  • Exact changed-file Oxlint - passed.
  • Exact changed-file formatting - passed.
  • git diff --check - passed.
  • Generated-locale scope check - clean.
  • Autoreview TruffleHog scan - clean.

The full pnpm tsgo:core:test fanout was attempted. It reached an unrelated shared-install failure in ui/vite.config.ts: the current linked node_modules lacks a declaration for pako. Repository policy forbids installing inside this worktree; the three owning type shards above passed.

Structured autoreview could not start because the official standalone Codex CLI is not installed (codex-standalone-install). No review finding was emitted.

LOC

  • Production: +0/-0
  • Tests and test support: +11/-18
  • Files: 3

Scope

  • src/agents/embedded-agent-runner/model-resolution-consistency.test.ts
  • src/cron/isolated-agent.mocks.ts
  • src/cron/isolated-agent.session-identity.test.ts

No changelog entry: this is qualification isolation only.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

jason-allen-oneal and others added 3 commits August 26, 2026 05:56
Extracted from #126986. Removes the assertion-free warmup turn and isolates provider normalization plus provider thinking policy from session-identity coverage.
@vincentkoc
vincentkoc force-pushed the fix/ci-restore-main-qualification branch from c279e69 to c60b207 Compare August 25, 2026 22:04
@openclaw-barnacle openclaw-barnacle Bot added size: XS and removed commands Command implementations size: S labels Aug 25, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

The branch was semantically rebased onto current main, dropping the onboarding change already fixed upstream and retaining only the unique model/cron test-isolation repairs. Exact head: c60b20728d7b654ae8d443a913e9257fd523cca5.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit a48675d into main Aug 25, 2026
141 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

@steipete
steipete deleted the fix/ci-restore-main-qualification branch August 25, 2026 22:38
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
* test(agents): isolate model consistency normalization

Extracted from openclaw#126986.

* test(cron): isolate session identity runtime setup

Extracted from openclaw#126986. Removes the assertion-free warmup turn and isolates provider normalization plus provider thinking policy from session-identity coverage.

* test(agents): use scoped plugin metadata snapshot

---------

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

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants