Skip to content

fix(test): expect memory dreaming sidecar at startup - #116018

Merged
vincentkoc merged 1 commit into
mainfrom
fix/channel-startup-memory-sidecar-test-20260729
Jul 29, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/channel-startup-memory-sidecar-test-20260729

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a problem where the full test suite fails while planning gateway startup for a selected external memory plugin because the assertion omits the default memory dreaming sidecar.

Why This Change Was Made

Forward-ports the release-branch correction from cbb3c42. Dreaming defaults to enabled, and memory-core is intentionally authorized as the startup sidecar when memory-lancedb is selected; this updates only the stale expectation.

User Impact

No product behavior changes. The main-branch test suite now matches the current startup planner and shipped release behavior.

Evidence

@vincentkoc vincentkoc self-assigned this Jul 29, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 29, 2026 17:45
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Jul 29, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 29, 2026
@clawsweeper

clawsweeper Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 29, 2026, 1:49 PM ET / 17:49 UTC.

ClawSweeper review

What this changes

The PR updates the gateway-startup plugin test so selecting memory-lancedb expects the default memory-core dreaming sidecar as well.

Merge readiness

✅ Ready for maintainer review

Keep this PR open for normal maintainer review. It is a one-line regression-test correction that aligns the main-branch startup-planning expectation with the released dreaming-sidecar behavior, and the supplied before/after Testbox evidence supports the change; automatic cleanup is not appropriate because the PR is maintainer-authored and labeled maintainer.

Priority: P3
Reviewed head: 8c153777062724f644d59383011f1ba4a484bbea

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow, evidence-backed test correction with no actionable functional or security finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored test-only correction includes focused before/after Testbox results; the external-contributor real-behavior gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored test-only correction includes focused before/after Testbox results; the external-contributor real-behavior gate does not apply.
Evidence reviewed 4 items PR patch: The branch changes only the memory-lancedb startup expectation, adding memory-core between the browser and selected memory plugin IDs.
Released correction provenance: The sole PR commit is a cherry-pick of release-branch commit cbb3c420db02f321fd9e66f632d2e2b545943801; the PR description identifies it as the correction for the stale expectation.
Behavior proof supplied in PR body: The contributor reports a focused Testbox run that reproduced one stale assertion failure before the change and passed all 166 focused tests afterward, plus a passing changed gate.
Findings None None.
Security None None.

How this fits together

Gateway startup planning combines enabled plugins and the selected memory plugin into the plugin IDs that may start with the gateway. The test protects that planner’s default dreaming-sidecar authorization, ensuring the test suite reflects the runtime startup set.

flowchart LR
  A[Enabled plugins] --> C[Gateway startup planner]
  B[Selected memory plugin] --> C
  D[Dreaming default] --> C
  C --> E[Authorized startup plugin IDs]
  E --> F[Gateway startup]
  E --> G[Regression test expectation]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0. Total 0 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 1 0

Review metrics

None.

Technical review

Best possible solution:

Land the narrow expectation update after ordinary maintainer confirmation so the main test suite continues to enforce the released gateway-startup planner behavior.

Do we have a high-confidence way to reproduce the issue?

Yes. The PR body records a focused Testbox reproduction on the pre-change expectation with one failure, followed by 166 passing focused tests after adding the default sidecar.

Is this the best way to solve the issue?

Yes. Updating the stale expectation is the narrowest solution because the stated runtime behavior is intentional, already corrected on the release branch, and this PR changes no production path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e80fe942c8da.

Labels

Label changes:

  • add P3: This is a focused test-contract correction with no stated production behavior or configuration change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored test-only correction includes focused before/after Testbox results; the external-contributor real-behavior gate does not apply.

Label justifications:

  • P3: This is a focused test-contract correction with no stated production behavior or configuration change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored test-only correction includes focused before/after Testbox results; the external-contributor real-behavior gate does not apply.

Evidence

What I checked:

  • PR patch: The branch changes only the memory-lancedb startup expectation, adding memory-core between the browser and selected memory plugin IDs. (src/plugins/channel-plugin-ids.test.ts:2512, 8c1537770627)
  • Released correction provenance: The sole PR commit is a cherry-pick of release-branch commit cbb3c420db02f321fd9e66f632d2e2b545943801; the PR description identifies it as the correction for the stale expectation. (src/plugins/channel-plugin-ids.test.ts:2512, cbb3c420db02)
  • Behavior proof supplied in PR body: The contributor reports a focused Testbox run that reproduced one stale assertion failure before the change and passed all 166 focused tests afterward, plus a passing changed gate. (src/plugins/channel-plugin-ids.test.ts:2512, 8c1537770627)
  • Review boundary: The author association is MEMBER and the PR has the protected maintainer label, so this workflow must keep it open for explicit maintainer handling.

Likely related people:

  • steipete: The current PR commit is attributed to steipete and explicitly cherry-picks the release-branch correction that established this test expectation. (role: release-correction author and likely feature owner; confidence: high; commits: cbb3c420db02, 8c1537770627; files: src/plugins/channel-plugin-ids.test.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@vincentkoc
vincentkoc merged commit fa570d8 into main Jul 29, 2026
159 of 169 checks passed
@vincentkoc
vincentkoc deleted the fix/channel-startup-memory-sidecar-test-20260729 branch July 29, 2026 17:52
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit to nvtoroy/openclaw that referenced this pull request Jul 29, 2026
* origin/main:
  refactor(agents): remove retired Codex CLI parser (openclaw#116017)
  feat(mac): hand off gateway-owned settings panes to the dashboard (openclaw#115999)
  fix(gateway): declare viewer presence explicitly instead of deriving it from subscriptions (openclaw#116001)
  test(plugins): include dreaming sidecar in startup expectation (openclaw#116018)
  fix(openai): prevent GPT-Live errors from stalling (openclaw#115582)
  fix(gateway): stop start-time repair from retargeting managed services (openclaw#115935)
  fix(plugins): scope Codex relay with tool matchers (openclaw#109603)
vincentkoc added a commit to sunlit-deng/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (823 commits)
  fix(memory): return early for blank searches (openclaw#116034)
  fix(tool-search): long-lived gateways leak heap from finished embedded runs (openclaw#114767)
  feat(harness): report copilot code-mode engagement on the attempt result (openclaw#115913)
  fix(ui): compact the macOS gateway picker menu (openclaw#115977)
  perf(codex): stream large CLI session JSONL scans (openclaw#115997)
  cron: reject webhook URLs with embedded credentials (openclaw#51822)
  refactor(agents): remove retired Codex CLI parser (openclaw#116017)
  feat(mac): hand off gateway-owned settings panes to the dashboard (openclaw#115999)
  fix(gateway): declare viewer presence explicitly instead of deriving it from subscriptions (openclaw#116001)
  test(plugins): include dreaming sidecar in startup expectation (openclaw#116018)
  fix(openai): prevent GPT-Live errors from stalling (openclaw#115582)
  fix(gateway): stop start-time repair from retargeting managed services (openclaw#115935)
  fix(plugins): scope Codex relay with tool matchers (openclaw#109603)
  fix(discord): bound webhook send body reads (openclaw#109076)
  fix(ui): preserve initials for missing user avatars (openclaw#115976)
  feat(ui): add provider icons to coding catalogs (openclaw#115956)
  fix(daemon): refuse duplicate launchd gateway managers (openclaw#97285)
  fix(memory-lancedb): share the recall cooldown with the auto-recall prompt-build hook (openclaw#112927)
  fix(test): isolate plugin install fixtures (openclaw#116008)
  fix(feishu): guard Object.assign against prototype pollution in webhook payload merge (openclaw#111729)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants