-
Notifications
You must be signed in to change notification settings - Fork 1
Update dependencies #29
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
Update dependencies #29
Conversation
…uration - Added new dependencies: `@temporalio/client`, `@temporalio/worker`, `mysql2`, and `zod` to `package.json`. - Updated `@types/node` version to `22.15.21` for improved type definitions. - Adjusted `tsconfig.json` to change the `rootDir` to `..` and include TypeScript files from the `../common` directory. These changes enhance the project's dependency management and TypeScript configuration, ensuring compatibility with the latest packages and improving code organization.
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis update revises the Temporal Dockerfile to use a newer base image, introduces a multi-stage Dockerfile for a Temporal worker, and updates the docker-compose configuration to add a new worker service and adjust Temporal's database settings. Additional changes update ESLint and TypeScript configurations, dependencies, and add improved error handling and corresponding tests for the main worker. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TemporalWorkerMain (Container)
participant Temporal Server (Container)
participant PostgreSQL
User->>TemporalWorkerMain (Container): Start container (dev or prod)
TemporalWorkerMain (Container)->>Temporal Server (Container): Connect to Temporal via tctl/client
Temporal Server (Container)->>PostgreSQL: Connect using env-configured credentials
TemporalWorkerMain (Container)-->>Temporal Server (Container): Run worker logic
TemporalWorkerMain (Container)->>TemporalWorkerMain (Container): On error, handleRunError logs and exits
Possibly related PRs
Suggested reviewers
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 30th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🔍 Vulnerabilities of
|
digest | sha256:cadec04539a284ee00ae8ce0a57fb7c58edb81bc381b49c6dda83b3ff7b72d37 |
vulnerabilities | |
platform | linux/amd64 |
size | 243 MB |
packages | 1628 |
📦 Base Image node:20-alpine
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
|
feat(dependencies): update package dependencies and TypeScript configuration
@temporalio/client
,@temporalio/worker
,mysql2
, andzod
topackage.json
.@types/node
version to22.15.21
for improved type definitions.tsconfig.json
to change therootDir
to..
and include TypeScript files from the../common
directory.These changes enhance the project's dependency management and TypeScript configuration, ensuring compatibility with the latest packages and improving code organization.