Skip to content

fix(openclaw): bound media hydration and preserve existing attachments - #140

Merged
IYENTeam merged 3 commits into
devfrom
codex/functional-media-fixes
Sep 8, 2026
Merged

IYENTeam merged 3 commits into
devfrom
codex/functional-media-fixes

Conversation

@changeroa

Copy link
Copy Markdown
Collaborator

Summary

A successful verdict POST could still leave the final reply waiting indefinitely on the image GET or body. Carry the existing request AbortSignal through hydration, and preserve existing single and multiple attachments when adding emotion media. Covers F04/F16.

Includes separate stalled-header and stalled-body regressions and a single-attachment preservation case. This PR is independent of the watcher delivery proposal; #137 touches the same entrypoint and may require a rebase when merged.

Verification

  • Node 22.18.0; isolated branch checked against dev (da2120e).
  • OpenClaw: 469 passed; TypeScript passed.
  • Service-owned boundary and branch-flow checks passed; git diff --check passed.
  • No real image generation, external channel sends, deployment, or gateway restart. Tests use fixtures, mocks, or local loopback; production HENT_AI_/DISCORD_ variables were removed from test processes.
  • node scripts/release-gate.mjs — full release gate and real gateway replacement E2E were not run; no release-readiness claim.

Architecture Boundary

OpenClaw remains a thin media adapter with no new classifier, profile, asset lookup, or direct Discord REST. Changeset Validation requires owner review because openclaw/index.ts changes; no approval or owner-reviewed label is asserted.

Part of the September 8 functional audit split. Security vulnerability investigation and reproduction are outside this work. All split PRs target dev; there is no stacked branch dependency.

@IYENTeam IYENTeam added the owner-reviewed Owner reviewed breaking-risk/entry-point change label Sep 8, 2026
@IYENTeam
IYENTeam merged commit c48e48b into dev Sep 8, 2026
12 checks passed
@IYENTeam
IYENTeam deleted the codex/functional-media-fixes branch September 8, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openclaw owner-reviewed Owner reviewed breaking-risk/entry-point change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants