Skip to content

Cherry-pick batch: Infrastructure fixes and improvements (3/4) (50 commits) - #1981

Merged
alexey-pelykh merged 43 commits into
mainfrom
staging/cherry-pick-1891
Mar 24, 2026
Merged

alexey-pelykh merged 43 commits into
mainfrom
staging/cherry-pick-1891

Conversation

@alexey-pelykh

Copy link
Copy Markdown

Cherry-pick batch from upstream

Issue: openclaw#1891
Commits: cherry-picked from openclaw/openclaw

See issue for commit list.

Closes openclaw#1891

🤖 Generated with Claude Code

steipete and others added 30 commits March 24, 2026 23:39
(cherry picked from commit 6ae66a8)
(cherry picked from commit 7c2863d)
(cherry picked from commit 7c95a25)
* fix(telegram): preserve media download transport policy

* refactor(telegram): thread media transport policy

* fix(telegram): sync fallback media policy

* fix: note telegram media transport fix (openclaw#44639)

(cherry picked from commit 8023f4c)
(cherry picked from commit 84a2a28)
(cherry picked from commit 9e28f5a)
stephenschoettler and others added 11 commits March 24, 2026 23:55
Codex P1: entries deferred by the recovery time budget kept retryCount=0
forever, so they could loop across restarts without ever reaching MAX_RETRIES.

After breaking on deadline, call failDelivery() for all remaining entries
so retryCount is incremented. Entries stay in queue until MAX_RETRIES is
reached and they are pruned normally.

Also updates the maxRecoveryMs test to assert retryCount=1 on deferred entries.

(cherry picked from commit b07312c)
- OpenClawConfig → RemoteClawConfig in new test files
- createTarEntryPreflightChecker → createTarEntrySafetyChecker (renamed)
- Remove test files for upstream-only modules (exec-approval-command-display,
  gateway-process-argv, hardlink-guards, shell-inline-command, openclaw-exec-env,
  machine-name, package-json)
- Revert exec-wrapper module split (depends on shell-inline-command.js)
- Revert channel-selection.ts and message-action-runner.ts (depend on
  upstream-only channel-resolution.js)
- Fix proxy-fetch.test.ts symbol computed property type
- Fix ws.test.ts RawData type cast
- Add missing createOutboundTestPlugin import
@alexey-pelykh
alexey-pelykh enabled auto-merge (squash) March 24, 2026 23:05
- Fix openclaw → remoteclaw naming in test assertions:
  - widearea-dns.test.ts: _openclaw-gw → _remoteclaw-gw
  - diagnostic-flags.test.ts: OPENCLAW_DIAGNOSTICS → REMOTECLAW_DIAGNOSTICS
  - state-migrations.test.ts: OPENCLAW_STATE_DIR → REMOTECLAW_STATE_DIR
  - supervisor-markers.test.ts: env var and string literal naming
- Revert heartbeat-events-filter.test.ts (upstream uses HEARTBEAT_OK
  marker, fork uses heartbeat_report tool)
- Revert channel-selection.test.ts (depends on reverted production code)
- Add agent workspace config to plugin-dispatch test configs
- Remove state-migrations.test.ts (tests stubbed-out functions in fork)
- Fix OPENCLAW_WIDE_AREA_DOMAIN → REMOTECLAW_WIDE_AREA_DOMAIN in widearea-dns test
- Add agent-b to agents list in plugin-dispatch binding test
@alexey-pelykh
alexey-pelykh merged commit 52e32a8 into main Mar 24, 2026
7 checks passed
@alexey-pelykh
alexey-pelykh deleted the staging/cherry-pick-1891 branch March 24, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants