Conversation
🦋 Changeset detectedLatest commit: 4c75537 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Summary of ChangesHello, 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 introduces a new, reusable GitHub composite action designed to streamline the setup of a comprehensive CI environment. It automates the configuration of Node.js, pnpm, various container registries (ECR, Quay.io), and Turbo S3 remote caching, aiming to standardize and accelerate build and deployment workflows. Highlights
Changelog
Ignored Files
Activity
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.
Code Review
This pull request introduces a new composite GitHub Action to standardize the setup of the CI environment, handling Node.js and pnpm setup, caching, Docker registry logins, and dependency installation. No security vulnerabilities were found. The implementation is solid, but a minor typo and an opportunity to improve the clarity of some input descriptions have been identified for better maintainability.
9c8e4ef to
2611b88
Compare
| NPMJS_TOKEN: ${{ secrets.NPMJS_TOKEN }} | ||
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PL_DOCKER_REGISTRY_PUSH_TO: 'quay.io/milaboratories/pl-containers' | ||
| run: pnpm run ci:build:local |
There was a problem hiding this comment.
Does this affect new package releases?
If so, we then get into the situation, when software (ptabler, ptexter) metadata becomes released without proper build/upload of package to our CDN and docker registry. This means we will have inconsistent workflow-tengo SDK package that would 100% break every block that will try to use it.
PL_PKG_DEV=local affects software builds and is designed for local software changes. It intentionally prevents software publication and 'spoils' links to the software in metadata to local paths on a host instead of real URLs.
It is like having file:// link in dependencies of your package.json, pointing to some private package you never published to anyone.
| MI_LICENSE: ${{ secrets.MI_LICENSE }} | ||
| NPMJS_TOKEN: ${{ secrets.NPMJS_TOKEN }} | ||
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: pnpm run ci:test:local |
There was a problem hiding this comment.
Potentially, the same story as for builds for releases.
Tests are run over some backend that is started as a separate process. In remote K8S, or as a docker container with docker-compose. This means, any reference to software that contains local path on a current runner would not exist on remote backend side.
I don't say this would never work. I just show a warn flag this is a thing to check. I.e., by adding chages to some python code of ptabler/ptexter we publish from monorepo (if we still do so).
No description provided.