Skip to content

Commit c3fcdc8

Browse files
committed
Merge branch 'main' into customer-mysql-cdc-keepalive
2 parents 3312041 + b00063c commit c3fcdc8

73 files changed

Lines changed: 3367 additions & 1741 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ See `docs/` for detailed architecture and design documents:
88

99
- `docs/peerdb-architecture.md` — Architecture overview: system components, connector matrix, data flows (CDC, QRep, snapshot), type system, configuration, and observability.
1010
- `docs/deep-dive-design-document.md` — Implementation-level deep dive: code-level details for each CDC connector, normalization engine, snapshot system, workflow orchestration, and known limitations.
11+
12+
## GitHub interactions
13+
14+
- NEVER modify PR descriptions or titles. Always report actions and changes as PR comments instead.

.env.example

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
CI_MONGO_HOST=host.docker.internal
2+
CI_MONGO_PORT=11017
3+
CI_MONGO_ADMIN_URI=mongodb://host.docker.internal:11017
4+
CI_MONGO_ADMIN_USERNAME=admin
5+
CI_MONGO_ADMIN_PASSWORD=admin
6+
CI_MONGO_URI=mongodb://host.docker.internal:11017
7+
CI_MONGO_USERNAME=csuser
8+
CI_MONGO_PASSWORD=cspass
9+
10+
CI_CLICKHOUSE_HOST=host.docker.internal
11+
CI_CLICKHOUSE_HTTP_PORT=11123
12+
CI_CLICKHOUSE_NATIVE_PORT=11000
13+
14+
CI_MYSQL_HOST=host.docker.internal
15+
CI_MYSQL_GTID_PORT=3306
16+
CI_MYSQL_POS_PORT=3307
17+
CI_MARIADB_PORT=3308
18+
CI_MYSQL_ROOT_PASSWORD=cipass
19+
CI_MYSQL_VERSION=mysql-gtid
20+
21+
CI_MYSQL_PORT=3306 # Default is gtid
22+
23+
PG_HOST=host.docker.internal
24+
PG_PORT=5436
25+
PG_USER=postgres
26+
PG_PASSWORD=postgres
27+
PG_DATABASE=postgres
28+
29+
PEERDB_CATALOG_HOST=host.docker.internal
30+
PEERDB_CATALOG_PORT=9901
31+
PEERDB_CATALOG_USER=postgres
32+
PEERDB_CATALOG_PASSWORD=postgres
33+
PEERDB_CATALOG_DATABASE=postgres
34+
35+
AWS_REGION=us-east-1
36+
AWS_ACCESS_KEY_ID=_peerdb_minioadmin
37+
AWS_SECRET_ACCESS_KEY=_peerdb_minioadmin
38+
AWS_ENDPOINT_URL_S3=http://host.docker.internal:9001
39+
AWS_EC2_METADATA_DISABLED="true"
40+
41+
MINIO_ROOT_USER=_peerdb_minioadmin
42+
MINIO_ROOT_PASSWORD=_peerdb_minioadmin

.github/workflows/auto-retry-flaky-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Detect flaky test failures
2929
id: detect
30-
uses: anthropics/claude-code-action@88c168b39e7e64da0286d812b6e9fbebb6708185 # main
30+
uses: anthropics/claude-code-action@6cad158a175744eb2e76f7f5fd108ec63145598c # main
3131
with:
3232
allowed_bots: 'renovate'
3333
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

.github/workflows/claude-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Run Claude Code Review
3030
id: claude-review
31-
uses: anthropics/claude-code-action@88c168b39e7e64da0286d812b6e9fbebb6708185 # v1
31+
uses: anthropics/claude-code-action@6e2bd52842c65e914eba5c8badd17560bd26b5de # v1
3232
with:
3333
allowed_bots: 'renovate'
3434
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Run Claude Code
3434
id: claude
35-
uses: anthropics/claude-code-action@88c168b39e7e64da0286d812b6e9fbebb6708185 # v1
35+
uses: anthropics/claude-code-action@6e2bd52842c65e914eba5c8badd17560bd26b5de # v1
3636
with:
3737
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3838

.github/workflows/customer-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1
2727

2828
- name: Login to GitHub Container Registry
29-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
29+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
3030
with:
3131
registry: ghcr.io
3232
username: ${{github.actor}}

.github/workflows/dev-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1
3434

3535
- name: Login to GitHub Container Registry
36-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
36+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
3737
with:
3838
registry: ghcr.io
3939
username: ${{github.actor}}

.github/workflows/flow.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ name: Flow build and test
33
on:
44
pull_request:
55
branches: [main]
6+
# Ignore changes to files that don't require builds or validations.
7+
# If more complex build avoidance is required, or for other events than pull_request, push, and pull_request_target,
8+
# replace this with a gate step in the job.
9+
paths-ignore: &ignore_paths
10+
- '.claude/**'
11+
- 'README.md'
612
push:
713
branches: [main]
14+
paths-ignore: *ignore_paths
815
pull_request_target:
916
branches: [main]
17+
paths-ignore: *ignore_paths
1018

1119
permissions:
1220
id-token: write
@@ -46,7 +54,7 @@ jobs:
4654
--health-timeout 5s
4755
--health-retries 5
4856
redpanda:
49-
image: redpandadata/redpanda@sha256:48345e234472429b87cb4737fe11938ee8009774f818c9b6d8456aa2784f9c29
57+
image: redpandadata/redpanda@sha256:65a7a93449f113a2941e0e8a9cd7eb1ed3ba153547b6b2b47f11796e9f754345
5058
ports:
5159
- 9092:9092
5260
- 9644:9644
@@ -59,7 +67,7 @@ jobs:
5967
xpack.security.enabled: false
6068
xpack.security.enrollment.enabled: false
6169
otelcol:
62-
image: otel/opentelemetry-collector-contrib:0.148.0@sha256:8164eab2e6bca9c9b0837a8d2f118a6618489008a839db7f9d6510e66be3923c
70+
image: otel/opentelemetry-collector-contrib:0.149.0@sha256:0fba96233274f6d665ac8831ad99dfe6479a9a20459f6e2719c0d20945773b46
6371
ports:
6472
- 4317:4317
6573
toxiproxy:
@@ -78,7 +86,7 @@ jobs:
7886
- 49002:49002
7987
- 49003:49003
8088
openssh:
81-
image: linuxserver/openssh-server:latest@sha256:f8e221e7dce7979a0110d13451e0be8d539b86d818c0fb7c71c5271ddf32f3bf
89+
image: linuxserver/openssh-server:latest@sha256:57c13941ef385d735cca18ee969eeba18e42ab95480c97af2182505aacdfe307
8290
ports:
8391
- 2222:2222
8492
env:
@@ -482,6 +490,11 @@ jobs:
482490
PEERDB_CATALOG_USER: postgres
483491
PEERDB_CATALOG_PASSWORD: postgres
484492
PEERDB_CATALOG_DATABASE: postgres
493+
PG_HOST: localhost
494+
PG_PORT: 5432
495+
PG_USER: postgres
496+
PG_PASSWORD: postgres
497+
PG_DATABASE: postgres
485498
PEERDB_SWITCHBOARD_ENABLED: "true"
486499
PEERDB_QUEUE_FORCE_TOPIC_CREATION: "true"
487500
ELASTICSEARCH_TEST_ADDRESS: http://localhost:9200

.github/workflows/stable-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1
2424

2525
- name: Login to GitHub Container Registry
26-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
26+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
2727
with:
2828
registry: ghcr.io
2929
username: ${{github.actor}}

.github/workflows/update-docker-compose-stable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
git diff --exit-code || echo "changes=true" >> "$GITHUB_OUTPUT"
9898
- name: Get next version
9999
if: ${{ steps.update-peerdb-version.outputs.changes == 'true' }}
100-
uses: reecetech/version-increment@2024.10.1
100+
uses: reecetech/version-increment@a29aa752dc3b8118a2dc2ed93faf0e95a73a9c7e # 2024.10.1
101101
id: version
102102
with:
103103
scheme: semver

0 commit comments

Comments
 (0)