惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
博客园_首页
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
B
Blog
D
DataBreaches.Net
腾讯CDC
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
月光博客
月光博客
V
V2EX
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
博客园 - 叶小钗
Y
Y Combinator Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(ci): authenticate performance report publishing · ope...
vincentkoc · 2026-05-14 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -489,9 +489,7 @@ jobs:

489489

reports_root=".artifacts/clawgrit-reports"

490490

mkdir -p "$reports_root"

491491

git -C "$reports_root" init -b main

492-

git -C "$reports_root" remote add origin https://github.com/openclaw/clawgrit-reports.git

493-

auth_header="$(printf 'x-access-token:%s' "$CLAWGRIT_REPORTS_TOKEN" | base64 -w0)"

494-

git -C "$reports_root" config http.https://github.com/.extraheader "AUTHORIZATION: basic ${auth_header}"

492+

git -C "$reports_root" remote add origin "https://x-access-token:${CLAWGRIT_REPORTS_TOKEN}@github.com/openclaw/clawgrit-reports.git"

495493

if git -C "$reports_root" ls-remote --exit-code --heads origin main >/dev/null 2>&1; then

496494

git -C "$reports_root" fetch --depth=1 origin main

497495

git -C "$reports_root" checkout -B main FETCH_HEAD

@@ -501,10 +499,13 @@ jobs:

501499
502500

- name: Publish to clawgrit reports

503501

if: ${{ steps.kova.outputs.report_json != '' && steps.clawgrit.outputs.present == 'true' }}

502+

env:

503+

CLAWGRIT_REPORTS_TOKEN: ${{ secrets.CLAWGRIT_REPORTS_TOKEN }}

504504

shell: bash

505505

run: |

506506

set -euo pipefail

507507

reports_root=".artifacts/clawgrit-reports"

508+

git -C "$reports_root" remote set-url origin "https://x-access-token:${CLAWGRIT_REPORTS_TOKEN}@github.com/openclaw/clawgrit-reports.git"

508509

ref_slug="$(printf '%s' "${TESTED_REF}" | tr -c 'A-Za-z0-9._-' '-')"

509510

run_slug="${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"

510511

dest="${reports_root}/openclaw-performance/${ref_slug}/${run_slug}/${LANE_ID}"

Original file line numberDiff line numberDiff line change

@@ -23,6 +23,7 @@ Docs: https://docs.openclaw.ai

2323

- Telegram: allow trusted local Bot API media files whose filenames start with dots instead of falling back to remote download.

2424

- Agents/Codex app-server: remap injected context files under dot-dot-prefixed workspace directories when a run switches to an effective sandbox workspace.

2525

- Control UI/i18n: use the installed workspace pi runtime for locale refreshes, update the fallback package pin, and skip scheduled refreshes with invalid provider credentials instead of failing main.

26+

- CI/performance: authenticate the clawgrit report repository remote during both checkout and publish so performance report pushes do not fail after benchmarks complete.

2627

- Hooks: load workspace-relative legacy hook modules from dot-dot-prefixed directories without treating the filename prefix as parent traversal.

2728

- Plugins: preserve installed package metadata and persisted registry freshness checks for plugin package paths under dot-dot-prefixed directories.

2829

- Agents: allow dot-dot-prefixed filenames such as `..note.txt` through sandbox FS bridge, remote sandbox reads, and apply_patch summaries without mistaking the name for parent traversal.

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,47 @@

1+

import { readFileSync } from "node:fs";

2+

import { describe, expect, it } from "vitest";

3+

import { parse } from "yaml";

4+
5+

const WORKFLOW = ".github/workflows/openclaw-performance.yml";

6+
7+

type WorkflowStep = {

8+

name?: string;

9+

run?: string;

10+

env?: Record<string, string>;

11+

};

12+
13+

type WorkflowJob = {

14+

steps?: WorkflowStep[];

15+

};

16+
17+

type Workflow = {

18+

jobs?: Record<string, WorkflowJob>;

19+

};

20+
21+

function readWorkflow(): Workflow {

22+

return parse(readFileSync(WORKFLOW, "utf8")) as Workflow;

23+

}

24+
25+

function findStep(name: string): WorkflowStep {

26+

const steps = readWorkflow().jobs?.kova?.steps ?? [];

27+

const step = steps.find((candidate) => candidate.name === name);

28+

expect(step).toBeDefined();

29+

return step as WorkflowStep;

30+

}

31+
32+

describe("OpenClaw performance workflow", () => {

33+

it("uses the clawgrit reports token for every report repo push path", () => {

34+

const prepare = findStep("Prepare clawgrit reports checkout");

35+

const publish = findStep("Publish to clawgrit reports");

36+
37+

expect(prepare.env?.CLAWGRIT_REPORTS_TOKEN).toBe("${{ secrets.CLAWGRIT_REPORTS_TOKEN }}");

38+

expect(publish.env?.CLAWGRIT_REPORTS_TOKEN).toBe("${{ secrets.CLAWGRIT_REPORTS_TOKEN }}");

39+

expect(prepare.run).toContain(

40+

'remote add origin "https://x-access-token:${CLAWGRIT_REPORTS_TOKEN}@github.com/openclaw/clawgrit-reports.git"',

41+

);

42+

expect(publish.run).toContain(

43+

'remote set-url origin "https://x-access-token:${CLAWGRIT_REPORTS_TOKEN}@github.com/openclaw/clawgrit-reports.git"',

44+

);

45+

expect(publish.run).toContain('git -C "$reports_root" push origin HEAD:main');

46+

});

47+

});