Skip to content

[Lever lane] Reduce mock Gateway UI scenario failures and rerun waste #1922

Closed

Description

@shanselman

Ask (verbatim)

Run 5 lanes on the slow-test-suite work from the earlier Loop Card.

Outcome

Owner: @shanselman
Done when: one reversible fix to a reproducible mock Gateway application-scenario failure is evaluated. Keep only if required UI behavior remains covered and CI failure/retry waste improves without increasing p90 time-to-green.

Feedback loop

Recent PR runs failed in Run mock Gateway application scenarios after 3.9-5.9 minutes. Inspect the raw failure output and artifact before changing anything. Use the parent issue's matched-run comparison and record failure rate separately from duration.

Constraints

  • Own scripts/test-gateway-fixture.ps1 and the mock Gateway fixture implementation only. Do not edit the CI workflow or tests/OpenClaw.Tray.UITests/GatewayFixtureUiTests.cs unless the coordinator first reconciles file ownership.
  • Reproduce the failure before changing code. Do not convert a real regression into a retry or skip.
  • Prepare while the parent A/A runs; wait for its baseline watermark before starting the CI arm.

Budget

One candidate, at most eight matched control/treatment pairs under the shared 5,200 runner-minute cap.

Autonomy

L2; human lands. Spend max.

Stop conditions

Keep, reject, or mark inconclusive using the parent card. Stop if current failures are not reproducible or the proposed fix hides failures.

Report contract

One of four experiment lanes. Report repro evidence, candidate, files, focused checks, exact PR run IDs, and measured outcome.

Status

Waiting for baseline watermark.

Activity

  1. self-assigned this
    on Oct 29, 2026
  2. added
    P2Normal priority bug or improvement with limited blast radius.
    impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    on Oct 29, 2026
  3. clawsweeper commented on Oct 29, 2026

    @clawsweeper

    Codex review: this still needs some work.

    Summary
    Keep this issue open: it is a collaborator-owned experiment awaiting baseline evidence, and current main does not establish that its reliability goal has been met.

    Reproducibility: no. current failure was reproduced during this read-only review; the related visibility report supplies historical reproduction steps, but this lane still needs an exact recent failure and its artifacts.

    Next step
    Inspect exact failed-run logs and artifacts, reproduce an in-scope defect, and wait for the parent baseline watermark before evaluating a candidate.

    Review details

    Best possible solution:

    Retain only a reproduced fixture repair that preserves assertions and meets the parent experiment's reliability, duration, and budget criteria.

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

    No current failure was reproduced during this read-only review; the related visibility report supplies historical reproduction steps, but this lane still needs an exact recent failure and its artifacts.

    Is this the best way to solve the issue?

    A single measured fixture repair is appropriate after failure classification; retries, skips, or weaker visibility assertions would invalidate the stated goal.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The reported recent CI failures are not tied to exact run IDs or inspected failure artifacts in this issue.
    • The intermittent visibility failure has no established mechanism, and its repair may require files outside this lane's ownership.
    • No completed baseline or matched reliability comparison is recorded.

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

    Label changes

    Label changes:

    • add P2: Fixture reliability and CI rerun costs warrant normal-priority investigation without evidence of an urgent product regression.
    • add impact:other: The reported impact is unreliable automated acceptance coverage and wasted CI runner capacity.
    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.

    Label justifications:

    • P2: Fixture reliability and CI rerun costs warrant normal-priority investigation without evidence of an urgent product regression.
    • impact:other: The reported impact is unreliable automated acceptance coverage and wasted CI runner capacity.
    Evidence reviewed

    What I checked:

    Likely related people:

    • Karen: Raw commit 1912df7 adds scripts/test-gateway-fixture.ps1:63 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1912df7e2f97; files: scripts/test-gateway-fixture.ps1)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 29, 2026, 5:49 PM ET / 21:49 UTC.

  4. shanselman commented on Oct 29, 2026

    @shanselman
    CollaboratorAuthor

    Coordinator update (Copilot lever agent, not a person). Local reproduction on unchanged main c9d11df: the Chat / settingsOrigin:true case fails at GatewayFixtureSettingsModalUiTests.cs:153, matching the CI signature; a separate Channels / false case timed out at line 102 and is tracked as its own finding. Ownership check: no open PR or other lane touches that test file, so this lane may edit it to add draft-checkpoint instrumentation only. Constraints: keep the final empty-draft expectation and all cases, no unbounded sleeps, no product-file edits (many open PRs touch those), no PR or CI until the A/A watermark. Parent: #1919 (Reduce slow CI time-to-green without weakening validation).

  5. shanselman commented on Nov 3, 2026

    @shanselman
    CollaboratorAuthor

    Closing this lane as resolved by merged #1941 (fix(tests): modal smoke intermittently loses its seeded draft), with the corresponding draft-readiness coverage carried into current main by #1929 (refactor: remove the Bindings page). The old same-SHA control showed the failure on 4/6 attempts, but that is not today's failure rate. The fix adds an explicit readiness checkpoint rather than retrying, skipping, or weakening the assertion. Repeated current-main proof and timing are tracked by the refreshed parent experiment, not this lane.

  6. locked as resolved and limited conversation to collaborators on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Normal priority bug or improvement with limited blast radius.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.leverLever delivery tracking issue

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions