-
Notifications
You must be signed in to change notification settings - Fork 10
Add Azure-managed Durable Task support as separate npm package #73
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
Open
Copilot
wants to merge
37
commits into
main
Choose a base branch
from
copilot/add-durable-task-scheduler-js
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+45,749
−24,403
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
c342a89
Initial plan
Copilot b3b5a40
Add Durable Task Scheduler support for Azure-managed orchestration
Copilot 8ad77cd
Improve type safety in scheduler module based on code review
Copilot 1a727d8
Rename scheduler to azuremanaged and move to separate npm package
Copilot 1e79da0
Exclude packages from root jest configuration
Copilot 79d0d30
Fix grammar in error messages for connection string validation
Copilot e8edf4b
Rename packages to extensions and update package name to durabletask-…
Copilot 7823521
Fix typo in jest.config.js comment
Copilot 5905636
Add .npmignore to exclude extensions folder from main package
Copilot ca517d4
save
YunchuWang f953166
same eslint
YunchuWang 8ad398c
save
YunchuWang 4877a34
workerid
YunchuWang 7bbcb5e
save
YunchuWang 676d25e
save
YunchuWang feac6f9
save
YunchuWang 0426630
save
YunchuWang 5523d00
save
YunchuWang 79ee784
save
YunchuWang 77a5d32
align clientretryoptions
YunchuWang fb3a468
add code ref
YunchuWang 22381a4
test sample
YunchuWang 422c39c
Merge branch 'main' of https://github.com/microsoft/durabletask-js in…
YunchuWang b3b0105
save
YunchuWang ca901ac
fix incorrect grpc gen script
YunchuWang bb357c4
save
YunchuWang ed357b4
add completion token
YunchuWang 5857ea4
update sample
YunchuWang cb763d9
use default messagesize
YunchuWang 4995519
make output folder consistent
YunchuWang 8bd1ed8
use files instead of npmignore for cleaner packaging
YunchuWang 017e839
multipackage workspace layout
YunchuWang 8cca56c
cleanup
YunchuWang f13f7c7
update pr ci
YunchuWang b14e95a
fix e2e tests
YunchuWang 0048b8b
fix codeql
YunchuWang b7ee967
codeql
YunchuWang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,48 @@ | ||
| name: 🚀 Test and Build | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| NODE_VER: 16.14.0 | ||
|
|
||
| services: | ||
| # docker run --name durabletask-sidecar -p 4001:4001 --env 'DURABLETASK_SIDECAR_LOGLEVEL=Debug' --rm cgillum/durabletask-sidecar:latest start --backend Emulator | ||
| durabletask-sidecar: | ||
| image: cgillum/durabletask-sidecar:latest | ||
| ports: | ||
| - 4001:4001 | ||
| env: | ||
| DURABLETASK_SIDECAR_LOGLEVEL: Debug | ||
| DURABLETASK_STORAGE_PROVIDER: Emulator | ||
|
|
||
| steps: | ||
| - name: 📥 Checkout code | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: ⚙️ NodeJS - Install | ||
| uses: actions/setup-node@v2 | ||
| with: | ||
| node-version: ${{ env.NODE_VER }} | ||
| registry-url: "https://registry.npmjs.org" | ||
|
|
||
| - name: ⚙️ Install dependencies | ||
| run: npm install | ||
|
|
||
| - name: ✅ Run unit tests | ||
| run: npm test test/unit | ||
|
|
||
| - name: ✅ Run e2e tests | ||
| run: ./scripts/test-e2e.sh | ||
| name: 🚀 Test and Build | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| NODE_VER: 22 | ||
|
|
||
| services: | ||
| # docker run --name durabletask-sidecar -p 4001:4001 --env 'DURABLETASK_SIDECAR_LOGLEVEL=Debug' --rm cgillum/durabletask-sidecar:latest start --backend Emulator | ||
| durabletask-sidecar: | ||
| image: cgillum/durabletask-sidecar:latest | ||
| ports: | ||
| - 4001:4001 | ||
| env: | ||
| DURABLETASK_SIDECAR_LOGLEVEL: Debug | ||
| DURABLETASK_STORAGE_PROVIDER: Emulator | ||
|
|
||
| steps: | ||
| - name: 📥 Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: ⚙️ NodeJS - Install | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VER }} | ||
| registry-url: "https://registry.npmjs.org" | ||
|
|
||
| - name: ⚙️ Install dependencies | ||
| run: npm install | ||
|
|
||
| - name: 🔨 Build packages | ||
| run: npm run build | ||
|
|
||
| - name: ✅ Run unit tests | ||
| run: npm run test:unit | ||
|
|
||
| - name: ✅ Run e2e tests | ||
| run: npm run test:e2e | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.