Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e9028a1
feat(typed): generic, type-safe client and query builder
mlwelles Jun 4, 2026
b477c28
feat: aborted-transaction retry policy, runner, and client integration
mlwelles Jun 4, 2026
b74cec7
feat: recognize generated schema types via SchemaTypeName + UnwrapSchema
mlwelles Jun 4, 2026
a4997cf
ci: drop redundant Dgraph standalone from -short unit job
mlwelles Jun 4, 2026
616065d
chore: ignore IDE dirs, query binary, benchmark output, worktrees
mlwelles Jun 4, 2026
eee3d01
feat: WithGRPCDialOption for custom gRPC dial settings
mlwelles Jun 4, 2026
bd16559
feat: AlterSchema, dropPredicate, and embedded DropAttr
mlwelles Jun 4, 2026
501b3ef
feat: SelfValidator for private-field validation
mlwelles Jun 4, 2026
c308258
Merge branch 'feature/typed-client' into chore/fork-main-rebased
mlwelles Jun 4, 2026
250575e
Merge branch 'feature/retry-record' into chore/fork-main-rebased
mlwelles Jun 4, 2026
3d1a18a
Merge branch 'feature/schema-routing' into chore/fork-main-rebased
mlwelles Jun 4, 2026
e0fcd10
Merge branch 'feature/grpc-dial-options' into chore/fork-main-rebased
mlwelles Jun 4, 2026
158bb74
Merge branch 'feature/schema-ddl' into chore/fork-main-rebased
mlwelles Jun 4, 2026
59776af
Merge branch 'feature/self-validation' into chore/fork-main-rebased
mlwelles Jun 4, 2026
7f25427
Merge branch 'chore/ci-short-unit-tests' into chore/fork-main-rebased
mlwelles Jun 4, 2026
fdeed90
Merge branch 'chore/gitignore-housekeeping' into chore/fork-main-rebased
mlwelles Jun 4, 2026
504231c
feat: SelfValidator for custom and cross-field validation
mlwelles Jun 4, 2026
0ae8003
feat: add Client.LoadOrStore (insert-if-absent)
mlwelles Jun 8, 2026
d7811e1
feat: add Client.LoadAndDelete (atomic read-and-consume)
mlwelles Jun 8, 2026
cb50538
feat: add typed Client[T].LoadOrStore
mlwelles Jun 8, 2026
56f09fd
feat: add typed Client[T].LoadAndDelete
mlwelles Jun 8, 2026
4ad3512
test: assert LoadAndDelete elects a single winner under contention
mlwelles Jun 8, 2026
917634f
fix(typed): correct filter precedence, preserve roots under WhereEdge
mlwelles Jun 17, 2026
febcd5c
fix(retry): keep jitter under MaxDelay; never skip fn on negative Max…
mlwelles Jun 17, 2026
9bc4289
fix(schema): guard nil wrappers and pointer-receiver Unwrap in Unwrap…
mlwelles Jun 17, 2026
e51a059
fix(client): key dedup cache on dial-option identity, not just count
mlwelles Jun 17, 2026
7478c26
docs(schema): add runnable ExampleClient_alterSchema
mlwelles Jun 17, 2026
81770b5
test(validation): assert SelfValidator slice path skips StructCtx; ad…
mlwelles Jun 17, 2026
4ac5139
Merge branch 'feature/retry-record' into feature/load-and-delete-load…
mlwelles Jun 17, 2026
55806f8
Merge branch 'feature/schema-routing' into feature/load-and-delete-lo…
mlwelles Jun 17, 2026
fd91e74
Merge branch 'feature/grpc-dial-options' into feature/load-and-delete…
mlwelles Jun 17, 2026
41e4663
Merge branch 'feature/schema-ddl' into feature/load-and-delete-load-o…
mlwelles Jun 17, 2026
913cecb
Merge branch 'feature/self-validation' into feature/load-and-delete-l…
mlwelles Jun 17, 2026
4a4f6f1
fix(consume): gate LoadAndDelete lock to embedded, guard nil upsert r…
mlwelles Jun 17, 2026
d79b02e
style(typed): satisfy golangci-lint lll and prealloc
mlwelles Jun 17, 2026
bbf99b9
style(retry): clear gosec G115 and G404 in delay()
mlwelles Jun 17, 2026
24651fd
Merge branch 'feature/typed-client' into feature/load-and-delete-load…
mlwelles Jun 17, 2026
0b17825
Merge branch 'feature/retry-record' into feature/load-and-delete-load…
mlwelles Jun 17, 2026
7e97f3a
ci: pin trivy to an existing release (0.59.1 does not exist)
mlwelles Jun 17, 2026
5bb1729
Merge branch 'chore/fix-trivy-pin' into feature/load-and-delete-load-…
mlwelles Jun 17, 2026
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
17 changes: 0 additions & 17 deletions .github/workflows/ci-go-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,5 @@ jobs:
go-version: 1.25.0
cache-dependency-path: go.sum

- name: Set up Dgraph
if: matrix.os == 'linux'
run: |
docker run -d --name dgraph-standalone -p 9080:9080 -p 8080:8080 dgraph/standalone:latest
echo "Waiting for Dgraph to be ready..."
for i in {1..30}; do
if curl -s http://localhost:8080/health > /dev/null; then
echo "Dgraph is ready!"
break
fi
echo "Attempt $i: Dgraph not ready, waiting..."
sleep 2
done
sleep 5

- name: Run Unit Tests
env:
MODUSGRAPH_TEST_ADDR: ${{ matrix.os == 'linux' && 'localhost:9080' || '' }}
run: go test -short -race -v .
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,16 @@ go.work.sum
.env

cpu_profile.prof

# IDE config
.idea/
.vscode/

# Built query binary
/query

# Benchmark result files
load_test/*.json

# git worktrees
.worktrees/
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runtimes:
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- trivy@0.59.1
- trivy@0.69.3
- taplo@0.9.3
- actionlint@1.7.7
- checkov@3.2.365
Expand Down
Loading
Loading