Skip to content

Commit 79246ff

Browse files
Merge remote-tracking branch 'origin/main' into codex/rstack-mcp-observability
# Conflicts: # packages/rstack/src/cli/commands.ts # packages/rstack/src/config.ts # pnpm-lock.yaml # pnpm-workspace.yaml
2 parents a1821e3 + 66c6138 commit 79246ff

126 files changed

Lines changed: 3535 additions & 1436 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.

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node.js
2727
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
2828
with:
29-
node-version: 24.18.1
29+
node-version: 24.19.0
3030
package-manager-cache: false
3131

3232
- name: Install Pnpm

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Node.js
7272
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
7373
with:
74-
node-version: 24.18.1
74+
node-version: 24.19.0
7575
package-manager-cache: false
7676

7777
- name: Setup Pnpm

.github/workflows/reusable-native-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Node.js
3636
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
3737
with:
38-
node-version: 24.18.1
38+
node-version: 24.19.0
3939
package-manager-cache: false
4040

4141
- name: Install Pnpm

.github/workflows/reusable-native-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Setup Node.js
7171
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
7272
with:
73-
node-version: 24.18.1
73+
node-version: 24.19.0
7474
package-manager-cache: false
7575

7676
- name: Install Pnpm

.github/workflows/test.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212

1313
permissions:
1414
contents: read
15+
pull-requests: read
1516

1617
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1718
jobs:
@@ -26,28 +27,47 @@ jobs:
2627
- name: Checkout
2728
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
2829

30+
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
31+
id: changes
32+
with:
33+
predicate-quantifier: 'every'
34+
filters: |
35+
changed:
36+
- "!**/*.md"
37+
- "!**/*.mdx"
38+
- "!**/_meta.json"
39+
- "!**/_nav.json"
40+
- "!**/dictionary.txt"
41+
2942
- name: Setup Node.js
43+
if: steps.changes.outputs.changed == 'true'
3044
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
3145
with:
32-
node-version: 24.18.1
46+
node-version: 24.19.0
3347
package-manager-cache: false
3448

3549
- name: Install Pnpm
50+
if: steps.changes.outputs.changed == 'true'
3651
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
3752
with:
3853
run_install: true
3954

4055
- name: Build Packages
56+
if: steps.changes.outputs.changed == 'true'
4157
run: node --run build
4258

4359
- name: Run Rust Tests
60+
if: steps.changes.outputs.changed == 'true'
4461
run: cargo test --profile ci --workspace --locked
4562

4663
- name: Build Native Binding
64+
if: steps.changes.outputs.changed == 'true'
4765
run: pnpm --filter rstack build:native:ci
4866

4967
- name: Check Generated Native Files
68+
if: steps.changes.outputs.changed == 'true'
5069
run: git diff --exit-code -- packages/rstack/binding.cjs packages/rstack/binding.d.cts
5170

5271
- name: Run Test
72+
if: steps.changes.outputs.changed == 'true'
5373
run: node --run test

Cargo.lock

Lines changed: 15 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ rust-version = "1.88"
1010

1111
[workspace.dependencies]
1212
ignore = { version = "0.4.33", default-features = false }
13-
napi = { version = "3.12.0", default-features = false, features = ["napi9"] }
14-
napi-build = "2.4.0"
15-
napi-derive = "3.6.2"
13+
napi = { version = "3.12.1", default-features = false, features = ["napi9"] }
14+
napi-build = "2.4.1"
15+
napi-derive = "3.6.3"
1616
pathdiff = "0.2.3"
1717
rstack-ignore = { path = "crates/rstack-ignore" }
1818

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "MIT",
66
"type": "module",
77
"scripts": {
8+
"benchmark:fmt-discovery": "node scripts/benchmark-fmt-discovery.js",
89
"build": "pnpm --filter \"./packages/**\" build",
910
"check": "rs check --type-check",
1011
"check:spell": "pnpm dlx cspell && heading-case",
@@ -19,6 +20,7 @@
1920
"devDependencies": {
2021
"@types/node": "catalog:",
2122
"cspell-ban-words": "catalog:",
23+
"globals": "catalog:",
2224
"heading-case": "catalog:",
2325
"prettier": "catalog:",
2426
"rstack": "workspace:*",

packages/context/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rstackjs/context",
3-
"version": "0.5.0-alpha.1",
3+
"version": "0.6.0",
44
"description": "Rstack project context, evidence storage, and MCP runtime.",
55
"homepage": "https://rstack.rs",
66
"bugs": {

packages/context/src/diff.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const diffItems = <T extends SnapshotDiffItem>(
129129
});
130130
const changedCount = Math.min(before.length, after.length);
131131
for (let index = 0; index < changedCount; index += 1) {
132-
changed.push({ before: before[index]!, after: after[index]! });
132+
changed.push({ before: before[index], after: after[index] });
133133
}
134134
removed.push(...before.slice(changedCount));
135135
added.push(...after.slice(changedCount));

0 commit comments

Comments
 (0)