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

chore(ci): resolve send coverage errors #1849

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
6992615
fix(compression) - zstd version bump (#1677)
darkn3rd Apr 15, 2021
c809f2a
add bIter: A library and Iterator interface for working with the `bad…
MikkelHJuul Apr 17, 2021
707978d
fix comment about default value in WithCompression (#1692)
atetubou Apr 17, 2021
59c56ee
feat(skiplist): Add sorted skiplist builder (#1693)
ahsanbarkati Apr 21, 2021
dc42de2
add(Lean Database): A very simple gRPC-only key-value database
MikkelHJuul Apr 22, 2021
84267c4
Make skiplist grow (#1695)
manishrjain Apr 26, 2021
b21f591
feat(Skiplist): Introduce a way to hand over skiplists to Badger (#1696)
manishrjain Apr 27, 2021
e4002b7
fix(skiplist-handler): Iterate over skiplist and send updates to publ…
ahsanbarkati Apr 28, 2021
da5f789
feat(dropPrefix): add DropPrefixNonBlocking API (#1698)
NamanJain8 May 4, 2021
ca80206
feat(bench): add tool pick table benchmark (#1699)
NamanJain8 May 10, 2021
3b21040
docs(badger): Add index cache notes (#1702)
bucanero May 19, 2021
59c069f
remove a space for better rendering on godoc (#1701)
atetubou May 20, 2021
74ade98
opt(stream): add option to directly copy over tables from lower level…
manishrjain May 21, 2021
b188600
feat(compression): use klauspost zstd when cgo is not enabled (#1706)
NamanJain8 May 27, 2021
f437235
chore(doc): remove immudb from list of projects using badger (#1705)
dmacvicar May 31, 2021
3fa94a7
Update README.md (#1703)
bucanero Jun 1, 2021
722d84b
chore: update changelog for 2011 (#1710)
NamanJain8 Jun 2, 2021
34518a8
chore: update changelog for 2011 (#1710)
NamanJain8 Jun 2, 2021
275264c
feat(zstd): replace datadog's zstd with Klauspost's zstd (#1709)
NamanJain8 Jun 8, 2021
58d0674
fix(stream): add managed mode check (#1712)
NamanJain8 Jun 17, 2021
e41ed97
fix(compaction): copy over the file ID when building tables #1713
NamanJain8 Jun 17, 2021
c0d5be3
Bump ristretto: v0.0.4 -> v0.1.0 (#1714)
Ashmita152 Jun 23, 2021
aaab253
Add Souin to the Projects Using Badger section (#1715)
darkweak Jun 23, 2021
725913b
feat(stream): add support for incremental stream writer (#1722)
NamanJain8 Jul 6, 2021
c40b2e9
fix(stream): ensure that the stream level do not have any data (#1723)
NamanJain8 Jul 7, 2021
b30371f
Add xupercore project that use badger (#1725)
chenfengjin Jul 8, 2021
3279e18
fix: Fix conflict detection for managed DB (#1716)
roysc Jul 8, 2021
3911787
fix(pendingWrites): don't skip the pending entries with version=0 (#1…
NamanJain8 Jul 8, 2021
7879d23
docs: Fix the memory usage part of doc (#1724)
qichengzx Jul 8, 2021
bcccb26
chore: update changelog for v3.2103.1 (#1726)
NamanJain8 Jul 8, 2021
eee0591
add m2: A simple http key/value store based on raft protocal. (#1729)
qichengzx Jul 14, 2021
295ace3
docs: merge project list in README and docs (#1730)
qichengzx Jul 21, 2021
0c45f5f
chore: update changelog for v2.2007.3 (#1732)
NamanJain8 Jul 21, 2021
c2b23c4
Make iterator seek return the latest ts (#1737)
ahsanbarkati Aug 25, 2021
172faed
Update CHANGELOG for v2.2007.4 (#1739)
NamanJain8 Aug 25, 2021
28820c6
doc(projects): [chaindb] (#1742)
danforbes Sep 14, 2021
292a4be
fix(benchmarks): use uint32 in filename generation (#1741)
NamanJain8 Sep 14, 2021
560e319
Fix(levels): Avoid a deadlock when acquiring read locks in levels (#1…
manishrjain Sep 14, 2021
2a9a524
feat(externalMagic): Introduce external magic number (#1745)
ahsanbarkati Sep 16, 2021
a6bf4fd
deps: Bump github.com/google/flatbuffers to v1.12.1 (#1746)
jalseth Sep 22, 2021
f762055
fix(builder): put the upper limit on reallocation (#1748)
NamanJain8 Sep 23, 2021
7677fcb
fix: avoid deadlock in publisher and subscriber (#1749)
aman-bansal Sep 24, 2021
cba20b9
fix(compact): close vlog after the compaction at L0 has completed (#1…
NamanJain8 Sep 28, 2021
6ed45ae
fix(manifest): fix manifest corruption due to race condition in concu…
iluminae Nov 8, 2021
32912a9
docs(README): Add Opacity storage-node to the projects list (#1760)
mihaiiorga Nov 23, 2021
3f320f5
fix(drop): drain handed skiplists before stopping memory flush (#1762)
NamanJain8 Dec 2, 2021
3f17cd6
docs(projects): Add Vephar (#1765)
jjzazuet Dec 23, 2021
f4039f0
docs: Update FAQ regarding ZSTD and CGO (#1766)
BenjamenMeyer Dec 23, 2021
11841d4
doc(projects): Add vxdb (#1759)
vitalvas Dec 23, 2021
12f58ef
fix(stream): improve error handling (#1772)
SaveTheRbtz Mar 25, 2022
d9a978b
docs(projects): Add gowarcserver (#1781)
Avokadoen Mar 28, 2022
1ff1816
docs(projects): Add flow-go (#1782)
synzhu Apr 3, 2022
d8d2008
calculateDiscardStat for valueLog directly (#1784)
requilence Apr 29, 2022
bc74fea
fix: typo (#1785)
TensShinet Apr 29, 2022
82b00f2
feat(txn): add public method for getting the value of discarded field…
matino Jun 10, 2022
8475971
Add Wrgl to the list of projects using Badger (#1789)
pckhoi Jun 22, 2022
7d159dd
Switch xxhash to v2 (#1790)
mjungsbluth Jun 23, 2022
2de1779
Delete main.yml (#1796)
MichelDiz Aug 2, 2022
3f8be47
upgrade dep on ristretto (#1806)
joshua-goldstein Oct 13, 2022
4dcd384
chore: add github templates + cleanup (#1807)
joshua-goldstein Oct 13, 2022
cd9ddc3
fix(CI): fix test suite and add CI steps (#1808)
joshua-goldstein Oct 13, 2022
48bbfd5
chore: update readme (#1809)
joshua-goldstein Oct 13, 2022
c968c35
chore: update badges in readme (#1811)
joshua-goldstein Oct 13, 2022
17827b0
chore: fix linter (#1812)
joshua-goldstein Oct 13, 2022
a840de4
chore: Remove errorcheck linter (#1814)
joshua-goldstein Oct 13, 2022
387e8d1
chore: add coveralls (#1813)
joshua-goldstein Oct 14, 2022
9498fa9
chore: run nightly bank test (#1816)
joshua-goldstein Oct 14, 2022
a1714be
chore: fix lint errors (#1815)
joshua-goldstein Oct 14, 2022
17eb1bc
chore: fix linters (#1817)
joshua-goldstein Oct 14, 2022
7a3a87a
chore: comment out gas linter (#1818)
joshua-goldstein Oct 14, 2022
90177fc
chore: run workflows on release branch (#1821)
joshua-goldstein Nov 3, 2022
356fef7
chore(cd): cd steps for badger (#1831)
joshua-goldstein Nov 4, 2022
1d0ae37
chore(ci): pin ubuntu deps (#1835)
joshua-goldstein Dec 8, 2022
a717126
chore(ci): update cd workflows for arm64 (#1838)
joshua-goldstein Dec 15, 2022
fba305b
chore(tests): unbreak tests on Windows (#1775) (#1837)
akon-dey Dec 16, 2022
83298b7
fix(test): rm upgrade (#1845)
skrdgraph Jan 13, 2023
e2c9372
chore(ci): run checks against release branch (#1854)
joshua-goldstein Feb 8, 2023
cf2630d
add github as explicit service in goveralls
joshua-goldstein Jan 24, 2023
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners
# Owners are automatically requested for review for PRs that changes code
# that they own.
* @manishrjain @ashish-goswami @jarifibrahim
* @akon-dey @nosql22 @billprovince @joshua-goldstein @skrdgraph
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE

This file was deleted.

62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: "🐞 Bug Report"
description: File a bug report
title: "[BUG]: <Title>"
labels: ["kind/bug", "status/triage"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue.
If you suspect this could be a bug, please follow this template.
- type: textarea
attributes:
label: What version of Badger are you using?
description: Copy and paste the tag or commit hash used in your application's go.mod file.
placeholder: |
Paste here.
validations:
required: false
- type: textarea
attributes:
label: What version of Go are you using?
description: Copy and paste all you see using the command 'go version'.
placeholder: |
Paste here.
validations:
required: false
- type: dropdown
attributes:
label: Have you tried reproducing the issue with the latest release?
options:
- "Yes"
- "No"
validations:
required: false
- type: textarea
attributes:
label: What is the hardware spec (RAM, CPU, OS)?
description: Share all possible context of your machine.
placeholder: |
Type here.
validations:
required: true
- type: textarea
attributes:
label: What steps will reproduce the bug?
description: Enter details about your bug (command/config used to set up Ristretto).
placeholder: |
Type here.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior and actual result.
description: Enter details about your expectations.
placeholder: |
Type here.
validations:
required: false
- type: textarea
attributes:
label: Additional information
description: Tell us anything else you think we should know.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "📃 Documentation Request"
description: Suggest improvements, additions, or revisions to Badger documentation
title: "[Documentation]: <Title>"
labels: ["area/documentation", "status/triage"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue.
If you think Badger's documentation is lacking, please explain it here.
- type: textarea
attributes:
label: What version of Badger is the target?
description: Is it the latest version?
placeholder: |
Type here.
validations:
required: false
- type: textarea
attributes:
label: Documentation.
description: Explain which part of the documentation is lacking.
placeholder: |
Type here.
validations:
required: true
- type: textarea
attributes:
label: Additional information.
description: Tell us anything else you think we should know.
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "⚡ Feature Request"
description: Suggest a new feature
title: "[FEATURE]: <Title>"
labels: ["kind/feature ", "status/triage"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue.
If you think we can make Badger better, describe your feature request here.
Note: Feature requests are judged based on user experience and modeled on
[Go Experience Reports](https://github.com/golang/go/wiki/ExperienceReports).
These reports should focus on the problems - they should not focus on and need not propose solutions.
- type: dropdown
attributes:
label: Have you tried Badger before this proposal? and did not find anything similar?
options:
- "Yes"
- "No"
validations:
required: false
- type: textarea
attributes:
label: What you wanted to do.
description: Enter details about your expectations.
placeholder: |
Type here.
validations:
required: true
- type: textarea
attributes:
label: What you actually did.
description: Enter details about your experience with Badger.
placeholder: |
Type here.
validations:
required: false
- type: textarea
attributes:
label: Why wasn't it great, with examples.
description: Enter details about your expectations.
placeholder: |
Type here.
validations:
required: false
- type: textarea
attributes:
label: Additional information.
description: Any external references to support your case.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "🙋 Question"
description: Question related to Badger
title: "[QUESTION]: <Title>"
labels: ["kind/question ", "status/triage"]
body:
- type: markdown
attributes:
value: |
The issue tracker is primarily for code related issues, bug reports, missing documentation, or feature requests.
- If you have a question, please consider asking it on https://discuss.dgraph.io
- type: textarea
attributes:
label: Question.
description: Ask your Question.
29 changes: 29 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
Change Github PR Title

Your title must be in the following format:
- `topic(Area): Feature`
- `Topic` must be one of `build|ci|docs|feat|fix|perf|refactor|chore|test`

Sample Titles:
- `feat(Enterprise)`: Backups can now get credentials from IAM
- `fix(Query)`: Skipping floats that cannot be Marshalled in JSON
- `perf: [Breaking]` json encoding is now 35% faster if SIMD is present
- `chore`: all chores/tests will be excluded from the CHANGELOG
-->

## Problem
<!--
Please add a description with these things:
1. Explain the problem by providing a good description.
2. If it fixes any GitHub issues, say "Fixes #GitHubIssue".
3. If it corresponds to a Jira issue, say "Fixes DGRAPH-###".
4. If this is a breaking change, please prefix `[Breaking]` in the title. In the description, please put a note with exactly who these changes are breaking for.
-->

## Solution
<!--
Please add a description with these things:
1. Explain the solution to make it easier to review the PR.
2. Make it easier for the reviewer by describing complex sections with comments.
-->
85 changes: 85 additions & 0 deletions .github/workflows/cd-badger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: cd-badger
on: workflow_dispatch
jobs:
badger-build-amd64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOVERSION }}
- name: Set Badger Release Version
run: |
#!/bin/bash
GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
if [[ "$GIT_BRANCH_NAME" == "release/v"* ]];
then
echo "this is a release branch"
else
echo "this is NOT a release branch"
exit 1
fi
BADGER_RELEASE_VERSION=$(git rev-parse --abbrev-ref HEAD | sed 's/release\///')
echo "making a new release for "$BADGER_RELEASE_VERSION
echo "BADGER_RELEASE_VERSION=$BADGER_RELEASE_VERSION" >> $GITHUB_ENV
- name: Fetch dependencies
run: sudo apt-get -y install build-essential
- name: Build badger linux/amd64
run: make badger
- name: Generate SHA for Linux Build
run: cd badger && sha256sum badger-linux-amd64 | cut -c-64 > badger-checksum-linux-amd64.sha256
- name: Tar Archive for Linux Build
run: cd badger && tar -zcvf badger-linux-amd64.tar.gz badger-linux-amd64
- name: Upload Badger Binary Build Artifacts
uses: actions/upload-artifact@v3
with:
path: |
badger/badger-checksum-linux-amd64.sha256
badger/badger-linux-amd64.tar.gz
badger-build-arm64:
runs-on: [self-hosted, ARM64]
steps:
- uses: actions/checkout@v3
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOVERSION }}
- name: Set Badger Release Version
run: |
#!/bin/bash
GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
if [[ "$GIT_BRANCH_NAME" == "release/v"* ]];
then
echo "this is a release branch"
else
echo "this is NOT a release branch"
exit 1
fi
BADGER_RELEASE_VERSION=$(git rev-parse --abbrev-ref HEAD | sed 's/release\///')
echo "making a new release for "$BADGER_RELEASE_VERSION
echo "BADGER_RELEASE_VERSION=$BADGER_RELEASE_VERSION" >> $GITHUB_ENV
- name: Fetch dependencies
run: sudo apt-get -y install build-essential
- name: Build badger linux/arm64
run: make badger
- name: Generate SHA for Linux Build
run: cd badger && sha256sum badger-linux-arm64 | cut -c-64 > badger-checksum-linux-arm64.sha256
- name: Tar Archive for Linux Build
run: cd badger && tar -zcvf badger-linux-arm64.tar.gz badger-linux-arm64
- name: Upload Badger Binary Build Artifacts
uses: actions/upload-artifact@v3
with:
path: |
badger/badger-checksum-linux-arm64.sha256
badger/badger-linux-arm64.tar.gz
48 changes: 48 additions & 0 deletions .github/workflows/ci-badger-bank-tests-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: ci-badger-bank-tests-nightly
on:
push:
branches:
- main
- release/v3.2103
- release/v4.0
schedule:
- cron: "0 3 * * *"
jobs:
badger-bank:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOVERSION }}
- name: Install Dependencies
run: make dependency
- name: Install jemalloc
run: make jemalloc
- name: Install Badger
run: cd badger && go install --race --tags=jemalloc .
- name: Run Badger Bank Test
run: |
#!/bin/bash -x
set -o pipefail
# get 16 random bytes from /dev/urandom
hexdump -vn16 -e'4/4 "%08X" 1 "\n"' /dev/urandom > badgerkey16bytes
badger bank test --dir=. --encryption-key "badgerkey16bytes" -d=4h 2>&1 | tee badgerbanktest.log | grep -v 'Moved $5'
if [ $? -ne 0 ]; then
if grep -qi 'data race' badgerbanktest.log; then
echo "Detected data race via grep..."
cat badgerbanktest.log | grep -v 'Moved $5'
else
echo "No data race detected via grep. Assuming txn violation..."
tail -1000 badgerbanktest.log
badger bank disect --dir=. --decryption-key "badgerkey16bytes"
fi
exit 1
fi
echo 'Bank test finished with no issues.'
40 changes: 40 additions & 0 deletions .github/workflows/ci-badger-bank-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci-badger-bank-tests
on:
push:
branches:
- main
- release/v3.2103
- release/v4.0
pull_request:
branches:
- main
- release/v3.2103
- release/v4.0
schedule:
- cron: "*/30 * * * *"
jobs:
badger-bank:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Get Go Version
run: |
#!/bin/bash
DEFAULT_VERSION="1.18"
GOVERSION=$({ [ -f .go-version ] && cat .go-version; } || echo $DEFAULT_VERSION)
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOVERSION }}
- name: Install Dependencies
run: make dependency
- name: Install jemalloc
run: make jemalloc
- name: Install Badger
run: cd badger && go install --race --tags=jemalloc .
- name: Run Badger Bank Test
run: |
#!/bin/bash
mkdir bank && cd bank
badger bank test -v --dir=. -d=20m
Loading