Commit Graph

808 Commits (a94ec3b79be9c8ee2cfd2e7a31067e94debc1912)

Author SHA1 Message Date
Peter Steinberger 3fa2300ba1 perf: reduce plugin runtime startup overhead 8 months ago
Bob 4f1e12a2b1
Docs: prototype generated plugin SDK reference (#51877)
* Chore: unblock synced main checks

* Docs: add plugin SDK docs implementation plan

* Docs: scaffold plugin SDK reference phase 1

* Docs: mark plugin SDK reference surfaces unstable

* Docs: prototype generated plugin SDK reference

* docs(plugin-sdk): replace generated reference with api baseline

* docs(plugin-sdk): drop generated reference plan

* docs(plugin-sdk): align api baseline flow with config docs

---------

Co-authored-by: Onur <2453968+osolmaz@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Vincent Koc 3ce5a8366a
fix(plugins): enforce minimum host versions for installable plugins (#52094)
* fix(plugins): enforce min host versions

* fix(plugins): tighten min host version validation

* chore(plugins): trim dead min host version code

* fix(plugins): handle malformed min host metadata

* fix(plugins): key manifest cache by host version
8 months ago
Peter Steinberger 3382ef2724 perf: reduce plugin runtime startup overhead 8 months ago
Peter Steinberger d81772dbc7 test: trim import-heavy startup paths 8 months ago
Tak Hoffman d6c05c1941
ci: surface hidden failures in smoke helpers (#51954)
* ci: surface hidden failures in smoke helpers

* changelog: add ci smoke failure-signal note
8 months ago
Vincent Koc 2b4c3c2057
fix(plugin-sdk): remove relative extension boundary escapes (#51939)
* fix(plugin-sdk): remove relative extension boundary escapes

* Gate new plugin-sdk subpaths on host version

* Add changelog entry for #51939

* Fix local staging for plugin-sdk host version gate

* Raise host floor for line and googlechat plugins

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Peter Steinberger d0d82ea67b test: trim import-heavy startup paths 8 months ago
Vincent Koc 45f84cf639 fix(test): normalize path separators [skip ci] 8 months ago
Peter Steinberger 37d5cbe43a test: trim test startup overhead 8 months ago
Peter Steinberger a622eecd3b refactor(test): dedupe shared test helpers 8 months ago
Vincent Koc 5069c771e7
fix(test): recycle unit-fast CI batches (#51884)
* fix(test): recycle unit-fast ci batches

* refactor(config): narrow discord timeout import

* test(outbound): lighten target plugin stubs

* refactor(auth): narrow env api key resolution

* docs(auth): restore anthropic vertex sentinel comment
8 months ago
Peter Steinberger c29ba9d21a fix(docs): handle anchors in docs link audit 8 months ago
Jari Mustonen fd2b3ed6af
feat(memory): pluggable system prompt section for memory plugins (#40126)
Merged via squash.

Prepared head SHA: 5228d1937f037172762fa64b0f8749403f9ae85f
Co-authored-by: jarimustonen <1272053+jarimustonen@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Harold Hunt e24bf22f98
Fix Discord `/codex_resume` picker expiration (#51260)
Merged via squash.

Prepared head SHA: 76eb184dbe60cb1c05db02aab426a67b95095cc3
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Reviewed-by: @huntharo
8 months ago
Peter Steinberger 0a842de354 test: widen low-profile singleton batching 8 months ago
Josh Lehman 2364e45fe4
test: align extension runtime mocks with plugin-sdk (#51289)
* test: align extension runtime mocks with plugin-sdk

Update stale extension tests to mock the plugin-sdk runtime barrels that production code now imports, and harden the Signal tool-result harness around system-event assertions so the channels lane matches current extension boundaries.

Regeneration-Prompt: |
  Verify the failing channels-lane tests against current origin/main in an isolated worktree before changing anything. If the failures reproduce on main, keep the fix test-only unless production behavior is clearly wrong. Recent extension refactors moved Telegram, WhatsApp, and Signal code onto plugin-sdk runtime barrels, so update stale tests that still mock old core module paths to intercept the seams production code now uses. For Signal reaction notifications, avoid brittle assertions that depend on shared queued system-event state when a direct harness spy on enqueue behavior is sufficient. Preserve scope: only touch the failing tests and their local harness, then rerun the reproduced targeted tests plus the full channels lane and repo check gate.

* test: fix extension test drift on main

* fix: lazy-load bundled web search plugin registry

* test: make matrix sweeper failure injection portable

* fix: split heavy matrix runtime-api seams

* fix: simplify bundled web search id lookup

* test: tolerate windows env key casing
8 months ago
Peter Steinberger fac64c2392 test: widen unit timing snapshot coverage 8 months ago
Peter Steinberger 39a4fe576d test: normalize perf manifest paths 8 months ago
Peter Steinberger cadbaa34c1 test: widen low-profile scheduler peeling 8 months ago
Peter Steinberger aed1f6d807 test: parallelize low-profile deferred lanes 8 months ago
Peter Steinberger 09cf6d80ec test: batch thread-only unit lanes 8 months ago
Peter Steinberger fa71ad7c5d test: repair latest-main web search regressions 8 months ago
Peter Steinberger 1b18742e8e test: peel more slow unit files out of unit-fast 8 months ago
Peter Steinberger 62ddc9d9e0 refactor: consolidate plugin sdk surface 8 months ago
Vincent Koc 42801f6178 fix(plugin-sdk): dedupe rebased zalo export entries 8 months ago
Vincent Koc a2e1991ed3 refactor(plugin-sdk): route bundled runtime barrels through public subpaths 8 months ago
Harold Hunt 4838e3934b
Tests: default CI unit lanes to forks (#51145) 8 months ago
Peter Steinberger 85a5d64d8f test: speed up isolated test lanes 8 months ago
Peter Steinberger 18fa2992f9 fix: restore plugin sdk runtime barrels 8 months ago
Vincent Koc aa78a0c00e refactor(plugin-sdk): formalize runtime contract barrels 8 months ago
Vincent Koc dbc9d3dd70 fix(plugin-sdk): restore root diagnostic compat 8 months ago
Peter Steinberger 50ce9ac1c6 refactor: privatize bundled sdk facades 8 months ago
Peter Steinberger f6948ce405 refactor: shrink sdk helper surfaces 8 months ago
Vincent Koc faa8e27291 fix(ci): share compat matrix and restore skill python gating 8 months ago
Vincent Koc ce878a9eb1 fix(test): batch unit-fast worker lifetimes 8 months ago
Shakker 94ab044387 fix(ci): split unit-fast into bounded shared-worker lanes 8 months ago
Shakker b90eef50ec fix(ci): widen Linux memory-hotspot isolation cap 8 months ago
Shakker 829beced04 fix(ci): avoid Windows shell arg overflow in unit-fast 8 months ago
Shakker d689b3fc89 fix(ci): prioritize memory-heavy unit scheduling 8 months ago
Shakker 254ea0c65e fix(ci): parse GitHub Actions memory hotspot logs 8 months ago
Shakker 9c7da58770 fix(ci): auto-isolate memory-heavy unit tests 8 months ago
Shakker ac18a734ac
fix(ci): cap top-level test lane concurrency 8 months ago
Vincent Koc c38295c7a2 test(ci): tighten startup memory thresholds 8 months ago
Vincent Koc 9486f6e379 fix(build): suppress singleton smoke deprecation noise 8 months ago
Vincent Koc bbfeb0b6f9 fix(ci): cache node in install smoke image 8 months ago
Vincent Koc a245916dcb fix(ci): repair test-parallel heap snapshot parsing 8 months ago
Josh Lehman 35bc00c55b
test: reduce low-memory Vitest pressure (#50652)
* test: reduce low-memory Vitest pressure

Reuse the bundled config baseline inside doc-baseline tests, keep that hotspot out of the shared unit-fast lane, and make OPENCLAW_TEST_PROFILE=low default to process forks instead of vmForks.

* test: keep low-profile vmForks in CI

Scope the low-profile forks fallback to local runs so the existing CI contracts lane keeps its current pool behavior.
8 months ago
Harold Hunt bbd62469fa
Tests: Add tooling / skill for detecting and fixing memory leaks in tests (#50654)
* Tests: add periodic heap snapshot tooling

* Skills: add test heap leak workflow

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update scripts/test-parallel.mjs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Vincent Koc 98298f7931 fix(ci): trace test runner memory retention 8 months ago