Commit graph

15 commits

Author SHA1 Message Date
Peter Steinberger
663b7766cf
test(core,plugins): remove low-value tests (batch d196) (#174993)
* test(update-cli): deslop x7402 tests

* test(update-cli): deslop x7402 tests

* test(update-cli): deslop x7402 tests

* test(outbound): deslop x7405 tests

* test(outbound): deslop x7405 tests

* test(memory-core): deslop x7380 tests

* test(gateway): deslop x7407 tests

* test(gateway): deslop x7407 tests

* test(gateway): deslop x7407 tests

* test(cron): deslop x7406 tests

* test(cron): deslop x7406 tests

* test(cron): deslop x7406 tests

* test(plugins): deslop x7411 tests

* test(plugins): deslop x7411 tests

* test(channels): deslop x7378 tests

* test(system-agent): deslop x7412 tests

* test(system-agent): deslop x7412 tests

* test(system-agent): deslop x7412 tests

* test(agents): deslop x7415 tests

* test(agents): deslop x7415 tests

* test(plugins): deslop x7413 tests

* test(plugins): further deslop x7413 tests

* test(plugins): consolidate x7413 artifact fixtures

* test(sqlite): deslop x7410 tests

* test(sqlite): deslop x7410 tests

* test(sqlite): deslop x7410 tests

* test(agents): deslop x7409 tests

* test(agents): deslop x7409 tests

* test(agents): deslop x7409 tests

* test(gateway): keep retained config scoping fixture explicit

* test: repair CI fixtures and retain guarded mock factories

* test: retain current fixture contracts in campaign replay

* test(system-agent): reuse complete config snapshot fixture

* test(agents): retain messaging target tool identity assertion
2026-10-17 04:19:55 +00:00
Vincent Koc
2f2a8619a1
fix(release): keep large SDK evidence within artifact limits (#169743)
* fix(release): keep large SDK evidence within artifact limits

* test(release): complete isolated SDK evidence fixtures
2026-10-13 06:44:06 +00:00
Peter Steinberger
5c4e9aba92
fix(test): Docker, e2e-instance, and CI tooling tests fail on loaded hosts when fixture children outlast polling deadlines (#162729)
Script-tooling tests for the SQLite reliability bench, CI workflow guards and git-owner auth fixture, Docker build helper, iOS node e2e, the OpenClaw e2e instance, Parallels smoke model, plugin SDK API diff, unchanged-plugin Docker update, Android Gradle runner, and Vitest worker-artifact verification polled files, ports, and PIDs against 500 ms to 15 s deadlines, and raced child readiness/exit against timers of up to 30 s, so a fixture child that outlasted the bound on a loaded host failed the test.

Waits now await child IPC, inherited readiness pipes, durable fixture receipts, native exit/close promises, and existing read-admission deferreds; Python fixtures join their retained subprocess handles under the caller's lifetime guard. Suspended test bodies are bound to the Vitest signal and fixture roots are retained until native children settle; the tracked Docker build awaits its inherited pipe EOF through close before its TERM record is checked. Where no reaper handle is owned, one deadline-free, signal-bound foreign-PID check remains per file. ci-git-owner-settlement's native Windows Job cases keep main's bytes until a Windows host can prove them. No product source, test timeout, product timeout, or assertion meaning changed.

Part of the polling audit from #162274. Proof on Blacksmith Testbox: delay probes fail the original bytes and pass these bytes, forced-abort probes reach cleanup, 20/20 standalone runs per touched file, 3/3 replays of each owning shard (core-tooling-12 on the rebased head), type-aware lint, base-aware timeout-race ratchet; Codex autoreview clean; ClawSweeper found no findings.
2026-10-01 06:50:40 -07:00
Peter Steinberger
21eeb7c932
fix(test): install isolation and preload probes under Bun (#162496)
Bun ignored Node-only test preloads, and native fixtures could fail before exercising their intended contracts. Install shared runtime preload options, runtime-specific loader and worker instrumentation, private guard witnesses, and isolated published-package probes. Synchronize cleanup fixtures without changing their deadlines or assertions.

This changes tests and test support only. Rejection, dependency identity, state-byte, and process-lifetime controls remain intact.

Proof: focused Node 24 and Bun validation plus independent reviews with no actionable findings. The inherited CI lint-fixture and worker-planner failures were independently attributed and separately fixed on main; landing uses the authorized native exception. Local Node Git and compiler deadline limitations remain recorded in the PR.
2026-10-01 03:05:03 -07:00
Kimi Yu
98782a01dd
fix(codex): recover remote connections during harness replacement (#159466) 2026-09-27 21:11:17 -07:00
Dallin Romney
1976a16644
fix(release): serialize plugin SDK install and render phases (#157620)
* fix(release): serialize plugin SDK install and render phases

* test(release): observe Plugin SDK renderer startup
2026-09-24 22:57:25 -07:00
Peter Steinberger
2a911a7ccb
fix: keep cold child compilation outside CI test deadlines (#156011)
* test: prepare bounded TypeScript child probes

Prepare native test children through the invocation-owned compiler before their existing deadlines. Preserve module boundaries for import guards and script entry detection, and keep source-loader contracts explicit.

Retain native process isolation, worker lifetimes, assertions, and deadlines. Cover MTS declaration selection in the existing compiler fixture. Also declare the generated fallback plugin fixture as ESM and remove one unused internal script export.

* test: prepare remaining worker and tooling fixtures

Keep installed tooling at its native package location so prepared probes retain native bindings and relative assets. Preserve existing child deadlines, assertions, and source-layout contracts.

* test: assert native CLI delegation before option rejection

* test: preserve sparse prepared fixture entry contracts

* test: mark prepared budget fixtures as ES modules

* test: preserve serialized fixture inputs under type-aware lint

* test: prepare sparse wrapper and report fixtures

* test: prepare remaining CLI wrapper children

* test: complete bounded child fixture preparation
2026-09-22 17:41:19 -07:00
RoboClaw
dd30346232
fix(release): keep complete SDK reports within artifact limits (#150273)
Preserve shared beta/latest comparisons in a versioned pooled representation.
Keep full facts, logical digests, historical receipt support and admission limits.

Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>
2026-09-16 13:25:39 -07:00
Vincent Koc
2b264148b2
fix(ci): skip SDK rendering for identical revisions (#147572) 2026-09-14 12:54:46 +08:00
Peter Steinberger
a162944f54
improve(release): prepare publication artifacts during validation (#135639)
* perf(release): prepare publication artifacts during validation

* fix(release): scope npm registry environment restoration

* test(ci): align release artifact verification fixtures

Account for newly tracked artifact tests and internal workflow-only inputs. Keep synthetic runner timing checks independent of unrelated suite budgets. Reuse the catalog-row selector fix already landed in #135597.

* fix(release): preserve correction identity across prepared artifacts
2026-09-01 18:41:09 -07:00
Dallin Romney
17dfe1e8a7
test(release): scope Plugin SDK temp cleanup (#134443)
* test(release): scope Plugin SDK temp cleanup

* test(ci): allow runner metadata updates
2026-09-01 17:00:16 -07:00
Peter Steinberger
3c23e2fb0e
test(plugin-sdk): clear the completed cancellation deadline (#134599) 2026-08-31 18:14:01 -07:00
Peter Steinberger
dfb9f1f9e9
fix: release session check expects the retired Doctor backup (#134422)
* test: verify Doctor preserves the archived session transcript

* test: verify SDK diff cleanup within its owned directory
2026-08-31 13:09:29 -07:00
Peter Steinberger
740ca0fddf
refactor: share the sealed-service busctl fixture (#132139)
* test(e2e): reuse strict busctl fixture for sealed services

* test: isolate tooling fixture setup
2026-08-28 18:38:56 -07:00
Ayaan Zaidi
d2afbd05ad
refactor(plugin-sdk): replace API baselines with diffs (#123036)
* refactor(plugin-sdk): replace API baselines with diffs

* perf(plugin-sdk): bound API diff resources

* fix(plugin-sdk): isolate API diff dependencies

* fix(release): forward Plugin SDK acknowledgement

* fix(release): enforce SDK acknowledgement on publish

* chore: preserve generated-doc ignore policy

* fix(release): freeze SDK API evidence before publish

* fix(ci): satisfy SDK evidence guards

* fix(release): bind complete SDK evidence

* fix(release): authenticate plugin SDK evidence

* fix(plugin-sdk): abort interrupted API diffs

* test(ui): freeze page clock in background-tasks rail e2e

The rail transcript is compared byte-for-byte across the detail-panel
round-trip while it renders live relative ages; on slow CI runners the
second boundary ticks between the two reads (11s -> 12s) and fails the
equality assertion. Fix the page Date with Playwright setFixedTime while
keeping timers running so the tasks.list polling assertions still hold.

Repro: a 1.5s stall between the reads fails pre-fix with the exact CI
diff and passes post-fix.

* fix(scripts): drop unused export on dependency-evidence CLI main

Knip's workflow scan re-roots script references after an actions/checkout
step that sets path:, so the new trusted-tooling checkout in
openclaw-npm-release.yml stops marking this CLI as a workflow entry and
its exported main() surfaces as an unused export in check-dependencies.
Nothing imports main; the module invokes it through its own entry guard,
so the export keyword was dead surface either way.

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-08-13 03:45:36 -07:00