Skip to content

Commit 1899dad

Browse files
authored
Merge pull request #2499 from keboola/vb/DMD-919/llm-export-fetcher-types
DMD-919 - Add fetcher and core types for llm export
2 parents 0473971 + 647baca commit 1899dad

11 files changed

Lines changed: 2068 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,19 @@ APIs are designed using Goa DSL in `/api/` directory. After modifying the design
4949
- Run `task generate-<service>-api` to regenerate server code, OpenAPI specs, and types
5050
- Never hand-edit generated code
5151

52+
## Docker Development
53+
54+
If Go is not available locally, use Docker Compose to run all commands:
55+
56+
```bash
57+
# Start a shell in the dev container
58+
docker-compose run --rm -u "$UID:$GID" --service-ports dev bash
59+
60+
# Then run commands inside the container
61+
task lint
62+
task tests
63+
```
64+
5265
## Common Development Commands
5366

5467
### Building (Local Development)
@@ -146,6 +159,7 @@ Services auto-reload on code changes using Air.
146159
- Coverage target: 80%
147160
- E2E tests use real etcd and mocked HTTP clients
148161
- Test projects configured via `.env` file pointing to `projects.json`
162+
- **Use `t.Context()` instead of `context.Background()`** - Go 1.21+ provides test context via `t.Context()` which is automatically cancelled when the test ends
149163

150164
## State Management Architecture
151165

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ require (
4343
github.com/json-iterator/go v1.1.12
4444
github.com/keboola/go-cloud-encrypt v0.0.0-20250422071622-41a5d5547c43
4545
github.com/keboola/go-utils v1.4.0
46-
github.com/keboola/keboola-sdk-go/v2 v2.8.1
46+
github.com/keboola/keboola-sdk-go/v2 v2.11.0
4747
github.com/klauspost/compress v1.18.1
4848
github.com/klauspost/pgzip v1.2.6
4949
github.com/kylelemons/godebug v1.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ github.com/keboola/go-oauth2-proxy/v7 v7.13.1-0.20251120082210-251fbcb18c16 h1:m
589589
github.com/keboola/go-oauth2-proxy/v7 v7.13.1-0.20251120082210-251fbcb18c16/go.mod h1:2KeAM0/QPbyUAoky+PXVgQDt/5m0qNcn30z9jh4ig8A=
590590
github.com/keboola/go-utils v1.4.0 h1:WTyj95yrr8O8HxtC8TSTyUcElZiRGDeEdVvDpFo6HUo=
591591
github.com/keboola/go-utils v1.4.0/go.mod h1:IopwJzFz2gh0Yj3fUbIe2eamRoDKzbXvjqFjQyw3ZdQ=
592-
github.com/keboola/keboola-sdk-go/v2 v2.8.1 h1:pSgHG9LKUG6Us713r4NvktTHjBG7X911I0BodA6RkLU=
593-
github.com/keboola/keboola-sdk-go/v2 v2.8.1/go.mod h1:N/PkJnEHcyHMbVjHPjTdQwj5b9Iajl7PEaFUVtywHKU=
592+
github.com/keboola/keboola-sdk-go/v2 v2.11.0 h1:QBqH9pHdtbpuRuNq8rvMF7Xku/UxDgRqKQlQRY0Umtc=
593+
github.com/keboola/keboola-sdk-go/v2 v2.11.0/go.mod h1:N/PkJnEHcyHMbVjHPjTdQwj5b9Iajl7PEaFUVtywHKU=
594594
github.com/keybase/go-keychain v0.0.1 h1:way+bWYa6lDppZoZcgMbYsvC7GxljxrskdNInRtuthU=
595595
github.com/keybase/go-keychain v0.0.1/go.mod h1:PdEILRW3i9D8JcdM+FmY6RwkHGnhHxXwkPPMeUgOK1k=
596596
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=

0 commit comments

Comments
 (0)