Skip to content

test: convert tui-pty terminal-safety comment-out skip to it.skip.each - #187

Closed
vashbrightfire[bot] wants to merge 1 commit into
brightfire/999239d745d/upstream-test-fixesfrom
fix/tui-pty-skip-each
Closed

vashbrightfire[bot] wants to merge 1 commit into
brightfire/999239d745d/upstream-test-fixesfrom
fix/tui-pty-skip-each

Conversation

@vashbrightfire

@vashbrightfire vashbrightfire Bot commented Sep 8, 2026

Copy link
Copy Markdown

Mirrors the fix already merged to brightfire/ci in #181: the comment-out skip orphans exerciseTerminalOutputSafety for knip's all-exports scan, failing raw-tree PR CI on this patch branch. it.skip.each keeps the case listed and the export referenced. No behavior change — the case stays skipped for the same CI-flakiness reason.

The commented-out import/case orphans exerciseTerminalOutputSafety for
knip's all-exports scan (raw-tree PR CI failure on this branch, same
root cause fixed on brightfire/ci in #181). it.skip.each keeps the case
listed and the export referenced. No behavior change.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3400ae175

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +737 to +740
it.skip.each([
"sanitizes ANSI OSC and C1 payloads across real PTY display boundaries",
() => exerciseTerminalOutputSafety(startTuiFixture, STARTUP_TIMEOUT_MS),
])("%s", async (_name, runCase) => runCase(), STARTUP_TEST_TIMEOUT_MS);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Nest the skipped case as an each-table row

Vitest treats each top-level array element as a separate row, so this flat [title, fn] table registers two skipped tests instead of the intended single two-argument case. Besides making the skipped-test inventory inaccurate, removing .skip after the CI flake is fixed would invoke both rows without a callable runCase and fail before exercising terminal safety; wrap the pair in an outer array.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant