Skip to content

feat(api): add Shiki syntax highlighting support for UCD files#523

Draft
luxass wants to merge 1 commit intomainfrom
shiki-endpoint
Draft

feat(api): add Shiki syntax highlighting support for UCD files#523
luxass wants to merge 1 commit intomainfrom
shiki-endpoint

Conversation

@luxass
Copy link
Member

@luxass luxass commented Feb 22, 2026

  • Introduced new route for syntax highlighting of UCD files using Shiki.
  • Added eligibility checks for file types and sizes.
  • Implemented error handling for unsupported media types and payload size limits.
  • Updated package.json and lock files to include shiki and shiki-stream dependencies.

🔗 Linked issue

📚 Description

- Introduced new route for syntax highlighting of UCD files using Shiki.
- Added eligibility checks for file types and sizes.
- Implemented error handling for unsupported media types and payload size limits.
- Updated `package.json` and lock files to include `shiki` and `shiki-stream` dependencies.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 22, 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.

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
  • Post copyable unit tests in a comment
  • Commit unit tests in branch shiki-endpoint

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.

@github-actions
Copy link
Contributor

🌏 Preview Deployments

Application Status Preview URL
API ⏳ In Progress N/A
Store ⏳ In Progress N/A
Website ⏳ In Progress N/A
Documentation ⏳ In Progress N/A

Built from commit: ff2ae8f42104a78184f46a78759dac8f58230d10


🤖 This comment will be updated automatically when you push new commits to this PR.

@github-actions
Copy link
Contributor

📋 OpenAPI Schema Analysis

Summary

API Endpoints

Change Type Count Details
🟢 Added 1 New API endpoints
🔴 Removed 0
🟡 Modified 0 Endpoints with method changes
📊 Method Changes +1 / -0 Added/Removed HTTP methods

Overall Status

Status Result
⚠️ Breaking Changes No - No breaking changes detected

Detailed Changes

🟢 Added Endpoints (1)
Path Methods Description
/api/v1/files/__shiki/{wildcard} GET No description

🤖 This comment is automatically updated when you push new commits.

@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

❌ Patch coverage is 5.76923% with 49 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/worker-utils/src/content-validation.ts 4.54% 13 Missing and 29 partials ⚠️
packages/worker-utils/src/index.ts 0.00% 5 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

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