Skip to content

style(tui): apply post-merge formatting#3

Merged
BumpyClock merged 1 commit into
mainfrom
fix/apply-post-merge-tui-format
Jul 2, 2026
Merged

style(tui): apply post-merge formatting#3
BumpyClock merged 1 commit into
mainfrom
fix/apply-post-merge-tui-format

Conversation

@BumpyClock

Copy link
Copy Markdown
Owner

Summary

Changes

  • Reformat tui-opentui/src/data.ts
  • Reformat tui-opentui/src/tui-helpers.ts
  • Reformat tui-opentui/tests/data.test.ts

Testing

  • cd tui-opentui && bun test — 34 pass, 5 skip
  • cd tui-opentui && bun run typecheck — pass
  • git diff --check — pass

@BumpyClock
BumpyClock merged commit bc6a11e into main Jul 2, 2026
2 of 3 checks passed
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: f4aa9c17-ac8d-4a4a-9655-5631ada76a50

📥 Commits

Reviewing files that changed from the base of the PR and between 6066497 and 1d6079e.

📒 Files selected for processing (3)
  • tui-opentui/src/data.ts
  • tui-opentui/src/tui-helpers.ts
  • tui-opentui/tests/data.test.ts

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


Summary by CodeRabbit

  • Style

    • Standardized formatting and indentation across core application code for improved consistency and readability.
    • Adjusted import formatting in helper code to match the updated style.
  • Tests

    • Reformatted the test suite without changing expected behavior.
    • Kept coverage intact for valid, warning, error, and timeout scenarios.

Walkthrough

This PR reformats TypeScript code style across three files without changing logic, exported entities, control flow, or test assertions. Changes include line wrapping, semicolon consistency, and multi-line import statements in data.ts, tui-helpers.ts, and data.test.ts.

Changes

Formatting-only reflow

Layer / File(s) Summary
Type declarations and config reformatting
tui-opentui/src/data.ts
TuiConfig, ListEnvelope, DataSnapshot, DependencyNode, DEFAULT_STATUS, and readConfigFromEnv() reformatted with same fields, optionality, and behavior.
Spawn and task fetch reformatting
tui-opentui/src/data.ts
TsqSpawnResult, runTsq(), spawnWarning(), fetchTasks(), and parseTasksEnvelope() reformatted preserving spawn options, exit-code handling, and return shapes.
Dependency tree, guards, and normalization reformatting
tui-opentui/src/data.ts
DepEnvelope, fetchDependencyTree(), createInFlightGuard(), createLatestGuard(), parseDependencyEnvelope(), normalizeDependencyNode(), and normalizeTask() reformatted with unchanged semantics.
Import statement reformatting
tui-opentui/src/tui-helpers.ts
Single-line import from ./data converted to a multi-line named-import block for the same symbols.
Test file reformatting
tui-opentui/tests/data.test.ts
Imports, sampleTask, and describe/it blocks for parseTasksEnvelope, parseDependencyEnvelope, parseSpecEnvelope, and runTsq reformatted with identical assertions.

Estimated code review effort: 1 (Trivial) | ~5 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/apply-post-merge-tui-format

Comment @coderabbitai help to get the list of available commands.

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