Skip to content

Conversation

gamoutatsumi
Copy link
Member

@gamoutatsumi gamoutatsumi commented Aug 4, 2025

Background

denops.vim v7.1.0 raises these errors:

[denops] error: Uncaught (in worker "127.0.0.1:51903") Relative import path "@core/streamutil" not prefixed with / or ./ or ../ and not in import map from "file:///path/to/denops/@denops-private/worker.ts"
[denops]     at file:///path/to/denops/@denops-private/worker.ts:9:21
[denops] error: Uncaught (in promise) Error: Unhandled error in child worker.
[denops]     at Worker.#pollControl (ext:runtime/11_workers.js:204:19)
[denops]     at eventLoopTick (ext:core/01_core.js:178:7)

Summary (Generated by Copilot)

This pull request includes a small change to the deno.jsonc file. The change adds a new import for the @core/streamutil module, specifying version ^1.0.0 to enhance functionality.

Summary by CodeRabbit

  • Chores
    • Updated import mappings to include a new module dependency.

Copy link

coderabbitai bot commented Aug 4, 2025

Walkthrough

A new import mapping for the module "@core/streamutil" with version constraint "^1.0.0" was added to the import map in the denops/@denops-private/deno.jsonc file. No other modifications were made to the file or to any exported or public entities.

Changes

Cohort / File(s) Change Summary
Import Map Update
denops/@denops-private/deno.jsonc
Added an import mapping for "@core/streamutil" with version "^1.0.0".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

A mapping was added, so neat and so small,
To guide streams of code with no trouble at all.
Just one little line, in a file so concise,
Now "@core/streamutil" is mapped in a trice.
🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 562781b and 850bcaf.

📒 Files selected for processing (1)
  • denops/@denops-private/deno.jsonc (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: Milly
PR: vim-denops/denops.vim#418
File: tests/denops/runtime/functions/plugin/check_type_test.ts:6-6
Timestamp: 2024-09-14T17:09:30.174Z
Learning: In this project, import paths prefixed with `/denops-testdata/` are defined in `deno.jsonc` via an import map, and these import paths are valid.
📚 Learning: in this project, import paths prefixed with `/denops-testdata/` are defined in `deno.jsonc` via an i...
Learnt from: Milly
PR: vim-denops/denops.vim#418
File: tests/denops/runtime/functions/plugin/check_type_test.ts:6-6
Timestamp: 2024-09-14T17:09:30.174Z
Learning: In this project, import paths prefixed with `/denops-testdata/` are defined in `deno.jsonc` via an import map, and these import paths are valid.

Applied to files:

  • denops/@denops-private/deno.jsonc
🔇 Additional comments (1)
denops/@denops-private/deno.jsonc (1)

5-5: Confirmed @core/streamutil v1.x exists on JSR – ready to merge
Verified via the module’s meta.json that versions “1.0.0” (and “1.0.0-pre.0”) are published. The ^1.0.0 specifier will resolve correctly. No further changes required.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@lambdalisue lambdalisue merged commit f63fa7f into vim-denops:main Aug 4, 2025
1 check passed
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.

2 participants