Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-python-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release language_client_python
on:
workflow_call: {}
push:
branches: [manylinux-x86]
branches: [manylinux-x86, aaron-fix]

concurrency:
# suffix is important to prevent a concurrency deadlock with the calling workflow
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:

- target: x86_64-apple-darwin
runs_on: macos-latest

- target: aarch64-apple-darwin
runs_on: macos-latest

- target: x86_64-pc-windows-msvc
runs_on: windows-latest

name: ${{ matrix._.target }}
runs-on: ${{ matrix._.runs_on }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-ruby-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Release engine/language_client_ruby

on:
workflow_call: {}
push:
branches: [aaron-fix]

permissions:
contents: read
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/build-typescript-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release language_client_typescript
on:
workflow_call: {}
push:
branches: [sam/alpine-warnings]
branches: [sam/alpine-warnings, aaron-fix]

concurrency:
# suffix is important to prevent a concurrency deadlock with the calling workflow
Expand Down Expand Up @@ -83,9 +83,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: |
engine/language_client_typescript/pnpm-lock.yaml
cache: false
# cache: pnpm
# cache-dependency-path: |
# engine/language_client_typescript/pnpm-lock.yaml
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
Expand All @@ -95,13 +96,13 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: engine
shared-key: engine-${{ github.job }}-${{ matrix._.target }}
shared-key: engine-${{ github.job }}-${{ matrix._.target }}-v2
cache-on-failure: true

- name: PNPM Install
run: pnpm install --frozen-lockfile
working-directory: engine/language_client_typescript

# per-matrix-entry dependency setup
- name: Build tools setup
run: ${{ matrix._.before }}
Expand All @@ -110,7 +111,7 @@ jobs:
- name: PNPM Build
run: ${{ matrix._.node_build }}
working-directory: engine/language_client_typescript

- name: Build TS
run: pnpm build:ts_build
working-directory: engine/language_client_typescript
Expand All @@ -120,4 +121,4 @@ jobs:
with:
name: bindings-${{ matrix._.target }}
path: engine/language_client_typescript/*.node
if-no-files-found: error
if-no-files-found: error
9 changes: 9 additions & 0 deletions engine/language_client_python/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# to enable json logging we need this serialization feaure. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/#unstable-features
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo in comment: 'feaures' should be 'features'. This typo is also present in engine/language_client_ruby/.cargo/config.toml and engine/language_client_typescript/.cargo/config.toml.

Suggested change
# to enable json logging we need this serialization feaure. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/#unstable-features
# to enable json logging we need this serialization feature. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/#unstable-features

[build]
rustflags = ["--cfg", "tracing_unstable"]

# https://github.com/rust-lang/cargo/issues/8607
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
9 changes: 9 additions & 0 deletions engine/language_client_ruby/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# to enable json logging we need this serialization feaure. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/#unstable-features
[build]
Copy link
Contributor

Choose a reason for hiding this comment

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

The rustflags setting in language_client_ruby is identical to those in language_client_python and language_client_typescript. Consider consolidating these configurations to avoid duplication.

  • Cargo config for language_client_python (config.toml)
  • Cargo config for language_client_typescript (config.toml)

rustflags = ["--cfg", "tracing_unstable"]

# https://github.com/rust-lang/cargo/issues/8607
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
8 changes: 8 additions & 0 deletions engine/language_client_typescript/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# to enable json logging we need this serialization feaure. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/#unstable-features
[build]
Copy link
Contributor

Choose a reason for hiding this comment

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

This Cargo configuration file is a duplicate of the existing 'engine/.cargo/config.toml'. Consider reusing the existing configuration instead of adding a new one.

rustflags = ["--cfg", "tracing_unstable"]

[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]