You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
+
5
+
## Project Overview
6
+
7
+
RoadRunner Temporal Plugin - enables workflow and activity processing for PHP processes using Temporal. The plugin acts as a bridge between RoadRunner (Go) and Temporal SDK for PHP, handling communication via protobuf codec over goridge protocol.
8
+
9
+
## Build & Test Commands
10
+
11
+
### Go Tests
12
+
```bash
13
+
# Run all tests with race detection and coverage
14
+
go test -timeout 20m -v -race -cover -tags=debug -failfast ./...
15
+
16
+
# Run specific test suites
17
+
go test -timeout 20m -v -race -cover -tags=debug -failfast ./tests/general
18
+
go test -timeout 20m -v -race -cover -tags=debug -failfast ./canceller
19
+
go test -timeout 20m -v -race -cover -tags=debug -failfast ./dataconverter
20
+
go test -timeout 20m -v -race -cover -tags=debug -failfast ./queue
21
+
22
+
# Run with coverage profile
23
+
go test -timeout 20m -v -race -cover -tags=debug -failfast -coverpkg=$(cat pkgs.txt) -coverprofile=coverage.out -covermode=atomic ./general
24
+
```
25
+
26
+
### PHP Tests Setup
27
+
```bash
28
+
cd tests/php_test_files
29
+
composer install
30
+
```
31
+
32
+
### Linting
33
+
```bash
34
+
# Run golangci-lint with project config
35
+
golangci-lint run --timeout=10m --build-tags=safe
36
+
```
37
+
38
+
## Architecture
39
+
40
+
### Core Components
41
+
42
+
**Plugin Structure** (`plugin.go`):
43
+
-`Plugin` - main plugin struct, manages lifecycle and pools
0 commit comments