Skip to content

Increase backend test coverage - #17

Merged
samxu01 merged 1 commit into
mainfrom
28l2fb-codex/add-tests-to-increase-backend-coverage
May 28, 2025
Merged

samxu01 merged 1 commit into
mainfrom
28l2fb-codex/add-tests-to-increase-backend-coverage

Conversation

@samxu01

@samxu01 samxu01 commented May 28, 2025

Copy link
Copy Markdown
Contributor

Summary

  • export several backend scripts for testability
  • add comprehensive Jest tests for backend modules
  • fix open handle issues and lint errors in new tests

Testing

  • npm run lint
  • npm test

@samxu01
samxu01 merged commit d7c2a37 into main May 28, 2025
samxu01 pushed a commit that referenced this pull request Feb 2, 2026
@samxu01
samxu01 deleted the 28l2fb-codex/add-tests-to-increase-backend-coverage branch February 2, 2026 04:34
samxu01 added a commit that referenced this pull request Mar 29, 2026
…ev 90)

- clawdbot-deployment.yaml: inject LITELLM_BASE_URL + LITELLM_MASTER_KEY into
  gateway pod so tools.ts subprocess env picks them up
- litellm-config.yaml: add router_settings.fallbacks for gpt-5.4 →
  OpenRouter (nemotron/trinity) when all Codex accounts exhausted; add
  num_retries + retry_after
- values-dev.yaml: gateway tag → 20260327020336
- CLAUDE.md: document fix #17 (acpx LiteLLM routing + isRateLimitError
  extended patterns)

Gateway tools.ts changes (committed to openclaw fork e7664bb):
- isRateLimitError() extended with 12 weekly/quota limit patterns
- runAcpx() LiteLLM primary path: injects OPENAI_BASE_URL + OPENAI_API_KEY
  into subprocess before direct auth.json path

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
samxu01 pushed a commit that referenced this pull request Apr 3, 2026
…ev 90)

- clawdbot-deployment.yaml: inject LITELLM_BASE_URL + LITELLM_MASTER_KEY into
  gateway pod so tools.ts subprocess env picks them up
- litellm-config.yaml: add router_settings.fallbacks for gpt-5.4 →
  OpenRouter (nemotron/trinity) when all Codex accounts exhausted; add
  num_retries + retry_after
- values-dev.yaml: gateway tag → 20260327020336
- CLAUDE.md: document fix #17 (acpx LiteLLM routing + isRateLimitError
  extended patterns)

Gateway tools.ts changes (committed to openclaw fork e7664bb):
- isRateLimitError() extended with 12 weekly/quota limit patterns
- runAcpx() LiteLLM primary path: injects OPENAI_BASE_URL + OPENAI_API_KEY
  into subprocess before direct auth.json path

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]>
MubaiHua pushed a commit that referenced this pull request Apr 20, 2026
MubaiHua pushed a commit that referenced this pull request Apr 20, 2026
…ev 90)

- clawdbot-deployment.yaml: inject LITELLM_BASE_URL + LITELLM_MASTER_KEY into
  gateway pod so tools.ts subprocess env picks them up
- litellm-config.yaml: add router_settings.fallbacks for gpt-5.4 →
  OpenRouter (nemotron/trinity) when all Codex accounts exhausted; add
  num_retries + retry_after
- values-dev.yaml: gateway tag → 20260327020336
- CLAUDE.md: document fix #17 (acpx LiteLLM routing + isRateLimitError
  extended patterns)

Gateway tools.ts changes (committed to openclaw fork e7664bb):
- isRateLimitError() extended with 12 weekly/quota limit patterns
- runAcpx() LiteLLM primary path: injects OPENAI_BASE_URL + OPENAI_API_KEY
  into subprocess before direct auth.json path

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 added a commit that referenced this pull request May 24, 2026
Cron R4 observations:

- Claim collision: Theo and Nova both claimed A+B+D in the same
  minute. Orphan-pattern failure mode — multiple capable agents
  race without coordination, neither ships because each waits for
  the other. Resolved in pod by splitting (Nova→A+B, Theo→D).
- Phase-4 #17 added: agent multi-acknowledgement spam. Theo posted
  4 semantically-identical ack variations within the same minute,
  likely from chat.mention + heartbeat firing concurrent LLM runs.
  No event-dedup or wrapper-side run-in-progress gate.
- Memory observability refresh: Theo's heartbeat-write at 06:48Z
  captured one today-line (board-task work). Nova's heartbeat-write
  at 06:41Z added no today content. Refines Phase-4 #15: heartbeat
  ingestion of pod-conversational-gravity depends on HEARTBEAT.md
  prompt per agent — worth a registry.js audit.

No new code on phase-2/local-dev-parity. 15-min orphan timer set;
if A+B+D doesn't ship by then I scribe + push.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant