Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f04cb9e
feat(docker): update Temporal setup and add worker configuration
anatolyshipitz May 22, 2025
509d906
feat(error-handling): refactor error handling in main script and add …
anatolyshipitz May 22, 2025
745a049
fix(eslint): update ESLint configuration and improve test structure
anatolyshipitz May 22, 2025
f4207fb
refactor(docker): simplify Dockerfile by removing netcat installation
anatolyshipitz May 22, 2025
31dfaff
Update dependencies (#29)
anatolyshipitz May 22, 2025
c930aef
refactor(logging): enhance error handling and logging in main worker
anatolyshipitz May 22, 2025
49898bd
refactor(tests): clean up error handling tests in index.test.ts
anatolyshipitz May 22, 2025
9b04e97
fix(workflows): update dependency installation method in code quality…
anatolyshipitz May 22, 2025
c198eb2
feat(dependencies): add new Temporal dependencies and source-map-support
anatolyshipitz May 22, 2025
39f1d79
feat(dependencies): update package-lock.json with new and modified de…
anatolyshipitz May 22, 2025
7abed8e
feat(worker): enhance worker functionality and error handling
anatolyshipitz May 22, 2025
f370612
refactor(tests): improve test structure and readability in index.test…
anatolyshipitz May 22, 2025
e9a7431
Merge branch 'main' into feature/add-workflow
anatolyshipitz May 23, 2025
58e4370
refactor(workflows): improve financial report workflow and error hand…
anatolyshipitz May 23, 2025
37071df
fix(tests): update report string expectation in weeklyFinancialReport…
anatolyshipitz May 23, 2025
cfea3eb
feat(workers): add Redmine integration and update Docker configuration
anatolyshipitz May 23, 2025
50e80a0
Merge branch 'main' into feature/64207_redmine
anatolyshipitz May 25, 2025
1d22a74
refactor(redmine): remove console log from getProjectUnits function
anatolyshipitz May 25, 2025
f2040a8
refactor(worker): streamline error logging and add environment config…
anatolyshipitz May 27, 2025
b8ee0b3
refactor(tests): improve import organization and formatting in test f…
anatolyshipitz May 27, 2025
babd5c1
chore(dependencies): update package-lock.json for dependency versions
anatolyshipitz May 28, 2025
071c89a
refactor(tests): enable logger in Redmine test setup
anatolyshipitz May 28, 2025
bab99a7
refactor(tests): enhance logger usage in test setups
anatolyshipitz May 28, 2025
6110574
chore(dependencies): update package-lock.json to include licenses for…
anatolyshipitz May 28, 2025
e36f2a4
fix(workflows): update code quality workflow to clean node modules be…
anatolyshipitz May 28, 2025
da8d063
fix(workflows): refine code quality workflow for improved dependency …
anatolyshipitz May 28, 2025
d65290c
fix(workflows): enhance code quality workflow for better dependency i…
anatolyshipitz May 28, 2025
d1b437f
refactor(project structure): reorganize common utilities and update R…
anatolyshipitz May 28, 2025
19c352e
refactor(imports): update import paths and formatting for consistency
anatolyshipitz May 28, 2025
7347371
refactor(types): introduce new types and clean up code structure
anatolyshipitz May 28, 2025
751cdc2
refactor(index): remove unused export for temporalConfig
anatolyshipitz May 28, 2025
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
11 changes: 1 addition & 10 deletions .cursor/rules/temporal-project-structure.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ The project follows a modular structure with workers as independent packages:
│ ├── main/ # Main worker package
│ │ ├── src/ # Source code
│ │ │ ├── activities/ # Activity implementations
│ │ │ ├── common/ # Shared utilities, types, and configuration for all workers
│ │ │ ├── workflows/ # Workflow definitions
│ │ │ ├── index.ts # Worker entry point
│ │ │ └── types.ts # Worker-specific types
│ │ ├── package.json # Worker dependencies
│ │ ├── tsconfig.json # TypeScript configuration
│ │ └── README.md # Worker documentation
│ └── [other-workers]/ # Additional worker packages
├── common/ # Shared utilities, types, and configuration for all workers
├── docs/ # Project documentation
│ └── user-guide/ # User guides and documentation
├── docker-compose.yml # Docker compose configuration
Expand All @@ -40,15 +40,6 @@ All Temporal workers must be placed under `workers/<worker-name>/` and include:
- `types.ts` — (optional) worker-specific types
- `README.md` — brief usage and development instructions

### Shared Utilities

Shared utilities, types, and configuration that are used by multiple workers should be placed in the `workers-shared/` directory at the project root. This directory is intended for code that is not specific to a single worker but is reused across multiple workers to avoid duplication and promote consistency.

- `workers-shared/` — shared modules, types, and configuration for all workers
- Utilities and helpers
- Common type definitions
- Shared configuration files

## Documentation

Each worker must have a dedicated documentation file at:
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ services:
context: .
dockerfile: Dockerfile.temporal-worker-main
target: dev
environment:
- TEMPORAL_CLI_ADDRESS=temporal:${TEMPORAL_PORT:-7233}
- TEMPORAL_CLI_SHOW_STACKS=1
env_file:
- .env
depends_on:
temporal:
condition: service_healthy
Expand Down
36 changes: 0 additions & 36 deletions workers/common/utils.ts

This file was deleted.

5 changes: 5 additions & 0 deletions workers/main/.env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REDMINE_DB_HOST=localhost
REDMINE_DB_USER=testuser
REDMINE_DB_PASSWORD=testpassword
REDMINE_DB_NAME=testdb
DEBUG=
Loading
Loading