-
Notifications
You must be signed in to change notification settings - Fork 0
Minimal monorepo integration #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary of ChangesHello @phroi, 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 fundamentally refactors the project's architecture by migrating it to a pnpm monorepo. This change aims to unify development practices and tooling across various components, which were previously maintained as separate repositories. The integration of shared configurations for linting, formatting, type checking, and testing, alongside a new versioning system, is designed to improve maintainability, consistency, and the overall developer workflow. Highlights
Ignored Files
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
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 does a great job of converting the repository into a pnpm monorepo. The structure is much cleaner, and the use of modern tooling like Changesets, Vitest, and devcontainers is a big improvement. I've found a few critical issues with the workspace and TypeScript configurations that need to be addressed for the monorepo to function correctly. I've also noted some areas for improvement in scripts and configuration files to enhance consistency and maintainability.
|
/gemini review |
There was a problem hiding this comment.
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 marks a significant improvement by migrating the project to a pnpm monorepo. The consolidation of configurations for ESLint, Prettier, TypeScript, and devcontainers is well-executed and will greatly enhance developer experience and maintainability.
However, there are a few critical issues with package configurations that need to be addressed. Several application packages (bot, tester, interface) are still referencing old, externally published @ickb/* packages instead of using the new local workspace packages via workspace:*. This is a crucial part of the monorepo migration and should be fixed to ensure the apps use the code from within this repository. I've added specific comments on this where the diffs allowed. Additionally, there's a package naming error in apps/faucet/package.json.
I've also left some medium-severity suggestions regarding the root .gitignore and a potential regression in the fee calculation logic in the tester app. Overall, this is a great step forward for the project.
|
@gemini-code-assist I didn't see your new comments |
|
Hello @phroi, thank you for reaching out! I am currently processing the full review of your pull request. The initial summary (Comment 1) is an overview, and the detailed feedback, including any specific code suggestions, will be provided in a formal review submission shortly. Please keep an eye on the "Files changed" tab and your notifications for the complete review. I'll make sure to submit it as soon as it's ready! |
Those are legacy Lumos packages, not present in this PR, so this suggestion is not applicable |
|
LGTM Phroi %80 |
|
For future reference, this is how merged the previous repos into a monorepo: set -eux;
git clone --mirror git@github.com:ickb/utils.git /tmp/stack/utils.git;
cd /tmp/stack/utils.git;
git --git-dir=. filter-repo --to-subdirectory-filter packages/utils --force;
cd ~/ickb/stack;
git remote add utils /tmp/stack/utils.git;
git fetch utils --tags;
git merge --allow-unrelated-histories utils/master -m "Import ickb/utils repo into /packages/utils";
git remote remove utilsPhroi %7 |
Summary of changes:
Phroi %678