Repository navigation
ci(oss): ubuntu-latest runners + gitleaks secret scanning - #84
Merged
Merged
Conversation
- tests.yml and release-safety.yml: self-hosted → ubuntu-latest The ephemeral GKE runner caused CrashLoopBackOff with exponential backoff between jobs, causing 30+ min queuing delays. Tests use in-memory DBs and need no local services — ubuntu-latest is ideal. - secret-scan.yml: new workflow using gitleaks/gitleaks-action@v2 Scans every PR and push to main/v1.0.x for leaked credentials. - .gitleaks.toml: config with allowlists for placeholder values in .env.example files and a custom rule for cm_agent_* tokens. - frontend/.env.example: added with local dev defaults - frontend/.env.development: replaced hardcoded nip.io IP with localhost - .gitignore: add .claude/settings.local.json + frontend .env.local variants Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
ubuntu-latest runners require paid Actions minutes for private repos. Switching to self-hosted until repo goes public (OSS launch), at which point public repos get unlimited free Actions minutes and we can switch back to ubuntu-latest for all workflows. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
8 tasks
All three workflows now use ubuntu-latest — self-hosted GKE runner decommissioned from CI. Eliminates the CrashLoopBackOff / exponential backoff delays that caused 30+ minute job queuing. Also fixes .gitleaks.toml allowlist: CLAUDE.md and .claude/ added to paths, preventing false positives on the revoked Gemini key documented in CLAUDE.md and example credentials in skill prompts. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
gitleaks/gitleaks-action@v2 requires a paid org license. Switching to installing the gitleaks CLI binary directly and running it — same scan, no license needed, works for any GitHub org. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Triple-quoted literal strings containing single quotes (xapp-1-... patterns) caused a TOML parse error at line 18. Those patterns were redundant — .env.example files are already covered by the paths allowlist. Removed the two broken entries. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
docs-site/ contains API reference curl examples with placeholder tokens (cm_agent_...) — not real credentials. _external/ is gitignored vendor/fork code; its .secrets.baseline (detect-secrets audit file) was triggering generic-api-key rule. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
external/clawdbot-state/ is gitignored runtime state but appears in git history with real cm_agent_* tokens. Allowlisting so scan can pass — tracked in issue #88 for git history cleanup before OSS. k8s/QUICK_START.md has curl examples with placeholder auth headers. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering> Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Using --log-opts to scope the scan to commits introduced by this PR or push. This prevents the 17k-commit history (with 2198 historical findings, tracked in #88) from blocking every PR while still catching any new credentials introduced going forward. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Replaces 6917 directly-committed openclaw files with a proper git submodule reference (Team-Commonly/openclaw @ 59c84d2). Why: openclaw is a fork — tracking it as copied files caused gitleaks to scan its full content and history, bloating diffs and making PRs harder to reason about. As a submodule, only the commit SHA is tracked; contributors clone it on demand via `git submodule update --init`. The pinned commit (59c84d2) includes our Commonly extension changes: - Pod-scoped session keys (heartbeat + chat.mention isolation) - CROSS_POD_HINT injected into chat.mention events .gitignore updated: `_external/` → allows `_external/clawdbot` submodule, ignores any other future dirs under `_external/`. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
_external/clawdbot is now a submodule — gitleaks doesn't scan submodule contents. Updated the allowlist comment to explain why _external/ is still there (covers historical commits before conversion). Removed the redundant _external/clawdbot/.env.example entry. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
…ck state.json Secret scan now audits our full branch history (555 commits, ~16s) instead of new-commits-only. After converting _external/clawdbot to a submodule, --all was scanning 17k openclaw commits; --branches scans only ours. Findings resolved: - state.json: Playwright browser state with dev JWT. Added to .gitignore, removed from tracking. Git history cleanup tracked in issue #88. - README.md, UserProfile.js, ApiDevPage.js: curl examples + API token UI components — false positives, added to allowlist. - integrations-e2e.test.js: `JWT_SECRET = 'test-jwt-secret-...'` — hardcoded test constant, not a real credential. Added to allowlist. Result: 555 commits scanned, 0 findings. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
test:coverage uses plain `jest --coverage` without --forceExit. If any test leaves an open handle (in-memory MongoDB/PG server, unclosed socket), Jest hangs indefinitely waiting to exit. The previous 25+ min hang on ubuntu-latest confirmed this. Using npx jest/react-scripts directly with --forceExit so CI always exits cleanly regardless of open handles. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
samxu01
pushed a commit
that referenced
this pull request
Apr 3, 2026
* ci(oss): switch to ubuntu-latest runners + add secret scanning - tests.yml and release-safety.yml: self-hosted → ubuntu-latest The ephemeral GKE runner caused CrashLoopBackOff with exponential backoff between jobs, causing 30+ min queuing delays. Tests use in-memory DBs and need no local services — ubuntu-latest is ideal. - secret-scan.yml: new workflow using gitleaks/gitleaks-action@v2 Scans every PR and push to main/v1.0.x for leaked credentials. - .gitleaks.toml: config with allowlists for placeholder values in .env.example files and a custom rule for cm_agent_* tokens. - frontend/.env.example: added with local dev defaults - frontend/.env.development: replaced hardcoded nip.io IP with localhost - .gitignore: add .claude/settings.local.json + frontend .env.local variants Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * ci: revert to self-hosted runners (private repo billing limit) ubuntu-latest runners require paid Actions minutes for private repos. Switching to self-hosted until repo goes public (OSS launch), at which point public repos get unlimited free Actions minutes and we can switch back to ubuntu-latest for all workflows. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * ci(oss): switch to ubuntu-latest runners (enterprise trial active) All three workflows now use ubuntu-latest — self-hosted GKE runner decommissioned from CI. Eliminates the CrashLoopBackOff / exponential backoff delays that caused 30+ minute job queuing. Also fixes .gitleaks.toml allowlist: CLAUDE.md and .claude/ added to paths, preventing false positives on the revoked Gemini key documented in CLAUDE.md and example credentials in skill prompts. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): use gitleaks binary directly (org license not required) gitleaks/gitleaks-action@v2 requires a paid org license. Switching to installing the gitleaks CLI binary directly and running it — same scan, no license needed, works for any GitHub org. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): fix .gitleaks.toml TOML parse error Triple-quoted literal strings containing single quotes (xapp-1-... patterns) caused a TOML parse error at line 18. Those patterns were redundant — .env.example files are already covered by the paths allowlist. Removed the two broken entries. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): add docs-site/ and _external/ to gitleaks allowlist docs-site/ contains API reference curl examples with placeholder tokens (cm_agent_...) — not real credentials. _external/ is gitignored vendor/fork code; its .secrets.baseline (detect-secrets audit file) was triggering generic-api-key rule. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): allowlist external/ runtime state and k8s docs in gitleaks external/clawdbot-state/ is gitignored runtime state but appears in git history with real cm_agent_* tokens. Allowlisting so scan can pass — tracked in issue #88 for git history cleanup before OSS. k8s/QUICK_START.md has curl examples with placeholder auth headers. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering> Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): scan only new commits in gitleaks (not full history) Using --log-opts to scope the scan to commits introduced by this PR or push. This prevents the 17k-commit history (with 2198 historical findings, tracked in #88) from blocking every PR while still catching any new credentials introduced going forward. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * refactor: convert _external/clawdbot to git submodule Replaces 6917 directly-committed openclaw files with a proper git submodule reference (Team-Commonly/openclaw @ 59c84d2). Why: openclaw is a fork — tracking it as copied files caused gitleaks to scan its full content and history, bloating diffs and making PRs harder to reason about. As a submodule, only the commit SHA is tracked; contributors clone it on demand via `git submodule update --init`. The pinned commit (59c84d2) includes our Commonly extension changes: - Pod-scoped session keys (heartbeat + chat.mention isolation) - CROSS_POD_HINT injected into chat.mention events .gitignore updated: `_external/` → allows `_external/clawdbot` submodule, ignores any other future dirs under `_external/`. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): clean up gitleaks allowlist post-submodule conversion _external/clawdbot is now a submodule — gitleaks doesn't scan submodule contents. Updated the allowlist comment to explain why _external/ is still there (covers historical commits before conversion). Removed the redundant _external/clawdbot/.env.example entry. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): full branch history scan + allowlist false positives + untrack state.json Secret scan now audits our full branch history (555 commits, ~16s) instead of new-commits-only. After converting _external/clawdbot to a submodule, --all was scanning 17k openclaw commits; --branches scans only ours. Findings resolved: - state.json: Playwright browser state with dev JWT. Added to .gitignore, removed from tracking. Git history cleanup tracked in issue #88. - README.md, UserProfile.js, ApiDevPage.js: curl examples + API token UI components — false positives, added to allowlist. - integrations-e2e.test.js: `JWT_SECRET = 'test-jwt-secret-...'` — hardcoded test constant, not a real credential. Added to allowlist. Result: 555 commits scanned, 0 findings. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): add --forceExit to coverage runs to prevent hanging test:coverage uses plain `jest --coverage` without --forceExit. If any test leaves an open handle (in-memory MongoDB/PG server, unclosed socket), Jest hangs indefinitely waiting to exit. The previous 25+ min hang on ubuntu-latest confirmed this. Using npx jest/react-scripts directly with --forceExit so CI always exits cleanly regardless of open handles. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: Happy <[email protected]>
MubaiHua
pushed a commit
that referenced
this pull request
Apr 20, 2026
* ci(oss): switch to ubuntu-latest runners + add secret scanning - tests.yml and release-safety.yml: self-hosted → ubuntu-latest The ephemeral GKE runner caused CrashLoopBackOff with exponential backoff between jobs, causing 30+ min queuing delays. Tests use in-memory DBs and need no local services — ubuntu-latest is ideal. - secret-scan.yml: new workflow using gitleaks/gitleaks-action@v2 Scans every PR and push to main/v1.0.x for leaked credentials. - .gitleaks.toml: config with allowlists for placeholder values in .env.example files and a custom rule for cm_agent_* tokens. - frontend/.env.example: added with local dev defaults - frontend/.env.development: replaced hardcoded nip.io IP with localhost - .gitignore: add .claude/settings.local.json + frontend .env.local variants Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * ci: revert to self-hosted runners (private repo billing limit) ubuntu-latest runners require paid Actions minutes for private repos. Switching to self-hosted until repo goes public (OSS launch), at which point public repos get unlimited free Actions minutes and we can switch back to ubuntu-latest for all workflows. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * ci(oss): switch to ubuntu-latest runners (enterprise trial active) All three workflows now use ubuntu-latest — self-hosted GKE runner decommissioned from CI. Eliminates the CrashLoopBackOff / exponential backoff delays that caused 30+ minute job queuing. Also fixes .gitleaks.toml allowlist: CLAUDE.md and .claude/ added to paths, preventing false positives on the revoked Gemini key documented in CLAUDE.md and example credentials in skill prompts. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): use gitleaks binary directly (org license not required) gitleaks/gitleaks-action@v2 requires a paid org license. Switching to installing the gitleaks CLI binary directly and running it — same scan, no license needed, works for any GitHub org. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): fix .gitleaks.toml TOML parse error Triple-quoted literal strings containing single quotes (xapp-1-... patterns) caused a TOML parse error at line 18. Those patterns were redundant — .env.example files are already covered by the paths allowlist. Removed the two broken entries. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): add docs-site/ and _external/ to gitleaks allowlist docs-site/ contains API reference curl examples with placeholder tokens (cm_agent_...) — not real credentials. _external/ is gitignored vendor/fork code; its .secrets.baseline (detect-secrets audit file) was triggering generic-api-key rule. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): allowlist external/ runtime state and k8s docs in gitleaks external/clawdbot-state/ is gitignored runtime state but appears in git history with real cm_agent_* tokens. Allowlisting so scan can pass — tracked in issue #88 for git history cleanup before OSS. k8s/QUICK_START.md has curl examples with placeholder auth headers. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering> Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): scan only new commits in gitleaks (not full history) Using --log-opts to scope the scan to commits introduced by this PR or push. This prevents the 17k-commit history (with 2198 historical findings, tracked in #88) from blocking every PR while still catching any new credentials introduced going forward. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * refactor: convert _external/clawdbot to git submodule Replaces 6917 directly-committed openclaw files with a proper git submodule reference (Team-Commonly/openclaw @ 59c84d2). Why: openclaw is a fork — tracking it as copied files caused gitleaks to scan its full content and history, bloating diffs and making PRs harder to reason about. As a submodule, only the commit SHA is tracked; contributors clone it on demand via `git submodule update --init`. The pinned commit (59c84d2) includes our Commonly extension changes: - Pod-scoped session keys (heartbeat + chat.mention isolation) - CROSS_POD_HINT injected into chat.mention events .gitignore updated: `_external/` → allows `_external/clawdbot` submodule, ignores any other future dirs under `_external/`. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): clean up gitleaks allowlist post-submodule conversion _external/clawdbot is now a submodule — gitleaks doesn't scan submodule contents. Updated the allowlist comment to explain why _external/ is still there (covers historical commits before conversion). Removed the redundant _external/clawdbot/.env.example entry. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): full branch history scan + allowlist false positives + untrack state.json Secret scan now audits our full branch history (555 commits, ~16s) instead of new-commits-only. After converting _external/clawdbot to a submodule, --all was scanning 17k openclaw commits; --branches scans only ours. Findings resolved: - state.json: Playwright browser state with dev JWT. Added to .gitignore, removed from tracking. Git history cleanup tracked in issue #88. - README.md, UserProfile.js, ApiDevPage.js: curl examples + API token UI components — false positives, added to allowlist. - integrations-e2e.test.js: `JWT_SECRET = 'test-jwt-secret-...'` — hardcoded test constant, not a real credential. Added to allowlist. Result: 555 commits scanned, 0 findings. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> * fix(ci): add --forceExit to coverage runs to prevent hanging test:coverage uses plain `jest --coverage` without --forceExit. If any test leaves an open handle (in-memory MongoDB/PG server, unclosed socket), Jest hangs indefinitely waiting to exit. The previous 25+ min hang on ubuntu-latest confirmed this. Using npx jest/react-scripts directly with --forceExit so CI always exits cleanly regardless of open handles. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: Happy <[email protected]>
samxu01
pushed a commit
that referenced
this pull request
Oct 21, 2026
… it says what it covered; Secret Scan now fails on 0 commits Secret Scan passed every pull request from #84 (2026-04-03) with "0 commits scanned … no leaks found", and nobody noticed because main's push scan was real. Rule 56 makes the coverage line the first thing a reviewer reads and an empty input a failure. The workflow enforces it: it counts the commits it is about to scan and fails on zero. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015eTFc9yqm2vKZiUyvLuBT4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ubuntu-latest:tests.yml+release-safety.ymlswitched from[self-hosted, linux]. The ephemeral GKE runner was causing CrashLoopBackOff with 47+ restarts and 30+ minute job queuing delays. Tests use in-memory DBs — no local services needed.secret-scan.ymlworkflow usinggitleaks/gitleaks-action@v2— runs on every PR and push tomain/v1.0.x. Catches leaked tokens, API keys, and credentials before merge..gitleaks.toml: Custom config with allowlists for*.env.exampleplaceholder values and custom rules forcm_agent_*/cm_*Commonly tokens.frontend/.env.example: Added with localhost defaults so contributors know what vars to set.frontend/.env.development: Replaced hardcoded nip.io IP (34.44.135.233) withlocalhost:5000— no internal infra references..gitignore: Added.claude/settings.local.json(may contain local paths/tokens) and frontend.env.localvariants.Why this matters for OSS
Contributors cloning this repo now get clean local defaults, CI that runs on GitHub's own infra (no billing impact from contributors running tests), and automatic protection against accidentally committing credentials.
Test plan
frontend/.env.developmentuses localhost URLs (verified)frontend/.env.exampleexists and has useful defaults🤖 Generated with Claude Code
via Happy