Skip to content

ci: run server/api and server/hocuspocus vitest suites in CI - #1019

Merged
otomatty merged 1 commit into
developfrom
claude/github-issue-1010-e8rblz
Jun 10, 2026
Merged

ci: run server/api and server/hocuspocus vitest suites in CI#1019
otomatty merged 1 commit into
developfrom
claude/github-issue-1010-e8rblz

Conversation

@otomatty

Copy link
Copy Markdown
Owner

server/api's vitest suite (129 files / ~1,400 tests) was never run in CI —
only api-typecheck (bunx tsc --noEmit) ran, so a broken suite could slip
through unnoticed (e.g. the bun:test import in #992). server/hocuspocus had
the same gap: its tests were only wired into the root test:run script,
which CI does not execute (CI runs test:coverage).

Add api-test and hocuspocus-test jobs mirroring the mcp-test setup
(install deps inside the service dir, then vitest run), and align the
misleading comment in the test job. Update AGENTS.md so the CI
description matches reality, enumerating which job covers each service.

Closes #1010

server/api's vitest suite (129 files / ~1,400 tests) was never run in CI —
only api-typecheck (`bunx tsc --noEmit`) ran, so a broken suite could slip
through unnoticed (e.g. the bun:test import in #992). server/hocuspocus had
the same gap: its tests were only wired into the root `test:run` script,
which CI does not execute (CI runs `test:coverage`).

Add `api-test` and `hocuspocus-test` jobs mirroring the `mcp-test` setup
(install deps inside the service dir, then `vitest run`), and align the
misleading comment in the `test` job. Update AGENTS.md so the CI
description matches reality, enumerating which job covers each service.

Closes #1010
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@otomatty, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 5 minutes and 35 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d8b736bc-50d9-4ac4-b653-9f4e82c5f043

📥 Commits

Reviewing files that changed from the base of the PR and between 62f68e1 and 9d46344.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • AGENTS.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/github-issue-1010-e8rblz

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

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the AGENTS.md documentation to accurately reflect the CI workflow jobs (api-test and hocuspocus-test) alongside the existing ones. It clarifies how each service (server/api, server/mcp, and server/hocuspocus) is individually installed and verified during CI. There are no review comments, so no feedback is provided.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@otomatty
otomatty merged commit fecf384 into develop Jun 10, 2026
21 checks passed
@otomatty
otomatty deleted the claude/github-issue-1010-e8rblz branch June 10, 2026 03:39
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.

ci: server/api の vitest を CI で実行する(現状 typecheck のみでテストが未実行)

2 participants