Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Introduce SchedulingStateMachine for unified scheduler #35432

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
9355518
[anza migration] replace binaries backend (#6)
yihau Feb 12, 2024
b0022d7
[anza migration] ci (#5)
yihau Feb 12, 2024
58e9a19
[anza migration] ci: fix path (#8)
yihau Feb 12, 2024
91e3dd2
[anza migration] ci: removed unused s3 upload in Windows build (#9)
yihau Feb 15, 2024
3f9a7a5
[anza migration] rename crates (#10)
yihau Feb 22, 2024
570d1a9
Adds a bench for hash_account() (#47)
brooksprumo Mar 4, 2024
f591210
update mio to 0.8.11 (#60)
bw-solana Mar 4, 2024
93f5b51
Adds StartingSnapshotStorages to AccountsHashVerifier (#58)
brooksprumo Mar 4, 2024
6263537
blockstore_purge: fix inspect -> inspect_err (#66)
AshwinSekar Mar 5, 2024
661de5b
Rpc: deprecate `getStakeActivation` and make inactive_stake consisten…
CriesofCarrots Mar 5, 2024
b78c070
windows: Use vcpkg for openssl dep (#73)
joncinque Mar 5, 2024
1e133bc
Increases account hash's stack buffer to hold 200 bytes of data (#56)
brooksprumo Mar 5, 2024
ce34f3f
Rename and uniquify QUIC thread names (#28)
steviez Mar 5, 2024
1110fc9
Give SigVerify and ShredFetch threads unique names (#98)
steviez Mar 6, 2024
3cf4834
Cli: improve vote-account vote-authority display (#95)
CriesofCarrots Mar 6, 2024
b6f6fdb
frozen-abi: Remove proc_macro_hygiene featurization (#109)
joncinque Mar 6, 2024
c161351
assert simple vote tx const cost (#100)
tao-stones Mar 6, 2024
b38ea41
Use tokio directly instead of jsonrpc_server_utils's re-export (#116)
steviez Mar 6, 2024
184b31c
fix typo (#57)
bw-solana Mar 6, 2024
8887cd1
Name previously unnamed thread pool threads (#104)
steviez Mar 6, 2024
9cc5534
Refactor transaction account unlocking (#103)
jstarry Mar 7, 2024
f968532
Prep Anchor downstream CI job for v2 bump (#123)
CriesofCarrots Mar 7, 2024
0bf9ec8
[TieredStorage] Deprecate the use of account-hash in HotStorage (#93)
yhchiang-sol Mar 7, 2024
adefcbb
Add support for partial tx batch unlocking (#110)
jstarry Mar 7, 2024
7018d5b
Introduce SchedulingStateMachine
ryoqun Feb 22, 2024
8a14133
Apply all typo fixes from code review
ryoqun Feb 24, 2024
8b223f6
Update word wrapping
ryoqun Feb 24, 2024
7d026ee
Clarify Token::assume_exclusive_mutating_thread()
ryoqun Feb 24, 2024
9425b91
Use slice instead of &Vec<_>
ryoqun Feb 24, 2024
061d676
Improve non-const explanation
ryoqun Feb 25, 2024
94c1c4d
Document consecutive readonly rescheduling opt.
ryoqun Feb 25, 2024
cc636e3
Make test_gradual_locking terminate for miri
ryoqun Feb 25, 2024
10fd7c1
Avoid unnecessary Task::clone()
ryoqun Feb 26, 2024
cb35a04
Rename: lock_{status,result} and no attempt_...()
ryoqun Feb 26, 2024
b005e6d
Add safety comment for get_account_locks_unchecked
ryoqun Feb 28, 2024
fa97550
Reduce and comment about Page::blocked_tasks cap.
ryoqun Feb 28, 2024
0df7364
Document SchedulingStateMachine::schedule_task()
ryoqun Feb 28, 2024
e2cb522
Add justification of closure in create_task
ryoqun Feb 28, 2024
46eb4e1
Use the From trait for PageUsage
ryoqun Feb 28, 2024
1fbf541
Replace unneeded if-let with .expect()
ryoqun Feb 29, 2024
610cfc3
Add helpful comments for peculiar crossbeam usage
ryoqun Feb 29, 2024
30874a8
Fix typo
ryoqun Feb 29, 2024
048cbea
Make bug-bounty-exempt statement more clear
ryoqun Feb 29, 2024
0940ecb
Add test_enfoced_get_account_locks_verification
ryoqun Feb 29, 2024
4d6d5c7
Fix typos...
ryoqun Feb 29, 2024
6e1f8de
Big rename: Page => UsageQueue
ryoqun Feb 29, 2024
624436a
Document UsageQueueLoader
ryoqun Feb 29, 2024
64b2c11
Various minor cleanings for beautifier diff
ryoqun Feb 29, 2024
763f355
Ensure reinitialize() is maintained for new fields
ryoqun Mar 1, 2024
1256ad3
Remove uneeded impl Send for TokenCell & doc upd.
ryoqun Mar 7, 2024
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
3 changes: 3 additions & 0 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ if semverGT "$project_used_solana_version" "$SOLANA_VER"; then
fi

./patch.crates-io.sh "$SOLANA_DIR"

# anza migration stopgap. can be removed when agave is fully recommended for public usage.
sed -i 's/solana-geyser-plugin-interface/agave-geyser-plugin-interface/g' ./Cargo.toml
6 changes: 2 additions & 4 deletions .github/workflows/release-artifacts-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ concurrency:

jobs:
release-artifacts:
if: github.repository == 'solana-labs/solana'
if: github.repository == 'anza-xyz/agave'
uses: ./.github/workflows/release-artifacts.yml
with:
commit: ${{ github.sha }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL: ${{ secrets.GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL }}

error_reporting:
needs:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release-artifacts-manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ jobs:
with:
commit: ${{ github.event.inputs.commit }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL: ${{ secrets.GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL }}
53 changes: 19 additions & 34 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ on:
required: false
type: string
secrets:
AWS_ACCESS_KEY_ID:
required: true
AWS_SECRET_ACCESS_KEY:
required: true
AWS_S3_BUCKET:
GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL:
required: true

jobs:
Expand Down Expand Up @@ -47,17 +43,8 @@ jobs:
id: build
shell: bash
run: |
choco install openssl --version=3.1.1
if [[ -d "C:\Program Files\OpenSSL" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL"
export OPENSSL_DIR="C:\Program Files\OpenSSL"
elif [[ -d "C:\Program Files\OpenSSL-Win64" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL-Win64"
export OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"
else
echo "can't determine OPENSSL_DIR"
exit 1
fi
vcpkg install openssl:x64-windows-static-md
vcpkg integrate install
choco install protoc
export PROTOC="C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe"
source /tmp/env.sh
Expand All @@ -71,19 +58,19 @@ jobs:
shell: bash
run: |
FOLDER_NAME=${{ steps.build.outputs.tag || steps.build.outputs.channel }}
mkdir -p "github-action-s3-upload/$FOLDER_NAME"
cp -v "solana-release-x86_64-pc-windows-msvc.tar.bz2" "github-action-s3-upload/$FOLDER_NAME/"
cp -v "solana-release-x86_64-pc-windows-msvc.yml" "github-action-s3-upload/$FOLDER_NAME/"
cp -v "solana-install-init-x86_64-pc-windows-msvc"* "github-action-s3-upload/$FOLDER_NAME"
mkdir -p "windows-release/$FOLDER_NAME"
cp -v "solana-release-x86_64-pc-windows-msvc.tar.bz2" "windows-release/$FOLDER_NAME/"
cp -v "solana-release-x86_64-pc-windows-msvc.yml" "windows-release/$FOLDER_NAME/"
cp -v "agave-install-init-x86_64-pc-windows-msvc"* "windows-release/$FOLDER_NAME"

- name: Upload Artifacts
if: ${{ steps.build.outputs.channel != '' || steps.build.outputs.tag != '' }}
uses: actions/upload-artifact@v3
with:
name: windows-artifact
path: github-action-s3-upload/
path: windows-release/

windows-s3-upload:
windows-gcs-upload:
if: ${{ needs.windows-build.outputs.channel != '' || needs.windows-build.outputs.tag != '' }}
needs: [windows-build]
runs-on: ubuntu-20.04
Expand All @@ -92,18 +79,16 @@ jobs:
uses: actions/download-artifact@v3
with:
name: windows-artifact
path: ./github-action-s3-upload
path: ./windows-release

- name: Upload
uses: jakejarvis/s3-sync-action@master
- name: Setup crediential
uses: "google-github-actions/auth@v2"
with:
args: --acl public-read --follow-symlinks
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: "us-west-1"
SOURCE_DIR: "github-action-s3-upload"
credentials_json: "${{ secrets.GCS_RELEASE_BUCKET_WRITER_CREDIENTIAL }}"

- name: Upload files to GCS
run: |
gcloud storage cp --recursive windows-release/* gs://anza-release/

windows-gh-release:
if: ${{ needs.windows-build.outputs.tag != '' }}
Expand All @@ -114,12 +99,12 @@ jobs:
uses: actions/download-artifact@v3
with:
name: windows-artifact
path: ./github-action-s3-upload
path: .windows-release/

- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ needs.windows-build.outputs.tag }}
draft: true
files: |
github-action-s3-upload/${{ needs.windows-build.outputs.tag }}/*
windows-release/${{ needs.windows-build.outputs.tag }}/*
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pull_request_rules:
actions:
request_reviews:
teams:
- "@solana-labs/community-pr-subscribers"
- "@anza-xyz/community-pr-subscribers"
- name: label changes from monorepo-triage
conditions:
- author≠@core-contributors
Expand All @@ -50,7 +50,7 @@ pull_request_rules:
- name: automatic merge (squash) on CI success
conditions:
- and:
- status-success=buildkite/solana
- status-success=buildkite/agave
- status-success=ci-gate
- label=automerge
- label!=no-automerge
Expand Down Expand Up @@ -102,7 +102,7 @@ pull_request_rules:
actions:
backport:
assignees: &BackportAssignee
- "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@solana-labs/community-pr-subscribers')) }}"
- "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@anza-xyz/community-pr-subscribers')) }}"
title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"
ignore_conflicts: true
labels:
Expand Down
94 changes: 0 additions & 94 deletions .travis.yml

This file was deleted.

Loading
Loading