Skip to content

fix(qa): vision offload proof expects retired runtime context role - #169451

Merged
obviyus merged 1 commit into
mainfrom
fix/qa-vision-runtime-carrier
Oct 12, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/qa-vision-runtime-carrier

Conversation

@obviyus

@obviyus obviyus commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Related: #168961

What Problem This Solves

Fixes the QA vision-offload proof failing because it expects the retired developer-role runtime carrier. This is an explicitly requested main CI repair; #168961 updates other runtime-context fixtures but does not touch this scenario.

User Impact

No product behavior changes. The end-to-end proof still requires exactly one image-model request followed by one text-only model request and one visible reply.

Why This Change Was Made

Current Responses serialization carries labeled runtime context as a user-role message. Expect that exact role sequence and explicitly require the current OpenClaw runtime context: label. Preserve image counts, model selection, request ordering, image prompt/summary, and single-delivery assertions.

Evidence

Baseline: 5889e62f4902b8f3fa4b6eb2cecbbd26f5b8ceb0.

  • Before: the active-model request was [developer, user, user]; the fixture expected [developer, user, developer] and failed.
  • After: vision-channel-offload.e2e.test.ts passed (1/1), including the added label check and all existing offload/single-reply assertions.
  • Built qaRuntime once and reused prebuilt dist.
  • pnpm tsgo:test:root: all four shards passed; changed-file Oxlint/Oxfmt and line-cap ratchet passed.
  • Independent autoreview: scoped-clean at P2, no actionable findings.

Proof command: node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts (executed alongside the independent memory fixture test).

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates the vision-offload scenario to expect labeled user-role runtime context from its compatible Responses endpoint.

Example: The QA channel receives red-top-blue-bottom.png while the active model accepts text only.

  • Before: The scenario rejects the valid [developer, user, user] request because it expects a final developer message.
  • After: The scenario accepts that role sequence and requires the runtime-context label while retaining image, ordering, summary, and single-reply checks.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-verified fixture correction with reported Gateway execution; supplied validation is summarized rather than accompanied by raw runtime output.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-associated, test-only repair is outside the contributor proof gate; its body reports the existing CLI-started Gateway scenario passing with the corrected role and label checks.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Maintainers receive a false vision-offload failure despite the compatible provider receiving the intended request.
Reason: This maintainer-associated repair restores existing coverage without changing runtime behavior or adding a product decision.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR repairs a stale assertion still present on main, preserves meaningful vision-offload coverage, and introduces no identified defect.

Priority: P2
Reviewed head: ab62fbbbb1fdd38697a05eed088c95d8cd67ce8a

Before merge

None.

Findings

None.

Agent review details

How this fits together

The scenario sends an image through the QA bus and a CLI-started Gateway, captures requests at a loopback Responses provider, and checks the resulting channel reply.

flowchart LR
  A[QA channel image] --> B[QA bus]
  B --> C[CLI started Gateway]
  C --> D[Image summarizer request]
  D --> E[Text only model request]
  E --> F[Single channel reply]
  D --> G[Captured request assertions]
  E --> G
Loading

Technical review

Best possible solution:

Land the focused assertion repair while preserving the existing offload and single-delivery contracts.

Do we have a high-confidence way to reproduce the issue?

Current-main serialization and the fixture's loopback endpoint establish the role mismatch, corroborated by the author's before/after report; this review ran no tests.

Is this the best way to solve the issue?

Changing the fixture expectation follows the existing endpoint-specific contract and retains the scenario's independent behavioral assertions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against a9b40cf325e8.

Provenance checked

  • Vision scenario role expectation changes intended behavior with a stated reason (2e76e31: The earlier QA cleanup changed the expected carrier to developer authority while stating that scenario semantics were preserved; the subsequently merged compatible-endpoint repair explicitly restored user-role carriers.)
  • Vision-offload behavioral coverage keeps the original intent (3ac7083: Establish primary full-stack coverage for image summarization, text-only model offload, request ordering, and exactly one visible reply.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 3ac7083 adds test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts:198 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3ac70832135b; files: test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts)

PR surface

Tests +3. Total +3 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 4 1 +3
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 4 1 +3

Labels

Label changes:

  • add P2: A deterministic stale fixture impairs regression validation without establishing a runtime outage.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: A deterministic stale fixture impairs regression validation without establishing a runtime outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 11, 2026, 7:49 PM ET / 23:49 UTC.

@obviyus
obviyus merged commit ba42b57 into main Oct 12, 2026
75 checks passed
@obviyus
obviyus deleted the fix/qa-vision-runtime-carrier branch October 12, 2026 00:17
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…penclaw#169451)

Related: openclaw#168961

## What Problem This Solves

Fixes the QA vision-offload proof failing because it expects the retired developer-role runtime carrier. This is an explicitly requested main CI repair; openclaw#168961 updates other runtime-context fixtures but does not touch this scenario.

## User Impact

No product behavior changes. The end-to-end proof still requires exactly one image-model request followed by one text-only model request and one visible reply.

## Why This Change Was Made

Current Responses serialization carries labeled runtime context as a user-role message. Expect that exact role sequence and explicitly require the current `OpenClaw runtime context:` label. Preserve image counts, model selection, request ordering, image prompt/summary, and single-delivery assertions.

## Evidence

Baseline: `11f576b23cf70615ca4504eb12fdba93591b9c8f`.

- Before: the active-model request was `[developer, user, user]`; the fixture expected `[developer, user, developer]` and failed.
- After: `vision-channel-offload.e2e.test.ts` passed (1/1), including the added label check and all existing offload/single-reply assertions.
- Built `qaRuntime` once and reused prebuilt dist.
- `pnpm tsgo:test:root`: all four shards passed; changed-file Oxlint/Oxfmt and line-cap ratchet passed.
- Independent autoreview: scoped-clean at P2, no actionable findings.

Proof command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts` (executed alongside the independent memory fixture test).

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa pushed a commit that referenced this pull request Oct 16, 2026
…169451)

Related: #168961

## What Problem This Solves

Fixes the QA vision-offload proof failing because it expects the retired developer-role runtime carrier. This is an explicitly requested main CI repair; #168961 updates other runtime-context fixtures but does not touch this scenario.

## User Impact

No product behavior changes. The end-to-end proof still requires exactly one image-model request followed by one text-only model request and one visible reply.

## Why This Change Was Made

Current Responses serialization carries labeled runtime context as a user-role message. Expect that exact role sequence and explicitly require the current `OpenClaw runtime context:` label. Preserve image counts, model selection, request ordering, image prompt/summary, and single-delivery assertions.

## Evidence

Baseline: `5889e62f4902b8f3fa4b6eb2cecbbd26f5b8ceb0`.

- Before: the active-model request was `[developer, user, user]`; the fixture expected `[developer, user, developer]` and failed.
- After: `vision-channel-offload.e2e.test.ts` passed (1/1), including the added label check and all existing offload/single-reply assertions.
- Built `qaRuntime` once and reused prebuilt dist.
- `pnpm tsgo:test:root`: all four shards passed; changed-file Oxlint/Oxfmt and line-cap ratchet passed.
- Independent autoreview: scoped-clean at P2, no actionable findings.

Proof command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts` (executed alongside the independent memory fixture test).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit ba42b57)
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Oct 22, 2026
…penclaw#169451)

Related: openclaw#168961

## What Problem This Solves

Fixes the QA vision-offload proof failing because it expects the retired developer-role runtime carrier. This is an explicitly requested main CI repair; openclaw#168961 updates other runtime-context fixtures but does not touch this scenario.

## User Impact

No product behavior changes. The end-to-end proof still requires exactly one image-model request followed by one text-only model request and one visible reply.

## Why This Change Was Made

Current Responses serialization carries labeled runtime context as a user-role message. Expect that exact role sequence and explicitly require the current `OpenClaw runtime context:` label. Preserve image counts, model selection, request ordering, image prompt/summary, and single-delivery assertions.

## Evidence

Baseline: `5889e62f4902b8f3fa4b6eb2cecbbd26f5b8ceb0`.

- Before: the active-model request was `[developer, user, user]`; the fixture expected `[developer, user, developer]` and failed.
- After: `vision-channel-offload.e2e.test.ts` passed (1/1), including the added label check and all existing offload/single-reply assertions.
- Built `qaRuntime` once and reused prebuilt dist.
- `pnpm tsgo:test:root`: all four shards passed; changed-file Oxlint/Oxfmt and line-cap ratchet passed.
- Independent autoreview: scoped-clean at P2, no actionable findings.

Proof command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/media/vision-channel-offload.e2e.test.ts` (executed alongside the independent memory fixture test).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit ba42b57)
(cherry picked from commit 257d2cd)
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant