-
Notifications
You must be signed in to change notification settings - Fork 71
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
chore(actors-sdk-embed): auto-build & install manager dependencies #1964
chore(actors-sdk-embed): auto-build & install manager dependencies #1964
Conversation
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.
PR Summary
This PR enhances the actors SDK build process by automating dependency management and improving build reliability, particularly focusing on the manager component's build pipeline.
- Added Yarn installation verification in
/packages/toolchain/actors-sdk-embed/build.rs
to fail early if dependencies can't be installed - Implemented automatic manager dependency installation with
--immutable
flag in/packages/toolchain/actors-sdk-embed/build.rs
- Removed redundant Deno/Yarn installation steps from
/packages/toolchain/js-utils-embed/build.rs
to streamline the build process - Added explicit build step for
@rivet-gg/actor-manager
using project root filtering
3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
ensure!( | ||
yarn_check.is_ok() && yarn_check.unwrap().success(), | ||
"yarn is not installed, please install yarn to build this project" |
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.
style: unwrap() after is_ok() check is redundant and could be simplified to yarn_check?.success()
ensure!( | |
yarn_check.is_ok() && yarn_check.unwrap().success(), | |
"yarn is not installed, please install yarn to build this project" | |
ensure!( | |
yarn_check?.success(), | |
"yarn is not installed, please install yarn to build this project" |
@@ -83,6 +118,8 @@ pub async fn build_backend_command_raw(opts: CommandOpts) -> Result<()> { | |||
// Serialize command | |||
let input_json = serde_json::to_string(&opts.input)?; | |||
|
|||
// Yarn install |
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.
style: empty 'Yarn install' comment should be removed since it's not followed by any code
Deploying rivet with Cloudflare Pages
|
Merge activity
|
…1964) <!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
Changes