Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 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
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
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/
Loading
Loading