-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into removeSnowball
- Loading branch information
Showing
518 changed files
with
25,890 additions
and
10,767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax | ||
|
||
# Code owners are the final gate for PR approval to their named section of code. | ||
# If a single PR involves multiple code owners, every code owner should approve | ||
# a PR prior to merging. | ||
# If a single PR modifies multiple files with different code owner groups, at | ||
# least one code owner of the touched file should approve the PR prior to | ||
# merging. | ||
|
||
* @StephenButtolph | ||
*.md @meaghanfitzgerald @StephenButtolph | ||
/.github/ @marun | ||
/.github/*.md @marun @meaghanfitzgerald | ||
/network/p2p/ @joshua-kim | ||
/network/p2p/*.md @joshua-kim @meaghanfitzgerald | ||
/scripts/ @marun | ||
/scripts/*.md @marun @meaghanfitzgerald | ||
/tests/ @marun | ||
/tests/*.md @marun @meaghanfitzgerald |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Lifecycle labels | ||
- name: "DO NOT MERGE" | ||
color: "ba1b48" | ||
description: "This PR must not be merged in its current state" | ||
- name: "lifecycle/frozen" | ||
color: "2476B2" | ||
- name: "lifecycle/stale" | ||
color: "ededed" | ||
|
||
# General category labels | ||
- name: "bug" | ||
color: "d73a4a" | ||
description: "Something isn't working" | ||
- name: "documentation" | ||
color: "0075ca" | ||
description: "Improvements or additions to documentation or examples" | ||
- name: "enhancement" | ||
color: "a2eeef" | ||
description: "New feature or request" | ||
- name: "needs information" | ||
color: "d876e3" | ||
description: "Further information is needed" | ||
- name: "needs investigation" | ||
color: "147F45" | ||
description: "It is currently unclear if there is an issue" | ||
- name: "good first issue" | ||
color: "7057ff" | ||
description: "Good for newcomers" | ||
- name: "help wanted" | ||
color: "008672" | ||
description: "Looking for someone to address this" | ||
- name: "ci" | ||
color: "e99695" | ||
description: "This focuses on changes to the CI process" | ||
- name: "cleanup" | ||
color: "BFD4F2" | ||
description: "Code quality improvement" | ||
- name: "dependencies" | ||
color: "0366d6" | ||
description: "This primarily focuses on changing a dependency" | ||
- name: "testing" | ||
color: "220233" | ||
description: "This primarily focuses on testing" | ||
- name: "monitoring" | ||
color: "97450A" | ||
description: "This primarily focuses on logs, metrics, and/or tracing" | ||
- name: "incident response" | ||
color: "BE3D15" | ||
- name: "github_actions" | ||
color: "000000" | ||
description: "Pull requests that update GitHub Actions code" | ||
- name: "go" | ||
color: "16e2e2" | ||
description: "Pull requests that update Go code" | ||
- name: "needs Go upgrade" | ||
color: "16e2e2" | ||
description: "This requires a minor upgrade of Go to be supported" | ||
|
||
# Avalanchego specific labels | ||
- name: "antithesis" | ||
color: "1d76db" | ||
description: "Related to an issue reported by Antithesis" | ||
- name: "bubble votes" | ||
color: "3C9CDD" | ||
- name: "consensus" | ||
color: "4444ff" | ||
description: "This involves consensus" | ||
- name: "continuous staking" | ||
color: "f9d0c4" | ||
- name: "Durango" | ||
color: "DAF894" | ||
description: "durango fork" | ||
- name: "gossiping upgrade" | ||
color: "c2e0c6" | ||
- name: "merkledb" | ||
color: "0e8a16" | ||
- name: "networking" | ||
color: "88E841" | ||
description: "This involves networking" | ||
- name: "sdk" | ||
color: "72ED25" | ||
description: "This involves SDK tooling or frameworks" | ||
- name: "storage" | ||
color: "3F2A70" | ||
description: "This involves storage primitives" | ||
- name: "Uptime Tracking" | ||
color: "d4c5f9" | ||
- name: "vm" | ||
color: "d1f7a0" | ||
description: "This involves virtual machines" | ||
- name: "warp" | ||
color: "4FC611" | ||
- name: "Warp Signature API" | ||
color: "68A7EA" | ||
|
||
# ACP labels | ||
- name: "acp103" | ||
color: "AB2C58" | ||
- name: "acp113" | ||
color: "3359BA" | ||
- name: "acp118" | ||
color: "DFC715" | ||
- name: "acp125" | ||
color: "bfdadc" | ||
- name: "acp20" | ||
color: "DB7D37" | ||
- name: "acp77" | ||
color: "45CDF2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
## How this works | ||
|
||
## How this was tested | ||
|
||
## Need to be documented in RELEASES.md? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bufbuild/[email protected] | ||
- uses: bufbuild/buf-push-action@v1 | ||
- uses: bufbuild/buf-action@v1 | ||
with: | ||
input: "proto" | ||
buf_token: ${{ secrets.BUF_TOKEN }} | ||
token: ${{ secrets.BUF_TOKEN }} | ||
version: 1.35.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
- name: fuzz_test | ||
shell: bash | ||
run: ./scripts/build_fuzz.sh 10 # Run each fuzz test 10 seconds | ||
e2e_pre_etna: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -66,28 +66,7 @@ jobs: | |
uses: ./.github/actions/upload-tmpnet-artifact | ||
if: always() | ||
with: | ||
name: e2e-pre-etna-tmpnet-data | ||
e2e_post_etna: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go-for-project | ||
- name: Build AvalancheGo Binary | ||
shell: bash | ||
run: ./scripts/build.sh -r | ||
- name: Run e2e tests | ||
uses: ./.github/actions/run-monitored-tmpnet-cmd | ||
with: | ||
run: E2E_SERIAL=1 ./scripts/tests.e2e.sh --delay-network-shutdown --activate-etna | ||
prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }} | ||
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }} | ||
loki_id: ${{ secrets.LOKI_ID || '' }} | ||
loki_password: ${{ secrets.LOKI_PASSWORD || '' }} | ||
- name: Upload tmpnet network dir | ||
uses: ./.github/actions/upload-tmpnet-artifact | ||
if: always() | ||
with: | ||
name: e2e-post-etna-tmpnet-data | ||
name: e2e-tmpnet-data | ||
e2e_existing_network: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -150,21 +129,25 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bufbuild/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
- uses: bufbuild/buf-lint-action@v1 | ||
- uses: bufbuild/buf-action@v1 | ||
with: | ||
input: "proto" | ||
pr_comment: false | ||
# buf-action defaults to pushing on non-fork branch pushes | ||
# which is never desirable for this job. The buf-push job is | ||
# responsible for pushes. | ||
push: false | ||
version: 1.35.0 | ||
check_generated_protobuf: | ||
name: Up-to-date protobuf | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go-for-project | ||
- uses: bufbuild/buf-setup-action@v1.31.0 | ||
- uses: bufbuild/buf-action@v1 | ||
with: | ||
github_token: ${{ github.token }} | ||
setup_only: true | ||
version: 1.35.0 | ||
- shell: bash | ||
run: scripts/protobuf_codegen.sh | ||
- shell: bash | ||
|
@@ -176,9 +159,10 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go-for-project | ||
- shell: bash | ||
run: scripts/mock.gen.sh | ||
- shell: bash | ||
run: .github/workflows/check-clean-branch.sh | ||
run: | | ||
grep -lr -E '^// Code generated by MockGen\. DO NOT EDIT\.$' . | xargs -r rm | ||
go generate -run "go.uber.org/mock/mockgen" ./... | ||
.github/workflows/check-clean-branch.sh | ||
go_mod_tidy: | ||
name: Up-to-date go.mod and go.sum | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: labels | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- .github/labels.yml | ||
- .github/workflows/labels.yml | ||
pull_request: # dry run only | ||
paths: | ||
- .github/labels.yml | ||
- .github/workflows/labels.yml | ||
|
||
jobs: | ||
labeler: | ||
permissions: | ||
contents: read | ||
issues: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: crazy-max/ghaction-github-labeler@v5 | ||
with: | ||
dry-run: ${{ github.event_name == 'pull_request' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.