Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
971472f
Added rimraf to project as dev dependency
WhitWaldo Sep 25, 2025
52fb461
Added some packages as well as the updated fetch-proto.js script for …
WhitWaldo Sep 25, 2025
9580ad4
Updating build scripts to make them cross-platform compatible (e.g. u…
WhitWaldo Sep 30, 2025
1517e03
Updated to use buf to generate the protos and .d.ts/.js files
WhitWaldo Oct 1, 2025
983d4f0
Fixed errors in file due to use of buf
WhitWaldo Oct 1, 2025
2fc06d6
Correcting the updated proto changes
WhitWaldo Oct 2, 2025
b2ad66b
Modernized health.ts to accommodate changes by buf
WhitWaldo Oct 20, 2025
f4f0be6
Updating to accommodate buf changes
WhitWaldo Oct 20, 2025
21d2ed4
Updated to support @buf
WhitWaldo Oct 20, 2025
533059b
Fixed errors through utility type
WhitWaldo Oct 20, 2025
c9ef37a
Fixed and added helper methods for type conversion
WhitWaldo Oct 20, 2025
36fc1c1
Added script to generate version.ts file as a pre-build step so the v…
WhitWaldo Oct 20, 2025
48c0066
Fixed secret to accommodate buf changes
WhitWaldo Oct 20, 2025
31969b8
Fixed lingering errors in state
WhitWaldo Oct 20, 2025
0b24aa9
Fixed lingering buf issues in sidecar
WhitWaldo Oct 20, 2025
7e98be8
Making function generic
WhitWaldo Oct 20, 2025
4a16da3
Allowing implicit any for error responses
WhitWaldo Oct 20, 2025
3ece42d
Fixed lingering buf issues
WhitWaldo Oct 20, 2025
a250a11
Fixed buf issues
WhitWaldo Oct 20, 2025
62f95c6
Fixing bad never type matching
WhitWaldo Oct 20, 2025
7071449
Updated script to write version.ts out to the right place
WhitWaldo Oct 20, 2025
f2b9722
Tweak to fix license address in generated header
WhitWaldo Oct 20, 2025
96a142e
Removed unnecessary bash script - replaced by JS equivalent
WhitWaldo Oct 20, 2025
0ddd175
Fixed crypto and utility to use buf signature
WhitWaldo Oct 21, 2025
ebb969d
Fixed build errors
WhitWaldo Oct 21, 2025
0f62ce2
Updating build script to support cross-OS builds and to use Buf to ge…
WhitWaldo Dec 18, 2025
1f76727
WIP updating the solution to use Buf for protos generation
WhitWaldo Dec 18, 2025
8c3a4b6
Finished work to migrate to use buf for protos type generation + upda…
WhitWaldo Mar 10, 2026
759749b
Added test mocks
WhitWaldo Mar 10, 2026
9bf6caa
Updated protos
WhitWaldo Mar 10, 2026
aa33c54
Added npm install step
WhitWaldo Mar 10, 2026
26bfda3
Fixed install command
WhitWaldo Mar 10, 2026
6a2a222
Updated packages in package-lock.json
WhitWaldo Mar 10, 2026
7e01b04
Removed outdated comment in build step
WhitWaldo Mar 10, 2026
adcf7d3
Updating Dapr versions to 1.17, adding missing `npm install` step to …
WhitWaldo Mar 10, 2026
97c5f7a
Added cross-env support to e2e tests
WhitWaldo Mar 10, 2026
7da248d
Updated to use the new connect-style approach per Buf
WhitWaldo Mar 10, 2026
fbf11f0
Additional tweaks to e2e tests to accommodate Buf
WhitWaldo Mar 10, 2026
c571363
Updated tests
WhitWaldo Mar 10, 2026
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
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:
with:
node-version: ${{ matrix.node_version }}

- name: Build package (install dependencies, lint, prettier, build)
- name: npm install
run: npm install

- name: Build package
run: npm run build

# @TODO: add a depend on the test-e2e pipeline?
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
test-e2e:
runs-on: ubuntu-latest
env:
GOVER: 1.22
DAPR_CLI_VER: 1.15.0
DAPR_RUNTIME_VER: 1.15.3
GOVER: 1.25
DAPR_CLI_VER: 1.17.0
DAPR_RUNTIME_VER: 1.17.1
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_CLI_REF: ""
DAPR_REF: ""
Expand Down Expand Up @@ -121,6 +121,9 @@ jobs:
node-version: ${{ env.NODE_VER }}
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm install

- name: Build Package
run: npm run build

Expand Down
20 changes: 20 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: v2
managed:
enabled: true
plugins:
- remote: buf.build/bufbuild/es
out: ./src/proto
include_imports: true
opt:
- target=js+dts
- import_extension=none
- remote: buf.build/connectrpc/es
out: ./src/proto
include_imports: true
opt:
- target=js+dts
- import_extension=none
inputs:
- directory: ./
paths:
- dapr/proto
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,11 @@ message GetMetadataResponse {
repeated string enabled_features = 9 [json_name = "enabledFeatures"];
ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"];
optional MetadataScheduler scheduler = 11 [json_name = "scheduler"];
optional MetadataWorkflows workflows = 12 [json_name = "workflows"];
}

message MetadataWorkflows {
int32 connected_workers = 1 [json_name = "connectedWorkers"];
}

// MetadataScheduler is a message that contains the list of addresses of the
Expand Down
18 changes: 18 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,22 @@ module.exports = {
testEnvironment: "node",
collectCoverage: true,
coverageReporters: ["lcov"],
transform: {
"^.+\\.tsx?$": ["ts-jest", {
isolatedModules: true,
}],
},
moduleNameMapper: {
// Mock proto files - they're ES modules that don't play well with Jest
"proto.*_pb$": "<rootDir>/test/__mocks__/proto.mock.ts",
"proto.*_connect$": "<rootDir>/test/__mocks__/proto.mock.ts",
"@bufbuild/protobuf/wkt": "<rootDir>/test/__mocks__/protobuf.mock.ts",
"@bufbuild/protobuf/codegenv2": "<rootDir>/test/__mocks__/protobuf.mock.ts",
"@bufbuild/protobuf": "<rootDir>/test/__mocks__/protobuf.mock.ts",
"@connectrpc/connect": "<rootDir>/test/__mocks__/connect.mock.ts",
},
testPathIgnorePatterns: [
"/node_modules/",
"/build/"
]
};
Loading
Loading