Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Dummy PR to validate release vbranch. #9191

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
572c0df
Update ci-dgraph-upgrade-tests.yml
ryanfoxtyler Aug 20, 2024
34a132c
fix(tests): add explicit permissions for Trivy scan (#9130)
ryanfoxtyler Aug 21, 2024
c2fcbe2
fix(other): update patch version in go.mod (#9127)
ryanfoxtyler Aug 22, 2024
dfde6d9
chore(deps): bump github.com/docker/docker from 24.0.5+incompatible t…
dependabot[bot] Aug 22, 2024
65dbc9d
use /v24 in the import (#9131)
mangalaman93 Aug 23, 2024
1494731
upgrade go mod (#9115)
mangalaman93 Aug 24, 2024
3ee922a
chore(): add dependabot version bumps (#9132)
ryanfoxtyler Aug 24, 2024
51d8f7f
chore(deps): bump actions/labeler from 4 to 5 (#9134)
dependabot[bot] Aug 24, 2024
4599506
chore(deps): bump golangci/golangci-lint-action from 4 to 6 (#9133)
dependabot[bot] Aug 24, 2024
33da9f7
chore(deps): bump docker/login-action from 2 to 3 (#9135)
dependabot[bot] Aug 24, 2024
2536a79
chore(deps): bump actions/upload-artifact from 3 to 4 (#9136)
dependabot[bot] Aug 24, 2024
914eab0
Update dependabot.yml
ryanfoxtyler Aug 24, 2024
8e30b9e
Update dependabot.yml
ryanfoxtyler Aug 24, 2024
e682581
fix(repo): labeler config (#9144)
ryanfoxtyler Aug 24, 2024
769cd7d
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 (#9139)
dependabot[bot] Aug 24, 2024
c4d7f96
chore(deps): bump github.com/bits-and-blooms/bitset from 1.13.0 to 1.…
dependabot[bot] Aug 24, 2024
5de5e82
chore(deps): bump github.com/prometheus/client_golang from 1.20.1 to …
dependabot[bot] Aug 25, 2024
d849375
feat(graphql): adds @default directive to graphql (#8017) (#8837)
mangalaman93 Aug 27, 2024
9514217
fix(git): fix Labeler formatting (#9148)
ryanfoxtyler Aug 27, 2024
41db39f
fix(core): fix sampling rate of jaeger (#9147)
harshil-goel Aug 28, 2024
559c80a
fix(vector): fix index rebuild when options change (#9149)
harshil-goel Aug 28, 2024
9b3dc53
chore(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0 (#9152)
dependabot[bot] Aug 28, 2024
4e6c76b
chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.…
dependabot[bot] Aug 28, 2024
78489f3
chore(deps): bump github.com/docker/docker from 27.1.2+incompatible t…
dependabot[bot] Aug 28, 2024
37bdb62
upgrade dgo to v240.0.0 (#9154)
mangalaman93 Sep 3, 2024
814460e
chore(deps): bump golang.org/x/mod from 0.20.0 to 0.21.0 (#9157)
dependabot[bot] Sep 4, 2024
7e13810
chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 (#9156)
dependabot[bot] Sep 5, 2024
c629b2b
chore(deps): bump github.com/dgraph-io/dgo/v240 from 240.0.0-rc1 to 2…
dependabot[bot] Sep 5, 2024
8a4e9ef
chore: Upgrade go.mod dependencies, fix jose v2 vulnerability, upgrad…
RJKeevil Sep 10, 2024
ede6b37
Update dependabot.yml
ryanfoxtyler Sep 10, 2024
b679eb7
chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.1 (#9163)
dependabot[bot] Sep 11, 2024
4fff949
fix(multi-tenancy): upsert groot for namespace after drop data (#9159)
shivaji-kharse Sep 11, 2024
18b1f66
upgrade go.mod (#9164)
mangalaman93 Sep 11, 2024
93a3a62
Update dependabot.yml
ryanfoxtyler Sep 11, 2024
1ba8e20
fix(vector): fixed euclidean spelling and a bug in parameters (#9165)
harshil-goel Sep 12, 2024
99c6463
fix(core): update latest badger (#9169)
harshil-goel Sep 12, 2024
1b2af87
Update stale.yml
ryanfoxtyler Sep 13, 2024
2554242
fix(core): Update error msg for txn too old to give more context (#9170)
harshil-goel Sep 13, 2024
0d822fe
Update README.md (#9175)
kvangundy Sep 19, 2024
346234d
chore(deps): bump the minor-and-patch group across 1 directory with 2…
dependabot[bot] Sep 19, 2024
86573a6
fix(DQL): unsupported ordering should raise an error (#9173)
shivaji-kharse Sep 19, 2024
aaff847
update expired certificate that are used for testing (#9177)
mangalaman93 Sep 25, 2024
7e49714
chore(deps): bump the minor-and-patch group with 2 updates (#9178)
dependabot[bot] Sep 26, 2024
f6a3079
Expose APIs that can be used outside Dgraph (#9176)
mangalaman93 Sep 27, 2024
d5bba12
chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1 in the…
dependabot[bot] Oct 3, 2024
bf1f1b8
fix(core): add the posting list risteretto cache back (#9181)
harshil-goel Oct 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
day: "wednesday"
time: "16:00"
rebase-strategy: "disabled"
groups:
minor-and-patch:
update-types:
- "patch"
- "minor"

- package-ecosystem: "github-actions"
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
directory: "/"
schedule:
interval: "weekly"
day: wednesday
time: "16:00"
groups:
actions:
update-types:
- "patch"
- "minor"
- "major"
101 changes: 67 additions & 34 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,82 @@
area/graphql:
- graphql/**/*
- changed-files:
- any-glob-to-any-file: graphql/**

area/documentation:
- "**/*.md"
- "**/*.pdf"
- "**/*.tex"
- changed-files:
- any-glob-to-any-file:
- '**/*.md'
- '**/*.pdf'
- '**/*.tex'

area/bulk-loader:
- dgraph/cmd/bulk/**/*
- changed-files:
- any-glob-to-any-file: dgraph/cmd/bulk/**

area/live-loader:
- dgraph/cmd/live/**/*
- changed-files:
- any-glob-to-any-file: dgraph/cmd/live/**

area/querylang:
- dql/**/*
- changed-files:
- any-glob-to-any-file: dql/**

area/integrations:
- contrib/**/*
- .github/**/*
- .travis/**/*
- changed-files:
- any-glob-to-any-file:
- contrib/**
- .github/**
- .travis/**

area/testing/jepsen:
- contrib/jepsen/**/*
- changed-files:
- any-glob-to-any-file: contrib/jepsen/**

area/enterprise:
- ee/**/*
- changed-files:
- any-glob-to-any-file: ee/**

area/enterprise/backup:
- ee/backup/**/*
- changed-files:
- any-glob-to-any-file: ee/backup/**

area/enterprise/acl:
- ee/acl/**/*
- changed-files:
- any-glob-to-any-file: ee/acl/**

area/schema:
- schema/**/*
- changed-files:
- any-glob-to-any-file: schema/**

area/testing:
- systest/**/*
- "**/*test.go"
- graphql/e2e/**/*
- "**/*test.yaml"
- t/**/*
- testutil/**/*
- tlstest/**/*
- changed-files:
- any-glob-to-any-file:
- systest/**
- '**/*test.go'
- graphql/e2e/**
- '**/*test.yaml'
- t/**
- testutil/**
- tlstest/**

area/core:
- protos/**/*
- posting/**/*
- raftwal/**/*
- query/**/*
- schema/**/*
- protos/**/*
- x/**/*
- xidmap/**/*
- worker/**/*
- graphql/**/*
- changed-files:
- any-glob-to-any-file:
- protos/**
- posting/**
- raftwal/**
- query/**
- schema/**
- protos/**
- x/**
- xidmap/**
- worker/**
- graphql/**

go:
- "**/*.go"
- changed-files:
- any-glob-to-any-file: '**/*.go'

python:
- "**/*.py"
- changed-files:
- any-glob-to-any-file: '**/*.py'
14 changes: 7 additions & 7 deletions .github/workflows/cd-dgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
go-version: ${{ env.GOVERSION }}
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
run: sudo apt update && sudo apt install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Tar Archive for Dgraph Linux Build
run: cd dgraph && tar -zcvf dgraph-linux-amd64.tar.gz dgraph
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
badger/badger-checksum-linux-amd64.sha256
Expand All @@ -97,7 +97,7 @@ jobs:
make docker-image-standalone DGRAPH_VERSION=${{ env.DGRAPH_RELEASE_VERSION }}-amd64
[[ "${{ inputs.latest }}" = true ]] && docker tag dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 dgraph/standalone:latest-amd64 || true
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD_TOKEN }}
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
with:
go-version: ${{ env.GOVERSION }}
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
run: sudo apt update && sudo apt install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Tar Archive for Dgraph Linux Build
run: cd dgraph && tar -zcvf dgraph-linux-arm64.tar.gz dgraph
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
badger/badger-checksum-linux-arm64.sha256
Expand All @@ -192,7 +192,7 @@ jobs:
make docker-image-standalone DGRAPH_VERSION=${{ env.DGRAPH_RELEASE_VERSION }}-arm64
[[ "${{ inputs.latest }}" = true ]] && docker tag dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-arm64 dgraph/standalone:latest-arm64 || true
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD_TOKEN }}
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
echo "making a new release for dgraph "$DGRAPH_RELEASE_VERSION
echo "DGRAPH_RELEASE_VERSION=$DGRAPH_RELEASE_VERSION" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-aqua-security-trivy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
- 'release/**'
schedule:
- cron: "0 0 * * *"

permissions:
security-events: write

jobs:
build:
name: trivy-tests
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci-dgraph-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
go mod tidy
make regenerate
git diff --exit-code -- .
- name: Make Linux Build and Docker Image with coverage enabled
run: make coverage-docker-image
- name: Build Test Binary
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci-dgraph-ldbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
go mod tidy
make regenerate
git diff --exit-code -- .
- name: Make Linux Build and Docker Image
run: make docker-image
- name: Build Test Binary
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
go mod tidy
make regenerate
git diff --exit-code -- .
- name: Make Linux Build and Docker Image
run: make docker-image # this internally builds dgraph binary
- name: Build Test Binary
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
run: sudo apt update && sudo apt install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler
run: sudo apt update && sudo apt install -y protobuf-compiler
- name: Check protobuf
run: |
cd ./protos
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-dgraph-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
branches:
- main
- 'release/**'
schedule:
- cron: "00 20 * * *" # 1 run per day
jobs:
dgraph-upgrade-tests:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
go-version: ${{ env.GOVERSION }}
- name: golang-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: labeler
on:
pull_request_target:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- "release/v**"
types: [opened]
- 'release/**'
jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GH_TOKEN }}"
- uses: actions/checkout@v4
- uses: actions/labeler@v5
3 changes: 2 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '00 02,14 * * *'
- cron: '00 02 * * *'

permissions:
issues: write
Expand All @@ -13,6 +13,7 @@ jobs:
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 180
stale-issue-message: 'This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'
stale-pr-message: 'This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'
operations-per-run: 250
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ install:

.PHONY: install_oss oss_install
install_oss oss_install:
$(MAKE) BUILD_TAGS=oss install
$(MAKE) BUILD_TAGS=oss,jemalloc install

.PHONY: uninstall
uninstall:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Dgraph supports [GraphQL query syntax](https://dgraph.io/docs/main/query-languag

## Status

Dgraph is at [version v23.1.0][rel] and is production-ready. Apart from the vast open source community, it is being used in
Dgraph is at [version v24.0.2][rel] and is production-ready. Apart from the vast open source community, it is being used in
production at multiple Fortune 500 companies, and by
[Intuit Katlas](https://github.com/intuit/katlas) and [VMware Purser](https://github.com/vmware/purser). A hosted version of Dgraph is available at [https://cloud.dgraph.io](https://cloud.dgraph.io).

Expand Down
2 changes: 1 addition & 1 deletion algo/heap.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package algo

import (
"github.com/dgraph-io/dgraph/codec"
"github.com/dgraph-io/dgraph/v24/codec"
)

type elem struct {
Expand Down
Loading
Loading