fix(ci): clear signal and docs guard blockers (#85693) · openclaw/openclaw@3a1d4dd
vincentkoc
·
2026-05-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ Use placeholders that are human-readable but do not resemble real secrets.
|
18 | 18 | |
19 | 19 | ## Avoid these patterns in docs |
20 | 20 | |
21 | | -- Private key sentinels such as `-----BEGIN PRIVATE KEY-----`. |
| 21 | +- Literal PEM private-key header or footer text. |
22 | 22 | - Prefixes that resemble live credentials, for example `sk-...`, `xoxb-...`, `AKIA...`. |
23 | 23 | - Realistic-looking bearer tokens copied from runtime logs. |
24 | 24 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import os from "node:os"; |
2 | 2 | import path from "node:path"; |
3 | 3 | import { describe, expect, it } from "vitest"; |
4 | | -import { __testing } from "./daemon.js"; |
| 4 | +import { testApi } from "./daemon.js"; |
5 | 5 | |
6 | 6 | describe("signal daemon args", () => { |
7 | 7 | it("expands home-relative configPath before passing it to signal-cli", () => { |
8 | 8 | expect( |
9 | | -__testing.buildDaemonArgs({ |
| 9 | +testApi.buildDaemonArgs({ |
10 | 10 | cliPath: "signal-cli", |
11 | 11 | configPath: "~/.openclaw/signal-cli", |
12 | 12 | httpHost: "127.0.0.1", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -163,7 +163,7 @@ export function spawnSignalDaemon(opts: SignalDaemonOpts): SignalDaemonHandle {
|
163 | 163 | }; |
164 | 164 | } |
165 | 165 | |
166 | | -export const __testing = { |
| 166 | +export const testApi = { |
167 | 167 | buildDaemonArgs, |
168 | 168 | resolveSignalCliConfigPath, |
169 | 169 | } as const; |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。