Skip to content
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

what's different? #1039

Closed
wants to merge 19 commits into from
Closed

what's different? #1039

wants to merge 19 commits into from

Conversation

sxlijin
Copy link
Collaborator

@sxlijin sxlijin commented Oct 14, 2024

Important

Add reusable GitHub Actions workflow for TypeScript builds and update related configurations and scripts.

  • Workflows:
    • Adds build-typescript-release.reusable.yaml for building TypeScript releases across multiple platforms.
    • Updates release.yml to use the new reusable workflow for TypeScript builds.
  • Configuration:
    • Updates Node.js version to 20.14 in .mise.toml.
    • Specifies musl linkers in Cargo.toml for x86_64 and aarch64 targets.
  • Scripts:
    • Adds setup-cross-compile-env.sh for setting up a cross-compilation environment in Docker.

This description was created by Ellipsis for 39d8b4c. It will automatically update as commits are pushed.

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 11:11pm

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 39d8b4c in 29 seconds

More details
  • Looked at 370 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 drafted comments based on config settings.
1. tools/setup-cross-compile-env.sh:60
  • Draft comment:
    Consider making the bash shell startup optional or controlled by a flag, as it may not be necessary for all use cases.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The setup-cross-compile-env.sh script ends with starting a bash shell, which might not be necessary for all use cases. This could be optional or controlled by a flag.
2. engine/language_client_typescript/Cargo.toml:14
  • Draft comment:
    Ensure that the specified musl linkers (x86_64-linux-musl-gcc and aarch64-linux-musl-gcc) are available in the build environment to avoid compilation errors.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The Cargo.toml file specifies a linker for musl targets, which is necessary for cross-compilation. However, it's important to ensure that these linkers are available in the build environment.
3. .github/workflows/build-typescript-release.reusable.yaml:111
  • Draft comment:
    Ensure that all necessary dependencies are installed before running pnpm build:napi-release to avoid build failures.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The build-typescript-release.reusable.yaml file uses pnpm build:napi-release for building, which is fine, but it's important to ensure that all necessary dependencies are installed before this step.

Workflow ID: wflow_mJlx0olfx2qRKd6C


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

;;
ubuntu|debian)
# apt-get update && apt-get install -y curl
apt install -y curl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider updating the package list before installing curl on Ubuntu/Debian systems to avoid potential issues with outdated package lists.

Suggested change
apt install -y curl
apt-get update && apt-get install -y curl

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.

1 participant