Skip to content

Commit 0ab64e7

Browse files
Merge remote-tracking branch 'origin/master' into bot/reduce-noisy-public-logs
# Conflicts: # crates/client-api/src/routes/subscribe.rs # crates/core/src/client/client_connection.rs # crates/core/src/host/wasm_common/module_host_actor.rs
2 parents b7bf57d + 91946bc commit 0ab64e7

1,125 files changed

Lines changed: 82936 additions & 17992 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
**/module_bindings/** linguist-generated=true eol=lf
2+
**/ModuleBindings/** linguist-generated=true eol=lf
23
/docs/llms/** linguist-generated=true
34
/docs/llms/*-details.json linguist-generated=false

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ LICENSE.txt @cloutiertyler
88
/crates/cli/src/ @bfops @cloutiertyler @jdetter
99
/tools/ci/ @bfops @cloutiertyler @jdetter
1010
/tools/ci/src/keynote_bench.rs @joshua-spacetime @cloutiertyler @jdetter
11-
/tools/upgrade-version/ @bfops @jdetter @cloutiertyler
11+
/tools/upgrade-version/ @bfops @jdetter @cloutiertyler @rekhoff
12+
/tools/release/ @bfops @jdetter @cloutiertyler @rekhoff
1213
/tools/license-check/ @bfops @jdetter @cloutiertyler
1314
/.github/ @bfops @jdetter @cloutiertyler
15+
/.github/workflows/release.yml @bfops @jdetter @cloutiertyler @rekhoff
1416

1517
/crates/sdk/examples/quickstart-chat/ @gefjon
1618
/modules/quickstart-chat/ @gefjon
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Keynote Bench Setup
2+
description: Shared setup for the keynote benchmark job
3+
4+
inputs:
5+
public_root:
6+
description: Path to the public SpacetimeDB checkout in the caller workspace
7+
required: false
8+
default: .
9+
rust_cache_workspaces:
10+
description: Workspace paths passed to Swatinem/rust-cache
11+
required: true
12+
13+
runs:
14+
using: composite
15+
steps:
16+
- uses: dsherret/rust-toolchain-file@v1
17+
18+
- name: Set default rust toolchain
19+
shell: bash
20+
run: rustup default $(rustup show active-toolchain | cut -d' ' -f1)
21+
22+
- name: Cache Rust dependencies
23+
uses: Swatinem/rust-cache@v2
24+
with:
25+
workspaces: ${{ inputs.rust_cache_workspaces }}
26+
shared-key: spacetimedb
27+
save-if: false
28+
prefix-key: v1
29+
30+
- name: Check v8 outputs
31+
shell: bash
32+
run: |
33+
find "${CARGO_TARGET_DIR}"/ -type f | grep '[/_]v8' || true
34+
if ! [ -f "${CARGO_TARGET_DIR}"/release/gn_out/obj/librusty_v8.a ]; then
35+
echo "Could not find v8 output file librusty_v8.a; rebuilding manually."
36+
cargo clean --release -p v8 || true
37+
cargo build --release -p v8
38+
fi
39+
working-directory: ${{ inputs.public_root }}
40+
41+
- name: Build public keynote benchmark binaries
42+
shell: bash
43+
run: cargo build --release -p spacetimedb-cli -p spacetimedb-standalone
44+
working-directory: ${{ inputs.public_root }}
45+
46+
- name: Build TypeScript SDK
47+
shell: bash
48+
run: pnpm build
49+
working-directory: ${{ inputs.public_root }}/crates/bindings-typescript

.github/actions/setup-pnpm/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
name: Set up pnpm
22
description: Install pnpm and configure repository package-age policy before any install
33
inputs:
4+
package_json_file:
5+
description: package.json file used to determine the pnpm version
6+
required: false
7+
default: package.json
48
run_install:
59
description: Run pnpm install after configuring pnpm
610
required: false
711
default: "false"
12+
working_directory:
13+
description: Directory to run pnpm install in
14+
required: false
15+
default: .
816
runs:
917
using: composite
1018
steps:
1119
- uses: pnpm/action-setup@v4
20+
with:
21+
package_json_file: ${{ inputs.package_json_file }}
1222

1323
- name: Configure pnpm package age policy
1424
shell: bash
@@ -17,4 +27,5 @@ runs:
1727
- name: Install dependencies
1828
if: inputs.run_install == 'true'
1929
shell: bash
30+
working-directory: ${{ inputs.working_directory }}
2031
run: pnpm install

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
133133
# this will work for both PR and master
134134
- name: Upload criterion results to DO spaces
135-
uses: shallwefootball/s3-upload-action@master
135+
uses: shallwefootball/s3-upload-action@0d261a6f15b3b2e209dfebdecace4b100c04f95b # master
136136
with:
137137
aws_key_id: ${{ secrets.AWS_KEY_ID }}
138138
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
@@ -308,7 +308,7 @@ jobs:
308308
309309
# this will work for both PR and master
310310
- name: Upload callgrind results to DO spaces
311-
uses: shallwefootball/s3-upload-action@master
311+
uses: shallwefootball/s3-upload-action@0d261a6f15b3b2e209dfebdecace4b100c04f95b # master
312312
with:
313313
aws_key_id: ${{ secrets.AWS_KEY_ID }}
314314
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}

0 commit comments

Comments
 (0)