@camunda8/sdk 8.9.0-alpha.6 → 8.9.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENT.md CHANGED
@@ -1,54 +1,142 @@
1
1
  # Agent Information for Camunda 8 JavaScript SDK
2
2
 
3
- This file contains information for AI agents working on the Camunda 8 JavaScript SDK repository.
3
+ This file is the **canonical** instruction document for AI agents (Copilot, Claude, etc.) working on the Camunda 8 JavaScript SDK repository. It supersedes the previous `.github/copilot-instructions.md`.
4
+
5
+ See also:
6
+ - [CONTRIBUTING.md](CONTRIBUTING.md) — contributor onboarding, branch model, release summary
7
+ - [MAINTAINER.md](MAINTAINER.md) — operational guide (CI workflows, semantic-release, npm publishing)
8
+
9
+ ---
4
10
 
5
11
  ## Project Overview
6
12
 
7
- The Camunda 8 JavaScript SDK is the official TypeScript/Node.js SDK for Camunda Platform 8. It provides unified access to all Camunda 8 APIs including Zeebe, Operate, Optimize, Tasklist, Modeler, and Admin.
13
+ The Camunda 8 JavaScript SDK is the official TypeScript/Node.js client library for Camunda Platform 8. It provides unified access to all Camunda 8 APIs including Zeebe, Operate, Optimize, Tasklist, Modeler, and Admin. It targets Node.js (not browser) and ships TypeScript typings.
14
+
15
+ ### Key Features
16
+
17
+ - Full-featured clients for all Camunda 8 services
18
+ - Support for both SaaS and Self-Managed deployments
19
+ - OAuth authentication with token management
20
+ - Specialized handling for int64 values through the `LosslessDto` system
21
+ - Comprehensive testing suite for unit and integration tests
22
+
23
+ ---
24
+
25
+ ## Commit Conventions (read this before committing)
26
+
27
+ The repo enforces [Conventional Commits](https://www.conventionalcommits.org/) via `commitlint` (see [commitlint.config.js](commitlint.config.js)). The CI job `lint-commits` will block PRs that violate these rules.
28
+
29
+ ### Allowed commit types
30
+
31
+ Only these `type:` values are accepted (any other type — including `deps:` — will fail `lint-commits`):
32
+
33
+ | Type | When to use | Release impact |
34
+ | -------------- | ---------------------------------------------------------------- | -------------- |
35
+ | `feat` | New SDK feature | patch |
36
+ | `fix` | Bug fix | patch |
37
+ | `perf` | Performance improvement | patch |
38
+ | `revert` | Revert a previous commit | patch |
39
+ | `release` | Force a patch release with no other eligible commits | patch |
40
+ | `server` | Bump to a new Camunda **minor** line (e.g. 8.8 → 8.9) | minor |
41
+ | `server-major` | Bump to a new Camunda **major** line (e.g. 8.x → 9.0) | major |
42
+ | `chore` | Maintenance, dependency bumps (`chore(deps): ...`), tooling | none |
43
+ | `build` | Build system / packaging changes | none |
44
+ | `ci` | CI workflow / GitHub Actions changes | none |
45
+ | `docs` | Documentation only | none |
46
+ | `refactor` | Code refactor with no behavior change | none |
47
+ | `style` | Whitespace / formatting only | none |
48
+ | `test` | Test-only changes | none |
49
+
50
+ Note the **mutated semver**: `feat`/`fix` produce **patch** bumps, not minor/major. The SDK's version tracks the Camunda 8 server line, not its own API surface. See [MAINTAINER.md](MAINTAINER.md) for the full release pipeline.
51
+
52
+ ### Scopes
53
+
54
+ `commitlint` does not enforce a scope-enum, so any scope is accepted. Use scopes when they clarify the change (e.g. `chore(deps): ...`, `fix(zeebe): ...`, `ci(release): ...`).
55
+
56
+ ### Format constraints
57
+
58
+ - Body lines: max **500** characters per line (`body-max-line-length`).
59
+ - Footer lines: max **1000** characters per line (`footer-max-line-length`).
60
+ - Header (first line): conventional-commits default — keep concise.
61
+
62
+ ### Common pitfalls
63
+
64
+ - **`deps:` is not valid.** Use `chore(deps): ...` for dependency pinning / bumps. (Dependabot itself uses `chore(deps):`.)
65
+ - The pre-commit Husky hook runs `npm run test`, which can fail on local-only files (e.g. nested worktrees). The release workflow bypasses this with `HUSKY=0`. For agent commits that are otherwise validated, prefix with `HUSKY=0` rather than `--no-verify`.
66
+
67
+ ---
8
68
 
9
69
  ## Essential Commands
10
70
 
11
71
  ### Build & Compilation
72
+
12
73
  ```bash
13
- npm run build # Clean, compile TypeScript, and copy proto files
74
+ npm run build # Clean, compile TypeScript, copy proto files
14
75
  npm run clean # Remove dist folder and build artifacts
15
76
  npm run compile # Compile TypeScript to JavaScript
16
77
  ```
17
78
 
18
79
  ### Testing
80
+
81
+ The repo uses **vitest** (not jest, despite older docs).
82
+
19
83
  ```bash
20
- npm test # Run unit tests only
21
- npm run test:integration # Run integration tests (requires Docker)
22
- npm run test:local # Run local integration tests
23
- npm run test:smoketest # Build and run smoke tests
24
- npm run test:c8run # Run Camunda 8 specific tests
84
+ npm test # Run unit tests only (CAMUNDA_UNIT_TEST=true)
85
+ npm run test:smoketest # Build + smoke test + tsd typings check
86
+ npm run test:8.8:sm # 8.8 self-managed integration
87
+ npm run test:8.8:saas # 8.8 SaaS integration
88
+ npm run test:8.7:sm # 8.7 self-managed integration
89
+ npm run test:8.7:mt # 8.7 multi-tenancy integration
90
+ npm run test:8.7:saas # 8.7 SaaS integration
91
+ npm run test:c8run # C8Run integration
92
+ ```
93
+
94
+ Run a single test file:
95
+
96
+ ```bash
97
+ # Unit test — source unit env first
98
+ . env/unit-test.env && CAMUNDA_UNIT_TEST=true npx vitest run --testTimeout=30000 ${testFile}
99
+
100
+ # Integration test — source the appropriate env file
101
+ . env/8.8-alpha.env && npx vitest run --testTimeout=30000 ${testFile}
25
102
  ```
26
103
 
27
104
  ### Code Quality
105
+
28
106
  ```bash
29
- npm run lint # Run ESLint on TypeScript files
30
- npm run format # Format code with Prettier
107
+ npm run lint # ESLint on src/**/*.ts
108
+ npm run format # Prettier --write on src/**/*.ts
109
+
110
+ # Single file:
111
+ npx prettier --write 'src/${filename}'
112
+ npx eslint 'src/${filename}'
31
113
  ```
32
114
 
33
115
  ### Development Environment
116
+
34
117
  ```bash
35
- npm run sm:start # Start Docker Compose for Self-Managed Camunda 8
36
- npm run sm:stop # Stop Docker Compose services
37
- npm run sm:start8.8 # Start Camunda 8.8 specific environment
38
- npm run sm:stop8.8 # Stop Camunda 8.8 environment
118
+ npm run sm:start # Start Docker Compose (Self-Managed Camunda 8)
119
+ npm run sm:stop # Stop Docker Compose
120
+ npm run sm:start:8.8 # Start 8.8 stack
121
+ npm run sm:stop:8.8 # Stop 8.8 stack
122
+ npm run sm:start:8.9 # Start 8.9 stack
123
+ npm run sm:stop:8.9 # Stop 8.9 stack
39
124
  ```
40
125
 
41
126
  ### Documentation
127
+
42
128
  ```bash
43
- npm run docs # Generate TypeDoc documentation
44
- npm run docs:watch # Generate and watch docs for changes
129
+ npm run docs # Generate TypeDoc docs
130
+ npm run docs:watch # Generate + watch
45
131
  ```
46
132
 
133
+ ---
134
+
47
135
  ## Project Structure
48
136
 
49
137
  ```
50
138
  src/
51
- ├── index.ts # Main entry point
139
+ ├── index.ts # Main entry point and exports
52
140
  ├── lib/ # Common utilities and base classes
53
141
  ├── c8/ # Camunda 8 unified client and REST API
54
142
  │ ├── index.ts # Camunda8 main class
@@ -57,125 +145,353 @@ src/
57
145
  │ └── CamundaRestClient.ts # REST API client implementation
58
146
  ├── zeebe/ # Zeebe gRPC and REST clients
59
147
  ├── operate/ # Operate API client
60
- ├── optimize/ # Optimize API client
148
+ ├── optimize/ # Optimize API client
61
149
  ├── tasklist/ # Tasklist API client
62
150
  ├── modeler/ # Web Modeler API client
63
151
  ├── admin/ # Admin API client
64
152
  ├── oauth/ # OAuth authentication providers
65
- └── __tests__/ # Test files organized by component
153
+ └── __tests__/ # Test files organized by component and version
66
154
  ```
67
155
 
156
+ ### Important Files
157
+
158
+ - `src/c8/lib/C8Dto.ts` — Main DTO definitions for REST API
159
+ - `src/c8/lib/CamundaRestClient.ts` — Unified REST API client
160
+ - `src/lib/Configuration.ts` — Configuration management
161
+ - `src/lib/LosslessDto.ts` — Base class for DTOs with int64 support
162
+ - `package.json` — Scripts and dependencies
163
+ - `tsconfig.json` — TypeScript configuration
164
+ - `commitlint.config.js` — Allowed commit types
165
+ - `release.config.js` — semantic-release branch + dist-tag rules
166
+
167
+ ---
168
+
68
169
  ## Key Architecture Patterns
69
170
 
70
- ### Client Pattern
71
- - Each API has its own client class (e.g., `OperateApiClient`, `TasklistApiClient`)
72
- - All clients are instantiated through the main `Camunda8` factory class
73
- - Clients support both SaaS and Self-Managed configurations
171
+ ### 1. Client Factory Pattern
74
172
 
75
- ### DTO Pattern
76
- - Data Transfer Objects (DTOs) extend `LosslessDto` for int64 handling
77
- - Use decorators like `@Int64String` for precise number handling
78
- - Search request DTOs extend `BaseSearchRequest<TSortFields, TFilter>` or `BaseSearchRequestWithOptionalFilter<TSortFields, TFilter>`
79
- - Response DTOs use `PaginatedCamundaRestSearchResponse<T>` pattern for consistent pagination
173
+ - The main `Camunda8` class is the factory for all service clients.
174
+ - Configuration is centralized in the factory and passed to individual clients.
175
+ - Clients are created via methods like `getCamundaRestClient()`, `getZeebeGrpcApiClient()`, `getOperateClient()`, `getTasklistClient()`, etc.
176
+ - Clients support both SaaS and Self-Managed configurations.
80
177
 
81
- ### Authentication
82
- - OAuth2/OIDC support for SaaS
83
- - Basic auth and custom auth providers for Self-Managed
84
- - Token caching and automatic refresh
178
+ ### 2. DTO Pattern
85
179
 
86
- ### Pagination
87
- - **CamundaRestClient**: Uses `startCursor`/`endCursor` (string values)
88
- - **Other APIs**: Use `firstSortValues`/`lastSortValues` or `sortValues` (arrays)
180
+ - DTOs live in `*Dto.ts` files.
181
+ - Most DTOs extend `LosslessDto` for int64 handling.
182
+ - Use decorators like `@Int64String` for int64 fields.
183
+ - Always follow existing patterns when adding new DTOs.
184
+
185
+ ```typescript
186
+ export class SomeEntityDto extends LosslessDto {
187
+ @Int64String
188
+ entityKey!: string
189
+ name!: string
190
+ // Other fields...
191
+ }
192
+ ```
193
+
194
+ ### 3. Pagination
195
+
196
+ - **`CamundaRestClient`**: cursor-based — `startCursor` / `endCursor` (string values).
197
+ - **Other APIs (Operate, Tasklist, …)**: `firstSortValues` / `lastSortValues` or `sortValues` (arrays).
198
+
199
+ ### 4. Authentication
200
+
201
+ The SDK supports five authentication strategies (set via `CAMUNDA_AUTH_STRATEGY` or programmatically):
202
+
203
+ | Strategy | Use case |
204
+ | -------- | ------------------------------------------------- |
205
+ | `OAUTH` | Default for Camunda SaaS and Self-Managed |
206
+ | `BASIC` | Nginx reverse-proxy with basic auth |
207
+ | `COOKIE` | C8Run 8.7 |
208
+ | `BEARER` | Custom token management |
209
+ | `NONE` | Development or mTLS |
210
+
211
+ - Clients accept `IHeadersProvider` for custom auth.
212
+ - Use `constructOAuthProvider()` for standard OAuth flows.
213
+ - Token caching and automatic refresh are built in.
214
+
215
+ ### 5. Code formatting and linting
216
+
217
+ - Prettier formats code; ESLint lints it.
218
+ - Configs: `prettier.config.js`, `.eslintrc.json`.
219
+ - The Husky pre-commit hook runs `lint-staged` (Prettier on staged TS files) plus `npm run test`.
220
+
221
+ ---
222
+
223
+ ## REST API Endpoint Pattern
224
+
225
+ When implementing a new REST API endpoint:
226
+
227
+ 1. Review the REST API documentation to understand the endpoint.
228
+ 2. Create request/response DTOs in the appropriate `*Dto.ts` file.
229
+ 3. Add appropriate decorators like `@Int64String` for int64 fields.
230
+ 4. Add the method to the relevant client class.
231
+ 5. Use the `callApiEndpoint` pattern.
232
+ 6. Document parameters with JSDoc.
233
+ 7. Include proper error handling.
234
+ 8. Write comprehensive unit and integration tests.
235
+
236
+ ```typescript
237
+ /**
238
+ * Gets a specific decision instance by ID
239
+ * @param decisionInstanceId The ID of the decision instance to retrieve
240
+ * @returns A GetDecisionInstanceResponse object with the decision instance details
241
+ */
242
+ async getDecisionInstance(
243
+ decisionInstanceId: string
244
+ ): Promise<GetDecisionInstanceResponse> {
245
+ return this.callApiEndpoint({
246
+ method: 'get',
247
+ path: `decision-instances/${decisionInstanceId}`,
248
+ responseType: GetDecisionInstanceResponse,
249
+ })
250
+ }
251
+ ```
252
+
253
+ ### Full example: GET endpoint
254
+
255
+ ```typescript
256
+ // In C8Dto.ts
257
+ export class GetEntityRequest extends LosslessDto {
258
+ @Int64String
259
+ entityId!: string
260
+ }
261
+
262
+ export class EntityDetails extends LosslessDto {
263
+ @Int64String
264
+ entityKey!: string
265
+ name!: string
266
+ creationTime!: string
267
+ state!: string
268
+ }
269
+
270
+ // In CamundaRestClient.ts
271
+ /**
272
+ * Gets an entity by ID
273
+ * @param entityId The ID of the entity to retrieve
274
+ * @returns An EntityDetails object with entity information
275
+ */
276
+ async getEntity(entityId: string): Promise<EntityDetails> {
277
+ return this.callApiEndpoint<UnknownRequestBody, EntityDetails>({
278
+ method: 'get',
279
+ path: `entities/${entityId}`,
280
+ })
281
+ }
282
+ ```
283
+
284
+ ### Search endpoints
285
+
286
+ For implementing search endpoints:
287
+
288
+ 1. Define the filter interface (e.g. `SomeEntitySearchFilter`).
289
+ 2. Extend `BaseSearchRequest<TSortFields, TFilter>` or `BaseSearchRequestWithOptionalFilter<TSortFields, TFilter>`.
290
+ 3. Define a response interface extending `PaginatedCamundaRestSearchResponse<EntityDetails>`.
291
+ 4. Use cursor-based pagination with `startCursor` / `endCursor` for REST API endpoints.
292
+
293
+ ```typescript
294
+ // In C8Dto.ts
295
+ export interface EntitySearchFilter {
296
+ state?: string
297
+ name?: string
298
+ }
299
+
300
+ export type EntitySortFields = 'creationTime' | 'name'
301
+
302
+ export class SearchEntitiesRequest extends BaseSearchRequest<
303
+ EntitySortFields,
304
+ EntitySearchFilter
305
+ > {}
306
+
307
+ export class CamundaRestSearchEntitiesResponse extends PaginatedCamundaRestSearchResponse<EntityDetails> {}
308
+
309
+ // In CamundaRestClient.ts
310
+ /**
311
+ * Search for entities
312
+ * @param request The search request with filters and sorting options
313
+ * @returns A paginated response with entity details
314
+ */
315
+ async searchEntities(
316
+ request: SearchEntitiesRequest
317
+ ): Promise<CamundaRestSearchEntitiesResponse> {
318
+ return this.callApiEndpoint<SearchEntitiesRequest, CamundaRestSearchEntitiesResponse>({
319
+ method: 'post',
320
+ path: 'entities/search',
321
+ body: request,
322
+ })
323
+ }
324
+ ```
325
+
326
+ ### Handling int64 Values
327
+
328
+ - Always use the `@Int64String` decorator for int64 fields in DTOs.
329
+ - Extend `LosslessDto` for request and response DTOs.
330
+ - Follow existing patterns for handling large numbers.
331
+
332
+ ---
89
333
 
90
334
  ## Testing Patterns
91
335
 
92
336
  ### Test Organization
93
- - Unit tests: `*.unit.spec.ts` - Mock external dependencies
94
- - Integration tests: `*.integration.spec.ts` - Test against real services
95
- - Local integration: `*local-integration.spec.ts` - Test local Docker setup
337
+
338
+ - Unit tests: `*.unit.spec.ts` mock external dependencies.
339
+ - Integration tests: `*.integration.spec.ts` (and `*.rest.spec.ts`) test against real services.
340
+ - Local integration: `*local-integration.spec.ts` — local Docker setup.
341
+ - Tests are organized by component and version under `src/__tests__/`.
96
342
 
97
343
  ### Test Environment Variables
98
- - `CAMUNDA_UNIT_TEST=true` - Forces unit test mode
99
- - Various `ZEEBE_*`, `OPERATE_*` environment variables for service configuration
100
- - Integration tests use environment files from `env/` directory (e.g., `env/8.8-alpha.env`)
101
344
 
102
- ### Test Utilities
103
- - Use `jest` as the test framework
104
- - Tests are organized by component in `src/__tests__/`
105
- - Integration tests require either Docker services or sourced environment variables
106
- - **Running Integration Tests**: `source env/8.8-alpha.env && npx jest path/to/test.rest.spec.ts`
107
- - **Running Unit Tests**: `npm test -- --testPathPattern="testname.unit"`
345
+ - `CAMUNDA_UNIT_TEST=true` — forces unit-test mode.
346
+ - `TEST_DEPLOYMENT`, `TEST_VERSION`, `TEST_TENANCY`, `TEST_SECURITY` gate which integration suites run.
347
+ - Various `ZEEBE_*`, `CAMUNDA_*` environment variables for service configuration.
348
+ - Integration tests source environment files from `env/` (e.g. `env/8.8-alpha.env`, `env/unit-test.env`).
349
+
350
+ ### Test Implementation Guidelines
351
+
352
+ **Unit tests:**
353
+ - Mock external dependencies and API calls.
354
+ - Test error handling paths.
355
+ - Validate proper parameter passing.
356
+ - Run a single unit test file:
357
+ ```bash
358
+ . env/unit-test.env && CAMUNDA_UNIT_TEST=true npx vitest run --testTimeout=30000 ${testFile}
359
+ ```
360
+
361
+ **Integration tests:**
362
+ - Deploy required resources (BPMN, DMN) before testing.
363
+ - Clean up resources after tests.
364
+ - Source environment variables from `env/`.
365
+ - Handle async operations with proper timeouts.
366
+ - Validate response DTOs with assertions.
367
+ - Run a single integration test file:
368
+ ```bash
369
+ . env/8.8-alpha.env && npx vitest run --testTimeout=30000 ${testFile}
370
+ ```
371
+
372
+ **BPMN / DMN test resources:**
373
+ - Place test models in `src/__tests__/<version>/resources/` (e.g. `src/__tests__/8.8/resources/`).
374
+ - For DMN decision tables, use the **`FIRST`** hit policy (not `UNIQUE`).
375
+ - Validate that resources are deployed before exercising them.
376
+
377
+ ### Example test structure
378
+
379
+ ```typescript
380
+ describe('SomeClient.someMethod', () => {
381
+ let client: SomeClient
382
+
383
+ beforeAll(async () => {
384
+ // Setup resources and client
385
+ })
386
+
387
+ it('should correctly handle the happy path', async () => {
388
+ // Test implementation
389
+ // Assert expected behavior
390
+ })
391
+
392
+ it('should handle error conditions', async () => {
393
+ // Test error paths
394
+ // Assert error handling
395
+ })
396
+ })
397
+ ```
398
+
399
+ ---
108
400
 
109
401
  ## Common Development Tasks
110
402
 
111
- ### Adding New Search Endpoints
112
- 1. Define filter interface (e.g., `ProcessInstanceSearchFilter`)
113
- 2. Extend `BaseSearchRequest<TSortFields, TFilter>` or `BaseSearchRequestWithOptionalFilter<TSortFields, TFilter>`
114
- 3. Define details interface for response items (e.g., `DecisionInstanceDetails`)
115
- 4. Create `CamundaRest*Response` interface extending `PaginatedCamundaRestSearchResponse<DetailsType>`
116
- 5. Add method to `CamundaRestClient` using `callApiEndpoint` pattern
117
- 6. Write comprehensive unit tests with mocked `callApiEndpoint`
118
- 7. Write integration tests that source environment variables from `env/` directory
119
-
120
- ### Adding New API Clients
121
- 1. Create client class in appropriate directory (e.g., `src/newservice/`)
122
- 2. Define DTOs in `*Dto.ts` file
123
- 3. Add client factory method to main `Camunda8` class
124
- 4. Export client from main `index.ts`
125
-
126
- ### Handling Authentication
127
- - Clients accept `IHeadersProvider` for custom auth
128
- - Use `constructOAuthProvider()` for standard OAuth flows
129
- - Set appropriate environment variables for configuration
130
-
131
- ## Important Files
132
-
133
- - `src/c8/lib/C8Dto.ts` - Main DTO definitions for REST API
134
- - `src/c8/lib/CamundaRestClient.ts` - Unified REST API client
135
- - `src/lib/Configuration.ts` - Configuration management
136
- - `src/lib/LosslessDto.ts` - Base class for DTOs with int64 support
137
- - `package.json` - Scripts and dependencies
138
- - `tsconfig.json` - TypeScript configuration
403
+ ### Adding a New REST API Endpoint
404
+
405
+ See [REST API Endpoint Pattern](#rest-api-endpoint-pattern) above. Summary:
406
+
407
+ 1. Review the REST API spec.
408
+ 2. Create request/response DTOs in `*Dto.ts` (with `@Int64String` decorators where needed).
409
+ 3. Add the client method using `callApiEndpoint`.
410
+ 4. Write unit + integration tests.
411
+
412
+ ### Adding a New Search Endpoint
413
+
414
+ See [Search endpoints](#search-endpoints) above. Summary:
415
+
416
+ 1. Define filter interface.
417
+ 2. Extend `BaseSearchRequest<TSortFields, TFilter>` or `BaseSearchRequestWithOptionalFilter<TSortFields, TFilter>`.
418
+ 3. Define details interface for response items.
419
+ 4. Define response interface extending `PaginatedCamundaRestSearchResponse<DetailsType>`.
420
+ 5. Add method to `CamundaRestClient` using `callApiEndpoint`.
421
+ 6. Write unit tests with mocked `callApiEndpoint`.
422
+ 7. Write integration tests sourcing env files.
423
+
424
+ ### Adding a New API Client
425
+
426
+ 1. Create the client class in an appropriate directory (e.g. `src/newservice/`).
427
+ 2. Define DTOs in a `*Dto.ts` file.
428
+ 3. Add a client factory method to the `Camunda8` class.
429
+ 4. Export the client from `src/index.ts`.
430
+
431
+ ---
432
+
433
+ ## Coding Guidelines
434
+
435
+ 1. Use TypeScript strict mode.
436
+ 2. Add detailed JSDoc comments to public methods.
437
+ 3. Follow existing naming conventions.
438
+ 4. Write comprehensive tests for all new functionality.
439
+ 5. Include both unit and integration tests.
440
+ 6. Maintain backward compatibility.
441
+ 7. Use meaningful variable and function names.
442
+ 8. Follow the existing error handling patterns.
443
+ 9. Use `LosslessDto` base class for API responses.
444
+ 10. Prefer composition over inheritance for client features.
445
+
446
+ ## Documentation Guidelines
447
+
448
+ - Include JSDoc comments for all public methods and classes.
449
+ - Document parameters, return types, and thrown exceptions.
450
+ - Include examples for complex functionality.
451
+ - Keep documentation up-to-date with code changes.
452
+
453
+ ---
139
454
 
140
455
  ## Common Issues & Solutions
141
456
 
142
457
  ### Build Issues
143
- - Run `npm run clean` before building if encountering cache issues
144
- - Ensure all imports use correct relative paths
145
- - Check for TypeScript errors with `npm run compile`
458
+ - Run `npm run clean` before building if encountering cache issues.
459
+ - Ensure all imports use correct relative paths.
460
+ - Check for TypeScript errors with `npm run compile`.
146
461
 
147
- ### Test Issues
148
- - Integration tests require Docker services: `npm run sm:start`
149
- - Use `npm run test` for unit tests only
150
- - Check test environment variables are set correctly
462
+ ### Test Issues
463
+ - Integration tests require Docker services: `npm run sm:start` (or one of the version-specific variants).
464
+ - Use `npm run test` for unit tests only.
465
+ - Verify test environment variables are set (source the right file from `env/`).
151
466
 
152
467
  ### Authentication Issues
153
- - Verify OAuth configuration for SaaS
154
- - Check basic auth credentials for Self-Managed
155
- - Ensure certificates are properly configured for custom CA
468
+ - Verify OAuth configuration for SaaS.
469
+ - Check basic-auth credentials for Self-Managed.
470
+ - Ensure certificates are properly configured for custom CA.
156
471
 
157
- ## Code Style Guidelines
472
+ ### Commit Rejected by `lint-commits`
473
+ - Confirm the type is in the [allowed commit types](#allowed-commit-types) table. `deps:` is the most common mistake — use `chore(deps):` instead.
158
474
 
159
- - Use TypeScript strict mode
160
- - Follow existing patterns for DTO definitions
161
- - Use `LosslessDto` base class for API responses
162
- - Prefer composition over inheritance for client features
163
- - Write comprehensive JSDoc comments for public APIs
475
+ ---
476
+
477
+ ## Dependencies
478
+
479
+ Key dependencies to be aware of:
480
+
481
+ - `@camunda8/orchestration-cluster-api` — generated REST client (pinned to 8.x; see [MAINTAINER.md](MAINTAINER.md))
482
+ - `@grpc/grpc-js` — gRPC client
483
+ - `lossless-json` — JSON parsing with int64 support
484
+ - `form-data` — Multipart form handling
485
+ - `vitest` — test framework
486
+ - `got` — HTTP client (legacy paths)
487
+
488
+ ---
164
489
 
165
490
  ## Recent Additions
166
491
 
167
492
  ### Search Decision Instances API
168
- - `searchDecisionInstances()` method in `CamundaRestClient`
493
+ - `searchDecisionInstances()` method on `CamundaRestClient`
169
494
  - `DecisionInstanceSearchFilter` and `SearchDecisionInstancesRequest` DTOs
170
495
  - `CamundaRestSearchDecisionInstancesResponse` with cursor-based pagination
171
496
  - Comprehensive unit and integration tests
172
497
  - Follows established patterns for search endpoints
173
-
174
- ## Dependencies
175
-
176
- Key dependencies to be aware of:
177
- - `got` - HTTP client library
178
- - `@grpc/grpc-js` - gRPC client
179
- - `lossless-json` - JSON parsing with int64 support
180
- - `form-data` - Multipart form handling
181
- - `jest` - Testing framework
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [8.9.0-alpha.7](https://github.com/camunda/camunda-8-js-sdk/compare/v8.9.0-alpha.6...v8.9.0-alpha.7) (2026-05-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * issue 784 ([4caab63](https://github.com/camunda/camunda-8-js-sdk/commit/4caab63c5964093e0d4987cf1789d1faa3522e4c))
7
+
1
8
  # [8.9.0-alpha.6](https://github.com/camunda/camunda-8-js-sdk/compare/v8.9.0-alpha.5...v8.9.0-alpha.6) (2026-04-22)
2
9
 
3
10
 
package/MAINTAINER.md ADDED
@@ -0,0 +1,205 @@
1
+ <h1 align="center">Maintainer Guide – Camunda 8 JavaScript SDK</h1>
2
+
3
+ Operational documentation for maintainers of `@camunda8/sdk`. End-user documentation lives in [README.md](README.md); contributor onboarding (forking, commit conventions, running tests locally) lives in [CONTRIBUTING.md](CONTRIBUTING.md).
4
+
5
+ This document focuses on **how CI works**, **how releases happen**, and **how to operate the branch model**.
6
+
7
+ ---
8
+
9
+ ## 1. Branch Model
10
+
11
+ | Branch | Type | npm dist-tag | Trigger |
12
+ | ----------------------------------- | ------------------- | ------------------------ | -------------------- |
13
+ | `main` | alpha pre-releases | `alpha` | merge to `main` |
14
+ | `stable/<major>.<minor>` (current) | stable releases | `latest` | merge to that branch |
15
+ | `stable/<major>.<minor>` (older) | maintenance | `<major>.<minor>-stable` | merge to that branch |
16
+
17
+ The "current" stable line is selected at release time by the GitHub repo variable `CAMUNDA_SDK_CURRENT_STABLE_MINOR` (e.g. `8.8`). The branch matching that value publishes to `latest`; every other `stable/*` branch publishes to its own maintenance dist-tag.
18
+
19
+ At time of writing, `stable/8.8` is the current stable line (publishes to `latest`) and `main` carries `8.9.0-alpha.*` (publishes to `alpha`).
20
+
21
+ The branch resolution logic lives in [release.config.js](release.config.js) (`stableMinorFromBranch`, `envCurrentStableMinor`, `dedupeBranches`). The logic mirrors `orchestration-cluster-api-js` so the two SDKs stay aligned.
22
+
23
+ ### Promoting a new stable line
24
+
25
+ When a new Camunda minor (e.g. `8.9`) is ready to be promoted to `latest`:
26
+
27
+ 1. Cut the branch from `main`:
28
+ ```bash
29
+ git checkout main
30
+ git checkout -b stable/8.9
31
+ git push -u origin stable/8.9
32
+ ```
33
+ 2. Update the GitHub **repository variable** (Settings → Secrets and variables → Actions → Variables) `CAMUNDA_SDK_CURRENT_STABLE_MINOR` from `8.8` to `8.9`.
34
+ 3. The next merge to `stable/8.9` will publish to npm dist-tag `latest`. The previous current line (`stable/8.8`) automatically falls back to maintenance dist-tag `8.8-stable` on its next release.
35
+ 4. Update [.github/workflows/integration-test-matrix-trigger.yaml](.github/workflows/integration-test-matrix-trigger.yaml) to add a daily compatibility-test trigger for the new branch (uncomment / duplicate the `trigger-stable-8-9` block).
36
+ 5. Update [.github/dependabot.yml](.github/dependabot.yml) `target-branch` entries if the previous stable line should be replaced as a dependabot target.
37
+
38
+ No git tag manipulation is required — semantic-release reads existing tags and computes the next version per branch independently.
39
+
40
+ ---
41
+
42
+ ## 2. CI Workflows
43
+
44
+ All workflows live under [.github/workflows/](.github/workflows/).
45
+
46
+ | Workflow | Trigger | Purpose |
47
+ | ----------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
48
+ | `ci.yml` | push to feature branches, all PRs | Fast feedback for contributors. Unit tests + 8.8 SM integration. Heavier 8.7 jobs are PR-only and gated by environment. |
49
+ | `release.yml` | push to `main` or `stable/**`, manual dispatch | Full integration suite **plus** semantic-release publish step. |
50
+ | `commitlint.yml` | PR | Enforces conventional commits. |
51
+ | `code-scanning.yml` | scheduled / push | CodeQL. |
52
+ | `backport.yml` | PR closed, `/backport` comment | Creates backport PRs (e.g. `main` → `stable/8.8`) via `korthout/backport-action`. |
53
+ | `integration-test-matrix.yml` | scheduled (02:00 UTC), manual dispatch | Cross-version client × server compatibility matrix. Runs **on a stable branch** and tests every released SDK version against every server version ≥ current minor. |
54
+ | `integration-test-matrix-trigger.yaml` | scheduled (02:00 UTC) | Fans out the matrix run to each active stable branch (uses `gh workflow run --ref stable/<x.y>`). |
55
+
56
+ ### CI vs. Release: why feature branches and `main`/`stable/**` are separated
57
+
58
+ `ci.yml` listens on `push` for everything **except** `main` and `stable/**`, plus all `pull_request` events. `release.yml` listens on `push` to `main` and `stable/**`. This avoids running the same jobs twice on the same SHA when a PR is merged.
59
+
60
+ The release workflow re-runs the same gating jobs as `ci.yml`, then layers on:
61
+
62
+ - `local_integration` (8.7 SM, requires `selfhosted` env + `DOCKER_PASSWORD`)
63
+ - `local_multitenancy_integration` (8.7 SM-MT, same)
64
+ - `saas_integration` (8.7 SaaS, requires `integration` env)
65
+ - `saas_integration_8_8` (8.8 SaaS, requires `integration-8.8` env)
66
+
67
+ All of those are **required** before the `tag-and-publish` job runs. There is no path that publishes to npm without the full integration suite passing.
68
+
69
+ ### SaaS concurrency
70
+
71
+ SaaS test clusters are shared across branches. To prevent a `main` release and a `stable/8.8` release from interleaving requests against the same cluster, each SaaS job declares a `concurrency` group keyed to its cluster (`saas-integration-8.7`, `saas-integration-8.8`) with `cancel-in-progress: false`. Concurrent triggers queue rather than abort.
72
+
73
+ ---
74
+
75
+ ## 3. Release Pipeline
76
+
77
+ Releases are produced by [semantic-release](https://github.com/semantic-release/semantic-release) inside the `tag-and-publish` job at the end of [release.yml](.github/workflows/release.yml). The job runs in the GitHub `publish` environment (any environment-level approval gates apply here).
78
+
79
+ ### What semantic-release does
80
+
81
+ 1. Reads commits since the last release tag on the current branch.
82
+ 2. Computes the next version from commit types (see [release.config.js](release.config.js) `releaseRules`).
83
+ 3. Updates `package.json`, generates `CHANGELOG.md`, commits with `chore(release): <version> [skip ci]`, tags `v<version>`.
84
+ 4. Publishes to npm with the dist-tag derived from the branch.
85
+ 5. Creates a GitHub Release with auto-generated notes.
86
+ 6. Posts a "Released in `<tag>`" comment on PRs included in the release.
87
+
88
+ ### Commit type → version bump
89
+
90
+ | Commit type | Bump | Notes |
91
+ | --------------- | ----- | ------------------------------------------------------ |
92
+ | `feat` | patch | Mutated semver: features within a minor cycle = patch |
93
+ | `fix` | patch | |
94
+ | `perf` | patch | |
95
+ | `revert` | patch | |
96
+ | `release` | patch | |
97
+ | `BREAKING CHANGE` footer | patch | Also a patch — bumps are tied to the Camunda server line, not breaking changes in the SDK itself |
98
+ | `server` | minor | Use when bumping to a new Camunda 8 minor (e.g. 8.8 → 8.9) |
99
+ | `server-major` | major | Use when bumping to a new Camunda 8 major |
100
+ | anything else (`chore`, `docs`, `test`, `ci`, `build`, `refactor`, `style`) | none | No release |
101
+
102
+ This mutated semver is intentional: the SDK's version tracks the Camunda 8 server minor line, not its own API surface. To force a release of accumulated `chore`-only work, push a commit (or empty commit) with type `release`.
103
+
104
+ ### npm authentication: Trusted Publishing (OIDC)
105
+
106
+ Publishing uses npm **Trusted Publishing** via GitHub Actions OIDC. Consequences:
107
+
108
+ - The workflow requests `id-token: write` and **does not** read `NPM_TOKEN`. The `NODE_AUTH_TOKEN=""` in front of the `npx semantic-release` invocation is deliberate — it ensures any stale token in the environment is ignored.
109
+ - `NPM_CONFIG_PROVENANCE: true` is set, so published tarballs include npm provenance attestations.
110
+ - For publishing to succeed, `@camunda8/sdk` must be configured on npmjs.com to **trust this repository and the `release.yml` workflow**.
111
+ - If publishing fails with auth errors (`ENEEDAUTH`, `E401`), check the npm Trusted Publishing configuration **before** introducing an `NPM_TOKEN` secret. Adding a token undermines the OIDC posture and should be a last resort.
112
+
113
+ ### Stable line dist-tag derivation at publish time
114
+
115
+ The `Export stable line config` step in `tag-and-publish` writes `CAMUNDA_SDK_CURRENT_STABLE_MINOR` from the repo variable into the job env. `release.config.js` then dynamically constructs the `branches` array based on the current branch (`GITHUB_REF_NAME`) and that env var. Effects:
116
+
117
+ - On `main`: only the `main` (alpha) branch entry is active.
118
+ - On `stable/<current>`: both `main` and `stable/<current>` (channel: `latest`) are present.
119
+ - On `stable/<other>`: a maintenance entry is appended for that branch (channel: `<x.y>-stable`).
120
+
121
+ A consequence: if you push to a `stable/*` branch **without** `CAMUNDA_SDK_CURRENT_STABLE_MINOR` being set correctly, semantic-release may either refuse to publish or publish to the wrong dist-tag. Always verify the repo variable before promoting a new stable line.
122
+
123
+ ### Documentation deployment
124
+
125
+ After a successful release on `main`, the same job builds TypeDoc output (`npm run docs`) and deploys it to the `gh-pages` branch via `JamesIves/github-pages-deploy-action`. Releases on `stable/**` do not redeploy docs.
126
+
127
+ ---
128
+
129
+ ## 4. Compatibility Matrix
130
+
131
+ [integration-test-matrix.yml](.github/workflows/integration-test-matrix.yml) runs nightly on each active stable branch (driven by `integration-test-matrix-trigger.yaml`). It:
132
+
133
+ 1. Derives the current minor from the **latest stable git tag** on the branch (intentionally not from `package.json`, which may already be at a pre-release version).
134
+ 2. Enumerates SDK client versions ≥ that minor from local git tags.
135
+ 3. Enumerates Camunda server versions ≥ that minor from `camunda/camunda` git tags via `git ls-remote` (no clone).
136
+ 4. Runs the full client × server matrix, with caching to avoid retesting known-good combinations.
137
+
138
+ Manual dispatch supports pinning a `client_version`, a `server_version`, and `skip_cache` to force a full re-run.
139
+
140
+ When promoting a new stable line, **add a trigger entry** in `integration-test-matrix-trigger.yaml` so the new branch is exercised nightly. Failure to do so means the new line silently loses compatibility coverage.
141
+
142
+ ---
143
+
144
+ ## 5. Hotfix / Maintenance Workflow
145
+
146
+ To ship a fix to a stable line:
147
+
148
+ 1. Land the fix on `main` via a normal PR (so `alpha` users get it immediately).
149
+ 2. Add the appropriate `backport-stable/<x.y>` label on the merged PR (or comment `/backport stable/<x.y>`). [backport.yml](.github/workflows/backport.yml) creates the backport PR automatically; conflicts are committed as draft commits per the `experimental.conflict_resolution` setting.
150
+ 3. Merge the backport PR to `stable/<x.y>`. The Release workflow then runs the full integration suite and publishes to npm.
151
+
152
+ Always land on `main` first unless the fix is genuinely stable-only (e.g. it touches code that no longer exists on `main`). Stable-only fixes should be opened directly against the `stable/<x.y>` branch.
153
+
154
+ ---
155
+
156
+ ## 6. Required Secrets and Environments
157
+
158
+ | Name | Scope | Used by |
159
+ | -------------------------------------------- | ------------------------------ | ---------------------------------------------- |
160
+ | `DOCKER_PASSWORD` | env: `selfhosted` | 8.7 self-managed integration jobs (login to `registry.camunda.cloud`) |
161
+ | `ZEEBE_*`, `CAMUNDA_*`, `CAMUNDA_CONSOLE_*` | env: `integration` | 8.7 SaaS integration |
162
+ | `ZEEBE_*`, `CAMUNDA_*`, `CAMUNDA_CONSOLE_*` | env: `integration-8.8` | 8.8 SaaS integration |
163
+ | (none — OIDC) | env: `publish` | npm publish via Trusted Publishing |
164
+ | `BACKPORT_ACTION_PAT` | repo | `backport.yml` (PAT with write access for cross-branch pushes) |
165
+ | `CAMUNDA_SDK_CURRENT_STABLE_MINOR` (variable, not secret) | repo | `release.yml` → `release.config.js` |
166
+
167
+ Fork PRs cannot read environment secrets, so the heavier jobs (`local_integration`, `local_multitenancy_integration`, both SaaS jobs) skip on fork PRs by virtue of the environment lookup failing or, in `ci.yml`, by an explicit `if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'` guard plus the environment scoping. Fork contributors get unit tests + the public 8.8 docker stack.
168
+
169
+ ---
170
+
171
+ ## 7. Common Operational Tasks
172
+
173
+ ### Force a release with no eligible commits
174
+
175
+ Push an empty commit with type `release`:
176
+
177
+ ```bash
178
+ git commit --allow-empty -m "release: ship pending chore work"
179
+ git push
180
+ ```
181
+
182
+ ### Re-run a failed release
183
+
184
+ Re-run the `tag-and-publish` job from the Actions UI. semantic-release is idempotent: it will skip publishing if the version was already published, or resume from the next pending version.
185
+
186
+ ### Diagnose "wrong dist-tag" issues
187
+
188
+ 1. Check `CAMUNDA_SDK_CURRENT_STABLE_MINOR` in repo variables.
189
+ 2. Inspect the workflow log for the line `Export stable line config` to confirm the value reached the job.
190
+ 3. Confirm the branch you pushed to matches the configured current stable minor (or is `main`, or is an older stable line).
191
+
192
+ ### Diagnose "publish failed: no auth"
193
+
194
+ Do **not** add an `NPM_TOKEN` secret. Verify on npmjs.com that `@camunda8/sdk` lists this repo + `release.yml` as a Trusted Publisher.
195
+
196
+ ---
197
+
198
+ ## 8. Cross-references
199
+
200
+ - [CONTRIBUTING.md](CONTRIBUTING.md) — contributor-facing version of the branching/release summary
201
+ - [release.config.js](release.config.js) — semantic-release configuration (branches, dist-tags, releaseRules)
202
+ - [.github/workflows/release.yml](.github/workflows/release.yml) — full release pipeline
203
+ - [.github/workflows/ci.yml](.github/workflows/ci.yml) — PR / feature-branch CI
204
+ - [.github/workflows/integration-test-matrix.yml](.github/workflows/integration-test-matrix.yml) — nightly compatibility matrix
205
+ - [.github/workflows/backport.yml](.github/workflows/backport.yml) — automated backports
@@ -429,6 +429,9 @@ You should call only one job action method in the worker handler. This is a bug
429
429
  this.pollMutex = false;
430
430
  }, backoffDuration);
431
431
  }
432
+ else {
433
+ this.pollMutex = false;
434
+ }
432
435
  }
433
436
  else {
434
437
  this.pollMutex = false;
@@ -1 +1 @@
1
- {"version":3,"file":"ZBWorkerBase.js","sourceRoot":"","sources":["../../../src/zeebe/lib/ZBWorkerBase.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,6CAAwC;AAGxC,kDAAoC;AACpC,kDAAqB;AACrB,mD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IAAI,CAAC,SAAS,EAAE,CAAA;YACjB,CAAC;QACF,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACzB,OAAO;gBACN,KAAK,EAAE,KAAc;aACrB,CAAA;QACF,CAAC;QAED,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAClB,KAAK,CAAC,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;YACnC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,KAAc,EAAE,CAAA;QACxC,CAAC;QAED,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAA;QACzC,OAAO,EAAE,MAAM,EAAE,CAAA;IAClB,CAAC;;AA5kBF,oCAinBC;AAzmBwB,2CAA8B,GACrD,yBAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,AAD8B,CAC9B;AACA,oCAAuB,GAAG,EAAE,AAAL,CAAK"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda8/sdk",
3
- "version": "8.9.0-alpha.6",
3
+ "version": "8.9.0-alpha.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -127,7 +127,7 @@
127
127
  "win-ca": "3.5.1"
128
128
  },
129
129
  "dependencies": {
130
- "@camunda8/orchestration-cluster-api": "^8.8.4",
130
+ "@camunda8/orchestration-cluster-api": ">=8.8.4 <9.0.0",
131
131
  "@grpc/grpc-js": "^1.14.3",
132
132
  "@grpc/proto-loader": "^0.8.0",
133
133
  "@types/form-data": "^2.2.1",