Skip to content

chore(wasm): opfs-project - #2514

Merged
elrrrrrrr merged 1 commit into
nextfrom
opfs-project-0.1.17
Jan 16, 2026
Merged

chore(wasm): opfs-project#2514
elrrrrrrr merged 1 commit into
nextfrom
opfs-project-0.1.17

Conversation

@elrrrrrrr

Copy link
Copy Markdown
Contributor
  • revert opfs-project to 0.1.x

@elrrrrrrr
elrrrrrrr requested a review from xusd320 January 16, 2026 04:29
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @elrrrrrrr, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on reverting the opfs-project dependency to an earlier 0.1.x version. This change necessitated an adaptation of the Project::install function's interface and implementation within the utoo-wasm crate, streamlining its parameters and internal logic to match the older library's API. The overall impact is to restore compatibility with the previous opfs-project version, affecting how project dependencies are installed.

Highlights

  • Dependency Reversion: The opfs-project dependency has been reverted from version 0.2.3 back to 0.1.17 across Cargo.lock and crates/utoo-wasm/Cargo.toml.
  • API Adaptation: The Project::install function in crates/utoo-wasm/src/project.rs has been refactored to align with the older opfs-project API, specifically removing the omit parameter and simplifying the installation logic.
  • TypeScript Bindings Update: Corresponding changes were made in the TypeScript bindings (packages/utoo-web/src/project/InternalProject.ts and packages/utoo-web/src/utoo/index.d.ts) to reflect the updated Project::install signature, removing the omit argument.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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 reverts the opfs-project dependency to version 0.1.17. The changes are consistent across the Rust and TypeScript code, reflecting the API changes from the dependency downgrade, notably the removal of the omit parameter from the install function. The code looks good, I've just left one minor suggestion to improve maintainability by replacing a magic number with a constant.

Comment thread crates/utoo-wasm/src/project.rs
@elrrrrrrr
elrrrrrrr merged commit 55c6c02 into next Jan 16, 2026
22 checks passed
@elrrrrrrr
elrrrrrrr deleted the opfs-project-0.1.17 branch January 16, 2026 05:59
elrrrrrrr added a commit that referenced this pull request Jan 16, 2026
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