Repository navigation
test(ui): preserve permission error ownership in chat fixtures - #192822
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
steipete
marked this pull request as ready for review
November 4, 2026 14:31
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 5, 2026
…law#192822) * test(ui): preserve permission error ownership in chat fixtures * test(ui): retain page error ownership when copying chat fixtures * test(ui): reuse shared permission controls fixture * test(ui): preserve error owners in chat fixture consumers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Restores the chat permission regression suites after #192057 moved recoverable errors into the shared chat error owner. Scheduled CI 41837990917 reported 11 failures in these fixtures.
User Impact
No product behavior changes. The tests continue to verify permission recovery, session ownership, and retained diagnostic details.
Why This Change Was Made
Standalone test hosts inherit the real error owner. Fixtures augment that host without dropping its accessors, while copies onto real page state leave the page’s existing owner and subscriptions intact. Independent reload and peer fixtures receive their own error owner. Assertions check the translated summary and original error detail separately, matching the production contract.
The permission controls reuse their existing shared defaults. The complete patch changes 14 test/support files with 64 additions and 68 deletions: four fewer test lines, no allocation, no new cases, and no production seams.
Evidence
13792aae9cdpasses 258/258 cases across 19 files (9.17s), including all seven history-subscription failures reported on the preceding head. The exact history-subscription file passes 19/19 on the original base, fails 7/19 on the preceding head, and passes 19/19 after the repair. The final reload-fixture type refinement also passes its 15 cases (1.44s).47ff2b9ef1de: net −4 test lines. Focused lint, formatting, and diff checks pass.closeSessionTitlekey inui/src/i18n/locales/en-terminal.ts:30(TS1117), outside this patch. The same duplicate exists in the original base at lines 11 and 30; no new type errors remain.47ff2b9ef1de: no actionable P0–P2 findings. The review includes the shared owners and an audit of remaining plain-data and real-page copies.Related: #192057. The separate E2E punctuation change is covered by #192424.