Skip to content

fix(memory): prevent wiki test plugin discovery stalls - #118654

Merged
steipete merged 1 commit into
mainfrom
codex/qa-93-memory-wiki-cold-discovery
Aug 3, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/qa-93-memory-wiki-cold-discovery

Conversation

@steipete

@steipete steipete commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Closes #118653

What Problem This Solves

Fixes an issue where maintainers running two memory-wiki integration tests would wait almost four minutes per one-test file because the fixtures cold-loaded the runtime plugin registry after already registering memory-core directly.

Why This Change Was Made

Both manually assembled integration configs now explicitly disable implicit plugin discovery. The tests still exercise the registered memory-core/memory-wiki tool boundary, but unrelated plugins are no longer loaded by the fixture.

User Impact

There is no production runtime behavior change. Focused memory-wiki integration proof completes in seconds, and the full memory project no longer pays several minutes of unrelated plugin-loading work for these two files.

AI-assisted: yes. The root cause, shared bug-class decision, diff, and proof were reviewed directly.

Evidence

  • Reproduced on base 757d22020362db03b73924a0ab85159ca1297948:
    • corpus-supplement.visibility.test.ts: 1/1 passed, but 226.93s in the test body and 229.32s total;
    • agent-vault-isolation.test.ts: 1/1 passed, but 226.75s in the test body and 228.38s total.
  • Focused green after the fix:
    • corpus visibility: 2.13s test body;
    • agent-vault isolation: 2.66s test body.
  • Focused stress: 10/10 fresh-process rounds of both files passed (20/20 total); corpus 1.83–2.02s and agent-vault 2.52–2.72s.
  • Blacksmith Testbox tbx_01kz3qcvk6k6w8c8jh92q6yky2: run 30811141324
    • full memory project: 134/134 files and 1,939/1,939 tests passed;
    • corpus visibility: 1.203s, down from the prior hosted 168.001s;
    • agent-vault isolation: 1.944s, down from the prior hosted 174.747s;
    • aggregate Vitest duration: 84.32s, down from 235.73s in the preceding full-memory run;
    • repo-native changed gate passed, including extension-test typecheck and focused lint.
  • git diff --check and targeted oxfmt check passed.
  • Fresh autoreview: clean, no accepted/actionable findings.
  • Diff: two test files, +4/-0; production LOC delta 0.

No external live-product boundary applies to this fixture-isolation change; both exact focused reproductions and the full hosted memory workflow cover the affected behavior.

@steipete
steipete marked this pull request as ready for review August 3, 2026 12:03
@steipete

steipete commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready at d36bbd7a7941f3ce4c5f231a73ee106fbcd7ef20.

  • Root cause: both memory-wiki integration fixtures register memory-core directly but left implicit runtime plugin discovery enabled, so focused tests cold-loaded unrelated plugins.
  • Canonical fix: set plugins.enabled: false in those two manually assembled app configs. Direct memory-core registration and all cross-plugin behavior under test remain intact.
  • Production LOC delta: 0. Test diff: +4/-0 across two files.
  • Focused red proof on base 757d22020362db03b73924a0ab85159ca1297948:
    • corpus visibility: 226.93-second test body, 229.32-second Vitest duration;
    • agent-vault isolation: 226.75-second test body, 228.38-second Vitest duration.
  • Focused green on this head:
    • corpus visibility: 2.13 seconds;
    • agent-vault isolation: 2.66 seconds;
    • 10/10 fresh-process rounds of both files passed, 20/20 total.
  • Blacksmith Testbox tbx_01kz3qcvk6k6w8c8jh92q6yky2, run 30811141324:
    • full memory project: 134/134 files, 1,939/1,939 tests;
    • corpus visibility: 1.203 seconds, down from prior hosted 168.001 seconds;
    • agent-vault isolation: 1.944 seconds, down from prior hosted 174.747 seconds;
    • aggregate Vitest duration: 84.32 seconds, down from 235.73 seconds;
    • repo-native changed gate passed, including extension-test typecheck and focused lint.
  • Fresh autoreview: clean, no accepted/actionable findings.
  • ClawSweeper exact-head artifact: A/diamond, patch correct at 0.93, proof sufficient, security cleared, no findings, and no rank-up steps.
  • Exact-head hosted CI: green in run 30811992436.
  • Proof gaps: no external live-product boundary applies to this fixture-isolation change; both exact focused reproductions and the full hosted memory workflow cover the affected behavior.

@steipete
steipete merged commit 65a0db9 into main Aug 3, 2026
146 of 149 checks passed
@steipete
steipete deleted the codex/qa-93-memory-wiki-cold-discovery branch August 3, 2026 12:27
@steipete

steipete commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/main: (57 commits)
  fix(media): fall back when providers return empty output (#118660)
  fix(nextcloud-talk): allow bounded parallel room deliveries (#118692)
  test(state): reuse current agent database fixture (#118677)
  fix(scripts): bound check-file-utils git lookup (#111582)
  fix(slack): scope interactive conversation bindings safely (#118662)
  fix(agents): avoid false compaction after mid-turn precheck (#117963)
  fix(ui): show original filename on chat history attachment cards instead of managed UUID suffix (#118628)
  fix(whatsapp): preserve terminal retry exhaustion lifecycle (#118659)
  fix(doctor): audit every agent workspace (#111840)
  fix(release): skip unavailable Buzz on frozen candidates (#118670)
  fix(ui): surface onboarding and pairing clipboard failures (#118651)
  fix(config): stop plugin schemas rejecting the channel key core writes (#117992)
  test(memory): isolate wiki plugin fixtures (#118654)
  fix(line): clear default access token when removing account (#118055)
  feat: enable rich setup controls in custodian chat (#114631)
  test(ui): reuse responsive browser fixtures (#118655)
  chore(tui): stabilize queued-turn admission in Gateway PTY test (#118638)
  fix(xai): classify exhausted credits as billing (#118615)
  fix(otel): fail closed when configured TLS material is invalid (#118648)
  fix(cli): preserve gateway request errors in health JSON (#118645)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
* origin/main: (57 commits)
  fix(media): fall back when providers return empty output (openclaw#118660)
  fix(nextcloud-talk): allow bounded parallel room deliveries (openclaw#118692)
  test(state): reuse current agent database fixture (openclaw#118677)
  fix(scripts): bound check-file-utils git lookup (openclaw#111582)
  fix(slack): scope interactive conversation bindings safely (openclaw#118662)
  fix(agents): avoid false compaction after mid-turn precheck (openclaw#117963)
  fix(ui): show original filename on chat history attachment cards instead of managed UUID suffix (openclaw#118628)
  fix(whatsapp): preserve terminal retry exhaustion lifecycle (openclaw#118659)
  fix(doctor): audit every agent workspace (openclaw#111840)
  fix(release): skip unavailable Buzz on frozen candidates (openclaw#118670)
  fix(ui): surface onboarding and pairing clipboard failures (openclaw#118651)
  fix(config): stop plugin schemas rejecting the channel key core writes (openclaw#117992)
  test(memory): isolate wiki plugin fixtures (openclaw#118654)
  fix(line): clear default access token when removing account (openclaw#118055)
  feat: enable rich setup controls in custodian chat (openclaw#114631)
  test(ui): reuse responsive browser fixtures (openclaw#118655)
  chore(tui): stabilize queued-turn admission in Gateway PTY test (openclaw#118638)
  fix(xai): classify exhausted credits as billing (openclaw#118615)
  fix(otel): fail closed when configured TLS material is invalid (openclaw#118648)
  fix(cli): preserve gateway request errors in health JSON (openclaw#118645)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Memory-wiki integration tests cold-load runtime plugins

1 participant