Skip to content

[AIT-767] uts: live objects ground work#1209

Draft
ttypic wants to merge 5 commits into
mainfrom
AIT-767/live-object-ground-work
Draft

[AIT-767] uts: live objects ground work#1209
ttypic wants to merge 5 commits into
mainfrom
AIT-767/live-object-ground-work

Conversation

@ttypic
Copy link
Copy Markdown
Contributor

@ttypic ttypic commented May 15, 2026

This PR includes:

  • MockHttpClient
  • MockWebSocketClient
  • Clock interface that allows fake timers
  • Skill to translate UTS tests into kotlin

ttypic added 5 commits May 14, 2026 23:05
- Added `MockHttpClient`, `MockHttpEngine`, and `MockWebSocketEngineFactory` to simulate network interactions.
- Extended `DebugOptions` for customizable engine injection.
- Updated `HttpCore` and `WebSocketTransport` to support mock engines in debug mode.
…ge handling

- Added `MockWebSocket` and `MockEvent` to capture WebSocket connection attempts, messages, and error scenarios.
- Added connection lifecycle events (`ConnectionEstablished`, `ConnectionRefused`, etc.) for enhanced testing.
- Updated `MockWebSocketEngineFactory` and related components to support event tracking and simulation.
- Added `Clock` interface and concrete implementations (`SystemClock` and `FakeClock`) for unified time management.
- Refactored classes (`Auth`, `Presence`, `Hosts`, `WebSocketTransport`, etc.) to use `Clock` instead of direct system calls.
- Enabled mockable time-based operations for improved testability.
- Updated `DebugOptions` to support custom clocks in debug mode.
…in tests

- Introduced a new skill for converting UTS pseudocode specs into runnable Kotlin tests.
- Included detailed translation rules for pseudocode to Kotlin, mock setup, and assertions.
- Added file templates and steps for compilation, testing, and handling deviations.
- Enhanced developer workflow for UTS test authoring.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6ad06f3d-d553-493a-b5ff-47eb51b58770

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch AIT-767/live-object-ground-work

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant