Repository navigation
test(openclaw): cover TUI idle timeout regression #6296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
a8b23d6
test(openclaw): cover TUI idle timeout regression
chengjiew 9aec0ea
test(openclaw): cover TUI post-idle interactions
chengjiew 22a89ab
test(cli): avoid conditional cache cleanup
chengjiew dac74e5
merge(main): sync fix branch with main
chengjiew f1fd44d
test(cli): align oclif runner mock shape
chengjiew afdd0ae
test(rebuild): accept notice in recovery harness
chengjiew 646f1d0
test(openclaw): cover post-idle network approval
chengjiew e887c23
test(openclaw): address post-idle review follow-up
chengjiew c467c94
test(openclaw): tighten network approval markers
chengjiew 933640c
test(openclaw): match issue 6194 session path
chengjiew ab81f28
test(openclaw): harden issue 6194 follow-up coverage
chengjiew 8c3b773
test(openclaw): avoid appended tui capture
chengjiew 02f22f4
test(openclaw): use sandbox access env for tui expect
chengjiew 8bf393a
test(openclaw): factor issue 6194 expect helper
chengjiew ed93157
test(openclaw): document issue 6194 repro scope
chengjiew cbc0dcf
test(openclaw): isolate issue 6194 tui flow
chengjiew 7737d07
Merge remote-tracking branch 'origin/main' into fix/6194_openclaw_tui…
chengjiew 477e9f1
test(openclaw): tighten issue 6194 pr feedback
chengjiew ba4a799
test(openclaw): cover issue 6194 artifact redaction
chengjiew b79b7db
merge: sync main into TUI idle coverage
apurvvkumaria 2fa6a09
test(openclaw): keep TUI idle coverage scoped
apurvvkumaria eceddf6
ci(e2e): install expect for TUI live target
apurvvkumaria bedfc31
test(openclaw): harden TUI idle live proof
apurvvkumaria 2344f7d
test(e2e): keep workflow boundary linear
apurvvkumaria 456b612
test(openclaw): match rendered slash status
apurvvkumaria feaf29a
merge(e2e): sync TUI idle coverage with main
apurvvkumaria b10ba53
merge(e2e): sync latest main
apurvvkumaria ee349c1
merge(main): sync PR #6296 with latest main
cv d56841c
test(e2e): reuse shared command result helper
cv 2ca7642
test(openclaw): make network approval proof deterministic
apurvvkumaria d1f7a7f
test(openclaw): harden TUI exit diagnostics
cv c0afe57
test(openclaw): avoid capture read race
cv d5f4002
test(openclaw): avoid contract file race
cv b692e14
test(e2e): stabilize OpenShell approval PTY
cv 56f9ae3
test(e2e): bind Expect waits to approval PTY
cv 25bd2e6
test(e2e): match stable sandbox detail label
cv 522186c
test(e2e): declare openshell approval boundary
cv 6b0e91a
test(e2e): normalize approval rule output
cv db9ffca
test(e2e): tolerate styled approval acknowledgement
cv 6073b64
Merge remote-tracking branch 'origin/main' into fix/6194_openclaw_tui…
jyaunches df8ed1e
test(e2e): lock phase artifact ordering
cv 20e757a
test(e2e): prove approved policy is active
cv 9f658aa
test(e2e): wait for approved policy revision
cv c82282a
Merge remote-tracking branch 'origin/main' into fix/6194_openclaw_tui…
jyaunches d1ea65a
test(e2e): allow policy reload deadline
cv aff5821
Merge remote-tracking branch 'origin/main' into fix/6194_openclaw_tui…
jyaunches 3b0c037
Merge remote-tracking branch 'origin/main' into fix/6194_openclaw_tui…
jyaunches File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
24 changes: 24 additions & 0 deletions
24
test/e2e/support/issue-6194-tui-post-idle-contract.test.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| import { readFileSync } from "node:fs"; | ||
|
|
||
| import { describe, expect, it } from "vitest"; | ||
|
|
||
| const LIVE_TUI_SOURCE = "test/e2e/live/openclaw-tui-chat-correlation.test.ts"; | ||
|
|
||
| describe("live TUI post-idle coverage contract (#6194)", () => { | ||
| it("drives the real terminal TUI after connected idle", () => { | ||
| const source = readFileSync(LIVE_TUI_SOURCE, "utf8"); | ||
|
|
||
| expect(source).toContain('"#6194"'); | ||
| expect(source).toContain("openclaw-tui-terminal-after-connected-idle"); | ||
| expect(source).toContain("spawn openshell sandbox exec --name $sandbox --tty"); | ||
| expect(source).toContain("openclaw tui"); | ||
| expect(source).toContain("connected[^\\\\r\\\\n]*idle"); | ||
| expect(source).toContain("NEMOCLAW6194_CHAT_OK"); | ||
| expect(source).toContain("/nemoclaw status"); | ||
| expect(source).toContain('send "\\\\003"'); | ||
| expect(source).toContain("ISSUE6194_MARK clean_exit"); | ||
| }); | ||
| }); |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.