Skip to content

test(ui): exercise wrapped cron edit actions reliably - #191290

Merged
steipete merged 2 commits into
mainfrom
fix/ci-414715-cron-footer
Nov 2, 2026
Merged

steipete merged 2 commits into
mainfrom
fix/ci-414715-cron-footer

Conversation

@steipete

@steipete steipete commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes the cron edit-footer resize case failing in scheduled run 41471567193 when its two short action buttons fit on one line.

User Impact

No product behavior change. The test reliably exercises the footer height change and the scroll clearance needed to keep keyboard choices reachable.

Why This Change Was Made

An otherwise valid edit draft has only Save changes and Cancel, so resizing to 390px does not guarantee a taller footer. Clear the required name through the UI, wait for the real validation help, and resize that edit case to 320px. Create cases keep their existing 390px viewport. All height-growth, ResizeObserver clearance, keyboard, sticky-edge, mutation-count, and cleanup assertions remain.

Evidence

  • Reproduced the original failure: both footer measurements were 63.140625px. An earlier baseline replay passed, confirming its layout-dependent fixture assumption.
  • All 6 cases in cron-select-values.e2e.test.ts passed with the invalid-edit fixture. After preserving create's 390px viewport, both affected narrow cases passed again.
  • Targeted UI-e2e tsrs, file lint/format, and git diff --check pass.
  • Independent local Codex autoreview of the complete change against e8f91361abf, through P2: clean.
  • The five added test lines have a scoped allocation for the edit-footer fixture; the test-line ratchet passes. Final review includes this record.

@clawsweeper

clawsweeper Bot commented Nov 2, 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.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Nov 2, 2026
@steipete
steipete marked this pull request as ready for review November 2, 2026 16:44
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T16:46:10.689356Z d24d628 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) November 2, 2026 16:53
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 2, 2026
@clawsweeper

clawsweeper Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR clears the edit draft’s name and uses a 320px viewport to reliably exercise footer growth.

Example: The browser test opens Garden keyboard task for editing.

  • Before: At 390px, Save changes and Cancel can fit on one line, so the footer-height assertion fails.
  • After: The test exposes validation help and resizes to 320px before checking footer growth and scroll clearance.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-supported fixture repair with reported browser-harness validation; exact-head CI remains pending.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored, test-only repair changes no production behavior; the body reports browser execution of all six cases and a final replay of both affected narrow cases.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Scheduled browser validation can fail because a valid edit footer does not wrap at the fixture’s chosen width.
Reason: The maintainer-directed repair strengthens an existing regression scenario without changing product behavior or weakening checks.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR makes the existing browser regression exercise footer reflow without weakening its assertions; no actionable defect was found.

Priority: P3
Reviewed head: 508e15adcd6bf4fd65ca868c0dff0a632abd9ccd

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI browser suite supplies synthetic Gateway responses, drives the real automation editor, and checks footer geometry, keyboard reachability, and lifecycle cleanup.

flowchart LR
  A[Browser test] --> B[Mock Gateway responses]
  B --> C[Automation editor]
  A --> C
  C --> D[Validation and sticky footer]
  D --> E[ResizeObserver clearance]
  E --> F[Geometry and keyboard assertions]
Loading

Technical review

Best possible solution:

Retain this focused fixture repair and the existing production clearance owner and assertions.

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

Source confirms that the original fixture assumes two edit buttons grow taller at 390px; the PR reports equal 63.140625px measurements, but no reproduction was run during this read-only review.

Is this the best way to solve the issue?

The change uses real validation UI to create the intended layout condition, retains create coverage at 390px, and preserves every existing assertion without introducing another harness or production seam.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 0d43ba6 adds ui/src/e2e/cron-select-values.e2e.test.ts:76 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0d43ba6f18d1; files: ui/src/e2e/cron-select-values.e2e.test.ts)
  • Brandon Julio Thenaro: Raw commit 12c5d20 adds ui/src/e2e/cron-select-values.e2e.test.ts:55 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 12c5d2014bd1; files: ui/src/e2e/cron-select-values.e2e.test.ts)

PR surface

Tests +5, Other +2. Total +7 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 6 1 +5
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 2 8 1 +7

Labels

Label changes:

  • add P3: This repairs a browser-test fixture assumption without changing shipped product behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This repairs a browser-test fixture assumption without changing shipped product behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • 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 November 2, 2026, 12:01 PM ET / 17:01 UTC.

@steipete
steipete merged commit 2811699 into main Nov 2, 2026
100 of 103 checks passed
@steipete
steipete deleted the fix/ci-414715-cron-footer branch November 2, 2026 17:08
@steipete

steipete commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
* test(ui): exercise wrapped cron edit actions reliably

* test(ui): allocate cron footer regression lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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