Skip to content

test(gateway): use current fixture for session appearance checks - #180628

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/fix-main-patch-fixture-20261022
Oct 22, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/fix-main-patch-fixture-20261022

Conversation

@vyctorbrzezowski

Copy link
Copy Markdown
Member

The session appearance regression still passed a nested patch object after its shared fixture changed to flattened fields. This breaks the Gateway test typecheck and leaves the icon mutation untested: the selected test fails because icon stays undefined.

Use the existing patchOk helper for the icon change, clearing, and rename cases. All assertions and production behavior remain unchanged.

Risk and coverage

  • Test-only correction: one file, +3/−12 lines; no production changes or new tests.
  • Reproduced on main d5ce64b7e2d: the selected appearance test fails at the icon assertion (24.01 s, including cold worker preparation). It passes after the correction (6.91 s).
  • The exact failing typecheck leaf, node scripts/run-tsgo.mjs --noEmit -p test/tsconfig/tsconfig.core.test.gateway-root.json, passes (2.73 s).
  • Formatting and diff checks pass. Independent source review found no actionable issue.
  • The triggering CI failure is check-test-types-core-4: three TS2353 errors in this test. The fixture was unchanged when applying the repair on newer main b90f49b11fcd.

Use the existing flattened patchOk fixture for icon, color clearing, and rename checks. The previous nested patch argument no longer matched PatchFixture and skipped the intended mutation. Preserve every assertion.

Validation: the selected appearance test fails on main and passes after this change; the exact gateway-root test typecheck passes. Independent source review is clean.
@clawsweeper

clawsweeper Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 22, 2026 13:06
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Oct 22, 2026
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) October 22, 2026 13:10
@vyctorbrzezowski
vyctorbrzezowski merged commit c2abf60 into main Oct 22, 2026
175 of 177 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/fix-main-patch-fixture-20261022 branch October 22, 2026 13:17
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

vyctorbrzezowski added a commit to etzelm/openclaw that referenced this pull request Oct 22, 2026
Recompute the merge-ref after main fix c2abf60 (openclaw#180628). The previous merge-ref failed TS2353 in sessions-patch.test.ts. Preserve the reviewed source tree unchanged.
vyctorbrzezowski added a commit that referenced this pull request Oct 22, 2026
…#177543)

* fix(ui): show queued automation runs as a status notice, not an error

- Run now outcomes that answer the request (queued, already running, not due)
  render as a neutral role="status" callout on the Automations page and on
  the agent Automations panel.
- Failures (invalid schedule, stopped scheduler, rejected requests) keep the
  existing danger-styled feedback.

* test(ui): prove queued Run now status on the agent Automations panel

- Add a browser e2e case: agent Automations panel, Run now, queued result
  is exposed as role=status and no danger callout is shown.
- Keep only the notice case of the agent view render test; the error case
  failed before the fix only because the panel prop changed shape.

* fix(ui): keep Run now notices on the Automations overview

- Render the neutral run notice on the Automations overview, so row Run now,
  Run if due and Create & run now keep their attributed acknowledgement.
- Share one NoticeBanner between the overview and the detail view.
- Clear the notice with the error when the route search changes.
- Browser coverage for the overview row outcomes, Create & run now, and the
  route reset; drop the redundant static agent panel notice test.

* chore: prepare reviewed contributor base integration

* fix(ui): preserve cron feedback across main integration

* style(ui): format automation run feedback

* chore: refresh CI after main fixture repair

Recompute the merge-ref after main fix c2abf60 (#180628). The previous merge-ref failed TS2353 in sessions-patch.test.ts. Preserve the reviewed source tree unchanged.

---------

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 23, 2026
…enclaw#180628)

Use the existing flattened patchOk fixture for icon, color clearing, and rename checks. The previous nested patch argument no longer matched PatchFixture and skipped the intended mutation. Preserve every assertion.

Validation: the selected appearance test fails on main and passes after this change; the exact gateway-root test typecheck passes. Independent source review is clean.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 23, 2026
…openclaw#177543)

* fix(ui): show queued automation runs as a status notice, not an error

- Run now outcomes that answer the request (queued, already running, not due)
  render as a neutral role="status" callout on the Automations page and on
  the agent Automations panel.
- Failures (invalid schedule, stopped scheduler, rejected requests) keep the
  existing danger-styled feedback.

* test(ui): prove queued Run now status on the agent Automations panel

- Add a browser e2e case: agent Automations panel, Run now, queued result
  is exposed as role=status and no danger callout is shown.
- Keep only the notice case of the agent view render test; the error case
  failed before the fix only because the panel prop changed shape.

* fix(ui): keep Run now notices on the Automations overview

- Render the neutral run notice on the Automations overview, so row Run now,
  Run if due and Create & run now keep their attributed acknowledgement.
- Share one NoticeBanner between the overview and the detail view.
- Clear the notice with the error when the route search changes.
- Browser coverage for the overview row outcomes, Create & run now, and the
  route reset; drop the redundant static agent panel notice test.

* chore: prepare reviewed contributor base integration

* fix(ui): preserve cron feedback across main integration

* style(ui): format automation run feedback

* chore: refresh CI after main fixture repair

Recompute the merge-ref after main fix bbe1b75 (openclaw#180628). The previous merge-ref failed TS2353 in sessions-patch.test.ts. Preserve the reviewed source tree unchanged.

---------

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant