fix(e2e): require kitchen sink command rss samples · openclaw/openclaw@446a2b2
vincentkoc
·
2026-06-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -55,6 +55,7 @@ Docs: https://docs.openclaw.ai
|
55 | 55 | - Release/CI/E2E: bound Discord smoke API calls in cross-OS release checks so host-side round trips cannot hang on stalled fetches. |
56 | 56 | - Release/CI/E2E: bound RPC RTT gateway readiness probes so a half-open local HTTP response cannot stall cleanup past the readiness deadline. |
57 | 57 | - Release/CI/E2E: stop RPC RTT gateway process groups so pnpm wrapper children cannot survive measurement cleanup. |
| 58 | +- Release/CI/E2E: fail the kitchen-sink RPC walk when command RSS sampling captures no process samples. |
58 | 59 | - Scripts/UI: stop descendant processes from wrapped non-interactive commands when `run-with-env` receives shutdown signals. |
59 | 60 | - Release/CI/E2E: write multi-node update Docker artifacts to unique per-run directories by default so parallel runs cannot overwrite evidence. |
60 | 61 | - Release/CI/E2E: write package Telegram Docker artifacts to unique per-run directories by default so parallel live/RTT runs cannot overwrite evidence. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1416,7 +1416,6 @@ export function assertCommandResourceCeiling(sample) {
|
1416 | 1416 | assertProcessResourceCeiling(sample, { |
1417 | 1417 | label: "command", |
1418 | 1418 | maxRssMiB: MAX_COMMAND_RSS_MIB, |
1419 | | -requireSample: false, |
1420 | 1419 | }); |
1421 | 1420 | } |
1422 | 1421 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1006,8 +1006,8 @@ describe("kitchen-sink RPC process sampling", () => {
|
1006 | 1006 | expect(() => assertResourceCeiling(null)).toThrow("gateway RSS sample was not captured"); |
1007 | 1007 | }); |
1008 | 1008 | |
1009 | | -it("allows missing command samples but fails command RSS spikes", () => { |
1010 | | -expect(() => assertCommandResourceCeiling(null)).not.toThrow(); |
| 1009 | +it("fails missing command samples and command RSS spikes", () => { |
| 1010 | +expect(() => assertCommandResourceCeiling(null)).toThrow("command RSS sample was not captured"); |
1011 | 1011 | expect(() => assertCommandResourceCeiling({ aggregateRssMiB: 8193, rssMiB: 1024 })).toThrow( |
1012 | 1012 | "command aggregate RSS exceeded 8192 MiB: 8193 MiB", |
1013 | 1013 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。