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

pr634 1.17 new filter #657

Closed
wants to merge 213 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
3a49a00
Update version to v1.17.1 (#33489)
willhickey Oct 3, 2023
f9c87c9
v1.17: Refactor - `LoadedPrograms` (backport of #33482) (#33491)
mergify[bot] Oct 3, 2023
b90f08f
v1.17: Deprecate bz2/gzip/none/tar snapshot compression types (backpo…
mergify[bot] Oct 3, 2023
184b17f
v1.17: ci: remove stable-perf from PR and push CI (backport of #33479…
mergify[bot] Oct 4, 2023
d75522d
v1.17: Enable the banking trace by default (backport of #33497) (#33514)
mergify[bot] Oct 4, 2023
2bfe99c
v1.17: initialize with new VoteState for tests (backport of #33518) (…
mergify[bot] Oct 4, 2023
9318394
v1.17: Bank: Add function to replace empty account with upgradeable p…
mergify[bot] Oct 5, 2023
3972d9c
v1.17: Fix CLI help text for `solana stake-account` (backport of #333…
mergify[bot] Oct 5, 2023
05bbaf3
v1.17: Removes unnecessary borrow (backport of #33539) (#33541)
mergify[bot] Oct 5, 2023
3cdee9b
v1.17: Upgrades Rust to 1.73.0 (backport of #33546) (#33563)
mergify[bot] Oct 6, 2023
a330ffc
v1.17: Improves error text when snapshot intervals are incompatible (…
mergify[bot] Oct 6, 2023
194903c
v1.17: Uses stable `u64::next_multiple_of()` (backport of #33549) (#3…
mergify[bot] Oct 6, 2023
c534100
v1.17: update feature gate no-op program id (backport of #33535) (#33…
mergify[bot] Oct 6, 2023
542b53e
Update version to v1.17.2 (#33573)
willhickey Oct 7, 2023
c45c9dc
v1.17: Stops pushing legacy snapshot hashes to crds (backport of #335…
mergify[bot] Oct 10, 2023
534d592
v1.17: skip unrecognized keys in Blockstore special-column iterators …
CriesofCarrots Oct 10, 2023
d7dc802
v1.17: Fix - CPI interface `bool` masking (backport of #33623) (#33625)
mergify[bot] Oct 10, 2023
0e2bded
v1.17: Allow to create HTTP Sender with custom Client (backport of #3…
mergify[bot] Oct 11, 2023
c6fadb7
v1.17: docs: Removes accounts-on-ramdisk section (backport of #33655)…
mergify[bot] Oct 11, 2023
eceba1c
v1.17: Update hashes per tick with feature gates (backport of #33600)…
mergify[bot] Oct 11, 2023
e1278e2
v1.17: Adds `--no-skip-initial-accounts-db-clean` *hidden* CLI flag (…
mergify[bot] Oct 12, 2023
c96223b
v1.17: Prevent delay_visibility_of_program_deployment feature from ca…
mergify[bot] Oct 13, 2023
8d27072
v1.17: validator: skip health check (backport of #33568) (#33588)
mergify[bot] Oct 13, 2023
10b00df
v1.17: bank: do not remove trailing 0 bytes from return data (backpor…
mergify[bot] Oct 13, 2023
02f9c97
v1.17: Refactor - LoadedPrograms part 2 (backport of #33694) (#33695)
mergify[bot] Oct 13, 2023
05ebb1f
v1.17: Change getHealth to compare optimistically confirmed slots (ba…
mergify[bot] Oct 16, 2023
dfa5829
Prepare changelog for v1.17.2 (#33638)
willhickey Oct 16, 2023
944375b
Update version to v1.17.3 (#33721)
willhickey Oct 16, 2023
8af8234
v1.17: Enable frozen_abi on banking trace file (backport of #33501) (…
mergify[bot] Oct 17, 2023
37a7350
v1.17: remove redundant pubkey update record (backport of #33722) (#3…
mergify[bot] Oct 17, 2023
eb31c69
v1.17: down samples outgoing gossip pull requests (backport of #33719…
mergify[bot] Oct 18, 2023
ab99086
v1.17: token-2022: Update to use program build with zk-ops enabled (b…
mergify[bot] Oct 18, 2023
e76dd77
v1.17: Fix non-determinism in account_hash_ignore_slot on genesis (ba…
mergify[bot] Oct 19, 2023
423de49
v1.17: program error: add `InvalidAccountOwner` (backport of #33766) …
mergify[bot] Oct 19, 2023
945daef
v1.17: SDK: update error variants in `Feature::from_account_info` (ba…
mergify[bot] Oct 20, 2023
d550015
v1.17: program error: add `ArithmeticOverflow` (backport of #33767) (…
mergify[bot] Oct 20, 2023
ae1bfff
v1.17: separates out routing repair requests from establishing connec…
mergify[bot] Oct 20, 2023
685e329
v1.17: docs: move rpc info to rpc docs (backport of #33723) (#33738)
mergify[bot] Oct 20, 2023
de407ad
v1.17: separates out routing shreds from establishing connections (ba…
mergify[bot] Oct 20, 2023
f3308f7
v1.17: prunes repair QUIC connections (backport of #33775) (#33792)
mergify[bot] Oct 20, 2023
c9e8f9c
v1.17: [zk-token-sdk] Limit max seed length for key derivations (back…
mergify[bot] Oct 20, 2023
a5188a4
Update version to v1.17.4 (#33799)
willhickey Oct 20, 2023
9021d22
v1.17: Bump solana_rbpf to v0.8.0 (backport of #33679) (#33793)
mergify[bot] Oct 21, 2023
cc4b71a
v1.17: Set a global fork graph in program cache (backport of #33776) …
mergify[bot] Oct 21, 2023
a186c5c
v1.17: prunes turbine QUIC connections (backport of #33663) (#33800)
mergify[bot] Oct 23, 2023
22f44d0
v1.17: Initialize fork graph in program cache during bank_forks crea…
mergify[bot] Oct 23, 2023
8512595
v1.17: Update Solang Solidity compiler to v0.3.3 (backport of #33830)…
mergify[bot] Oct 24, 2023
0471732
v1.17: adds metrics to turbine QUIC endpoint (backport of #33819) (#3…
mergify[bot] Oct 24, 2023
5bd9969
v1.17: [zk-token-sdk] Check that discrete log compression batch size …
mergify[bot] Oct 24, 2023
0559bc1
v1.17: docs: outline requirement of stake in order to vote (backport …
mergify[bot] Oct 25, 2023
bfab9bb
v1.17: Use program cache fork graph in extract() (backport of #33806)…
mergify[bot] Oct 25, 2023
5fa23d9
v1.17: adds metrics to repair QUIC endpoint (backport of #33818) (#33…
mergify[bot] Oct 25, 2023
84d5fff
v1.17: Update upload_confirmed_blocks() return value when no blocks t…
mergify[bot] Oct 26, 2023
42fcac8
v1.17: BigtableUploadService: increment start_slot to prevent recheck…
mergify[bot] Oct 26, 2023
ed4dcf9
v1.17: ci: fixed sccache version for sccache-action (backport of #339…
mergify[bot] Oct 27, 2023
ae7d742
v1.17: revert programify feature gate (backport of #33897) (#33905)
mergify[bot] Oct 27, 2023
b948b2b
v1.17: [zk-token-proof] Round compute units to nice numbers (backport…
mergify[bot] Oct 28, 2023
2e5a20f
v1.17: Retry hash file allocation (backport of #33565) (#33918)
mergify[bot] Oct 30, 2023
1d2609e
Update version to v1.17.5 (#33931)
willhickey Oct 31, 2023
e206ea9
v1.17: rekey stake redelegate feature (backport of #33957) (#33958)
mergify[bot] Nov 6, 2023
561c95c
v1.17: Geyser: return real parent blockhash, or default (backport of …
mergify[bot] Nov 6, 2023
9779588
v1.17: Burn fees collected into invalid accounts (backport of #33887)…
mergify[bot] Nov 6, 2023
4f5340e
v1.17: expands transport configs in turbine QUIC endpoint (backport o…
mergify[bot] Nov 8, 2023
6209b3b
v1.17: adds keep-alive-interval to repair QUIC transport config (back…
mergify[bot] Nov 9, 2023
956eacb
v1.17: Feature - Epoch boundary recompilation phase (backport of #334…
mergify[bot] Nov 9, 2023
7089f1e
v1.17: Add --release-with-debug option to cargo-install-all.sh (backp…
mergify[bot] Nov 10, 2023
99e8310
v1.17: ci: add the ability to use GCS backend for sccache (backport o…
mergify[bot] Nov 11, 2023
6418bf3
Bump version to v1.17.6 (#34025)
yihau Nov 12, 2023
353aa64
v1.17: CLI remove unwrap_or_default() on rpc calls (backport of #3378…
mergify[bot] Nov 14, 2023
b767847
v1.17: cpi: fix capacity check in update_caller_account (backport of …
mergify[bot] Nov 15, 2023
7a198e8
v1.17: propagates the new contact-info through gossip (backport of #3…
mergify[bot] Nov 15, 2023
d64ae17
v1.17: validator: deprecates `--disable-accounts-disk-index` (backpor…
mergify[bot] Nov 15, 2023
a9d5a5b
v1.17: cli: Hides the filler accounts args (backport of #34113) (#34117)
mergify[bot] Nov 16, 2023
cf1d9d4
v1.17: Fix - `Bank::compute_active_feature_set()` and `Bank::apply_fe…
mergify[bot] Nov 17, 2023
0a195ad
v1.17: [zk-token-proof] Feature gate transfer with fee related proofs…
mergify[bot] Nov 17, 2023
61caae6
v1.17: ancient shrink on its own cadence (backport of #33712) (#34060)
mergify[bot] Nov 17, 2023
89906d8
Update version to v1.17.7 (#34157)
willhickey Nov 20, 2023
3776775
v1.17: Do not prune cache entry if the runtime environment is differe…
mergify[bot] Nov 20, 2023
7800f0e
v1.17: [zk-token-sdk] Add a length check on range proof commitment le…
mergify[bot] Nov 21, 2023
6bc02d5
v1.17: [zk-token-sdk] Restrict range proof generator length and preve…
mergify[bot] Nov 21, 2023
75b59c1
v1.17: check vote costs against block limits in would_fit (backport o…
mergify[bot] Nov 23, 2023
b12ee21
v1.17: Uses Display for error in VerifyAccountsHashInBackground's pan…
mergify[bot] Nov 27, 2023
4d79fd7
v1.17: direct_mapping: fix iter_memory_pair_chunks in reverse mode (b…
mergify[bot] Nov 27, 2023
67bfb48
v1.17: bigtable: fix AccessToken issues (backport of #34213) (#34238)
mergify[bot] Nov 28, 2023
4d0ccab
v1.17: cpi: direct_mapping: always zero spare capacity if account all…
mergify[bot] Nov 28, 2023
d353453
v1.17: direct_mapping: disable stack frame gaps (backport of #34254) …
mergify[bot] Nov 29, 2023
a55711d
v1.17: Increase pull request clusterinfo probability (backport of #34…
mergify[bot] Nov 29, 2023
ff1d9a6
v1.17: Output BankHashDetails file when leader drops its' own block (…
mergify[bot] Nov 30, 2023
4abd18f
v1.17: Skip shrink until startup verification is complete (backport o…
mergify[bot] Nov 30, 2023
fca44b7
v1.17: Allow Blockstore to open unknown columns (backport of #34174) …
mergify[bot] Nov 30, 2023
fdaa4ca
Update version to v1.17.8 (#34293)
willhickey Dec 1, 2023
da2dadd
v1.17: add merkle root meta column to blockstore (backport of #33979)…
mergify[bot] Dec 1, 2023
e3bd31c
v1.17: exits send_requests_task if the connection is closed (backport…
mergify[bot] Dec 5, 2023
a665996
v1.17: exits send_datagram_task if the connection is closed (backport…
mergify[bot] Dec 5, 2023
311e986
v1.17: patches slots_per_epoch vs last_slot ordering in shred_fetch_s…
mergify[bot] Dec 6, 2023
d17243f
v1.17: Fix - Removes redundant `TotalBatchesLen` from `ThreadExecuteT…
mergify[bot] Dec 7, 2023
22f4694
v1.17: shred: expose merkle root for use in blockstore (backport of #…
mergify[bot] Dec 7, 2023
fe8f77e
v1.17: adds feature gated code to drop legacy shreds (backport of #34…
mergify[bot] Dec 7, 2023
d1858aa
v1.17: Fix `solana-address-lookup-table-program` compilation (backpor…
mergify[bot] Dec 7, 2023
4b10458
v1.17: Comment sysvar and builtin lists as deprecated and remove new …
mergify[bot] Dec 8, 2023
7036ea0
v1.17: chore: Update light-poseidon to 0.2.0 (backport of #33923) (#3…
mergify[bot] Dec 8, 2023
01306a6
v1.17: tokens: fix url clap arg name (backport of #34371) (#34375)
mergify[bot] Dec 9, 2023
78e7796
Update version to v1.17.9 (#34378)
willhickey Dec 9, 2023
daf3730
v1.17: Add metrics for locking the blockhash queue in banking stage (…
mergify[bot] Dec 9, 2023
b9fc948
v1.17: ci: add macos clippy test (backport of #34272) (#34388)
mergify[bot] Dec 10, 2023
9f51f5d
Update version to v1.17.10 (#34394)
willhickey Dec 10, 2023
222ca9b
v1.17: Cleanup - program runtime (backport of #34318) (#34413)
mergify[bot] Dec 12, 2023
0b6a172
v1.17: Fix - Uses `fetch_add()` to accumulate usage counters in `Load…
mergify[bot] Dec 12, 2023
8b2c1a5
v1.17: changelog: Adds --use-snapshot-archives-at-startup to v1.17.0 …
mergify[bot] Dec 13, 2023
928e384
v1.17: Patch tokio to vendored version (backport of #34240) (#34435)
mergify[bot] Dec 13, 2023
28e8af4
V1.17.11 version bump (#34451)
steviez Dec 14, 2023
4d131b0
blockstore: Allow fallback for AddressSignature index() (#34440)
steviez Dec 14, 2023
ca34005
v1.17: Set root slot/epoch in cache constructor (backport of #34447) …
mergify[bot] Dec 14, 2023
e191d8d
v1.17: Refactor - `ExtractedPrograms` (backport of #34205) (#34351)
mergify[bot] Dec 14, 2023
96d57e8
v1.17: CI: add check for explicit spl-token-cli version (backport of …
mergify[bot] Dec 14, 2023
509b9b9
v1.17: [zk-token-sdk] Fix range proof transcript seed typo (backport …
mergify[bot] Dec 14, 2023
ec87ec9
v1.17: makes last erasure batch size >= 64 shreds (backport of #34330…
mergify[bot] Dec 15, 2023
492eb24
Update version to v1.17.12 (#34492)
willhickey Dec 16, 2023
5787b48
v1.17 - Cooperative Program Loading (#34487)
Lichtso Dec 16, 2023
aaa266e
Update version to v1.17.13 (#34496)
willhickey Dec 17, 2023
9a328fb
v1.17: build(deps): bump zerocopy from 0.7.15 to 0.7.31 (backport of …
mergify[bot] Dec 18, 2023
8301417
v1.17: cargo-install-all: use full path for sourcing (backport of #34…
mergify[bot] Dec 19, 2023
f7a655f
v1.17: replay: feature flag consumption of duplicate proofs from bloc…
mergify[bot] Dec 19, 2023
907b904
v1.17: disables turbine and repair QUIC endpoints on mainnet-beta (ba…
mergify[bot] Dec 19, 2023
b9aaedb
v1.17: Add feature flag for LastIndex and Erasure duplicate proofs (b…
mergify[bot] Dec 20, 2023
de35043
v1.17: Cargo needs version arg after subcommand (backport of #34547) …
mergify[bot] Dec 20, 2023
ef1fb9e
v1.17: ledger-tool: support v0 transactions in blocks from bigtable (…
mergify[bot] Dec 21, 2023
6a0ac90
Update version to v1.17.14 (#34563)
willhickey Dec 21, 2023
069612e
v1.17: ci: split cargo-clippy into stable and nightly (backport of #3…
mergify[bot] Dec 21, 2023
32c8963
v1.17: Add ContactInfo handling for shred versioning (backport of #34…
mergify[bot] Dec 21, 2023
bbdce0f
v1.17: spl: Bump token-2022 to v1 (backport of #34412) (#34572)
mergify[bot] Dec 22, 2023
12d5be0
v1.17: Throttle unstaked quic streams for a given connection (backpor…
mergify[bot] Dec 22, 2023
7f7ad61
v1.17: rekey stake limit feature (backport of #34503) (#34508)
mergify[bot] Dec 22, 2023
7d41bc4
v1.17: rekey partitioned epoch rewards (backport of #34502) (#34571)
mergify[bot] Dec 22, 2023
cc7c59a
v1.17: add metrics on throttled streams (backport of #34579) (#34582)
mergify[bot] Dec 23, 2023
731d42f
Update version to v1.17.15 (#34627)
willhickey Jan 3, 2024
9c09b16
v1.17: pin ahash to 0.8.4 (#34636)
yihau Jan 3, 2024
cc0e9a0
v1.17: Logs the number of storages kept alive by fastboot (backport o…
mergify[bot] Jan 5, 2024
fc77855
Update version to v1.17.16 (#34680)
willhickey Jan 7, 2024
66eacff
v1.17: Adds newline to fastboot's CLI help (backport of #34712) (#34719)
mergify[bot] Jan 10, 2024
6af8e3b
v1.17: check plugin name on plugin_reload rpc call (backport of #3358…
mergify[bot] Jan 10, 2024
07acb46
v1.17: Bigtable: update google proto files and allow configuration of…
mergify[bot] Jan 11, 2024
0aea75a
v1.17: [zk-token-proof] include `VerifyBatchRangeProofU256` in the `e…
mergify[bot] Jan 12, 2024
cb6aef7
Bump version to v1.17.17 (#34804)
yihau Jan 17, 2024
35b7df1
v1.17: ci: use openssl 3.1.1 for Windows build (backport of #34795) (…
mergify[bot] Jan 17, 2024
fbb11a8
v1.17: Bump h2 to v0.3.24 (#34823)
CriesofCarrots Jan 18, 2024
3eae1c4
v1.17: sdk: add bounds check when instantiating `Keypair` from byte a…
mergify[bot] Jan 18, 2024
407dfba
v1.17: pin ahash to 0.8.5 (#34802)
yihau Jan 18, 2024
d878262
v1.17: rpc: parse token accounts in simulate_transaction (backport of…
mergify[bot] Jan 20, 2024
7e18276
v1.17: [zk-token-sdk] Restrict Edwards and Ristretto multiscalar mult…
mergify[bot] Jan 20, 2024
27a4380
v1.17: geyser: allow custom name in config file (backport of #33550) …
mergify[bot] Jan 20, 2024
3261de4
v1.17: Fix versioned message json deserialization (backport of #34808…
mergify[bot] Jan 21, 2024
6c8a23a
Update version to v1.17.18 (#34866)
willhickey Jan 21, 2024
cdda274
v1.17: bump shlex to 1.3.0 (#34880)
yihau Jan 23, 2024
74b0830
v1.17: Pin spl-token-cli to 3.3.0 (#34920)
joncinque Jan 24, 2024
de8415c
Allow some minimum number of streams for a staked connection - v1.17 …
pgarg66 Jan 24, 2024
dd28fd5
v1.17: Cleans up stale accounts hash cache files (backport of #34933)…
mergify[bot] Jan 24, 2024
11be41d
Update version to v1.17.19 (#34986)
willhickey Jan 27, 2024
b8ac425
v1.17: ci: publish crates directly (backport of #34794) (#34868)
mergify[bot] Jan 28, 2024
a4621d8
v1.17: Fix - LoadedPrograms statistics (backport of #35026) (#35050)
mergify[bot] Feb 5, 2024
fad585e
Backport - feature `disable_bpf_loader_instructions` to v1.17 (#35093)
Lichtso Feb 6, 2024
4f00402
Version bump v1.17.20 (#35105)
yihau Feb 6, 2024
09e0300
Feature - `disable_bpf_loader_instructions` (#35104)
Lichtso Feb 6, 2024
4ae690d
Bump version to v1.17.21 (#35106)
yihau Feb 6, 2024
5bf32b4
v1.17: Upgrade sbf tests to use bpf loader v3 (backport of #34691) (#…
mergify[bot] Feb 10, 2024
113eca2
Update version to v1.17.22 (#35184)
willhickey Feb 12, 2024
08c78a5
Implements a proper insertion sort with a two key comparison operator…
Lichtso Feb 10, 2024
62a809f
Reformulates the controlflow to use less nesting.
Lichtso Feb 10, 2024
0895cb8
Add slot based feature
Lichtso Feb 10, 2024
da2078d
Add limit to looping in banking-stage
sakridge Feb 10, 2024
dbf06e2
Revert "Add slot based feature"
Lichtso Feb 12, 2024
04941ee
v1.17.22 ==> v1.17.23 version bump (#35188)
steviez Feb 13, 2024
17eb75a
v1.17: Report lost_insertions metrics correctly (backport of #35191) …
mergify[bot] Feb 15, 2024
d56a083
v1.17: replay: reload tower if set-identity during startup (backport …
mergify[bot] Feb 20, 2024
07b69c9
v1.17: validator: ignore too old tower error (backport of #35229) (#3…
mergify[bot] Feb 21, 2024
5b24097
v1.17: validator: include waited_for_supermajority in startup metric …
mergify[bot] Feb 22, 2024
ee1365a
Update version to v1.17.24 (#35313)
willhickey Feb 24, 2024
1390ec9
v1.17: Adds more info to panic message in AccountsHashVerifier (backp…
mergify[bot] Mar 1, 2024
d0ed878
Update version to v1.17.25 (#35406)
willhickey Mar 3, 2024
326bd24
v1.17: [anza migration] ci (backport of #5) (#11)
mergify[bot] Feb 22, 2024
3cc220c
v1.17: [anza migration] backport of #6, #8, #9 (#13)
mergify[bot] Feb 22, 2024
8155a8c
v1.17: [anza migration] rename crates
yihau Mar 3, 2024
527b75b
v1.17: ignore mio audit report (#76)
yihau Mar 5, 2024
bc3ab0f
(v1.17) CI: Checkout v1.17 branch from SPL for downstream job (#108)
joncinque Mar 6, 2024
0ef1f65
v1.17: Display error message while loading geyser plugins (#33990) (#97)
CriesofCarrots Mar 7, 2024
9b22f28
v1.17: Remove unnecessary unwrap from `simulate_transaction_unchecked…
pgarg66 Mar 9, 2024
b72e645
Bump version to v1.17.26 (#168)
yihau Mar 11, 2024
24c870b
v1.17: [anza migration] ci: fix Windows gh release pipeline (backport…
mergify[bot] Mar 12, 2024
2332aee
v1.17: add precompile signature metrics to cost tracker (backport of …
mergify[bot] Mar 13, 2024
74e40fb
V1.17.27 version bump (#231)
steviez Mar 13, 2024
3809dc0
v1.17: [anza migration] Sets client id to Agave (backport of #163) (#…
mergify[bot] Mar 14, 2024
3933635
v1.17: vote: deprecate unused legacy vote tx plumbing (backport of #2…
mergify[bot] Mar 18, 2024
31e37b8
Update version to v1.17.28 (#286)
willhickey Mar 18, 2024
af153cb
v1.17: [anza migration]: add 'agave=info' to default log level (backp…
mergify[bot] Mar 18, 2024
29c004c
v1.17: Make the quic server connection table use an async lock, reduc…
mergify[bot] Mar 18, 2024
4d499a3
v1.17: [anza migration] fix: use the correct log filter for non-unix …
mergify[bot] Mar 19, 2024
6234bc9
[anza migration] v1.17: Use agave prefix in scripts for pre-installed…
mergify[bot] Mar 21, 2024
11d4156
v1.17: [anza migration]: fix download link for net scripts (backport …
mergify[bot] Mar 21, 2024
d06a0a4
v1.17: blockstore: relax parent slot meta check for clear_unconfirmed…
AshwinSekar Mar 21, 2024
adc63fb
v1.17: rpc-sts: add config options for stake-weighted qos (backport o…
mergify[bot] Mar 21, 2024
749c529
v1.17: Discard packets statically known to fail (backport of #370) (#…
mergify[bot] Mar 21, 2024
3abd233
Update version to v1.17.29 (#407)
willhickey Mar 23, 2024
f94b53c
v1.17: ci: add release pipeline (backport of #466) (#486)
mergify[bot] Mar 29, 2024
b2ad8fb
v1.17: ci: fix some issues for the release pipeline (backport of #493…
mergify[bot] Mar 29, 2024
5670a20
Bump version to v1.17.30 (#500)
github-actions[bot] Mar 29, 2024
8545209
v1.17: Bump h2 (backport of #570) (#608)
mergify[bot] Apr 5, 2024
2199f6e
Adjust receive window to make them linear to the count of streams (#3…
lijunwangs Apr 5, 2024
e3006ce
net-utils: support SO_REUSEPORT
t-nelson Apr 5, 2024
0b12b21
tpu: use multiple quic endpoints
alessandrod Apr 2, 2024
496dea3
cluster-info: manage port range by hand...
t-nelson Apr 6, 2024
66da8ca
local-cluster: keep udp tpu socket around for tests
Apr 7, 2024
0265c5f
Fixed unit test failures
lijunwangs Apr 7, 2024
d8daff8
use feature all to fix build
Apr 8, 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
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ fi

export SBF_TOOLS_VERSION

SCCACHE_S3_KEY_PREFIX="${rust_stable}_${rust_nightly}_${SBF_TOOLS_VERSION}"
SCCACHE_KEY_PREFIX="${rust_stable}_${rust_nightly}_${SBF_TOOLS_VERSION}"
export SCCACHE_KEY_PREFIX

SCCACHE_S3_KEY_PREFIX="$SCCACHE_KEY_PREFIX"
export SCCACHE_S3_KEY_PREFIX

SCCACHE_GCS_KEY_PREFIX="$SCCACHE_KEY_PREFIX"
export SCCACHE_GCS_KEY_PREFIX
17 changes: 17 additions & 0 deletions .github/scripts/cargo-clippy-before-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -e

os_name="$1"

case "$os_name" in
"Windows")
;;
"macOS")
brew install protobuf
;;
"Linux") ;;
*)
echo "Unknown Operating System"
;;
esac
4 changes: 3 additions & 1 deletion .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source "$here"/../../ci/downstream-projects/common.sh

set -x
rm -rf spl
git clone https://github.com/solana-labs/solana-program-library.git spl
git clone https://github.com/solana-labs/solana-program-library.git spl -b v1.17

# copy toolchain file to use solana's rust version
cp "$SOLANA_DIR"/rust-toolchain.toml spl/
Expand All @@ -22,3 +22,5 @@ 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
71 changes: 71 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Cargo

on:
push:
branches:
- master
- v[0-9]+.[0-9]+
pull_request:
branches:
- master
- v[0-9]+.[0-9]+
paths:
- "**.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/scripts/cargo-clippy-before-script.sh"
- ".github/workflows/cargo.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
clippy-stable:
strategy:
matrix:
os:
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: .github/scripts/cargo-clippy-before-script.sh ${{ runner.os }}

- shell: bash
run: |
source ci/rust-version.sh stable
rustup component add clippy --toolchain "$rust_stable"
scripts/cargo-clippy-stable.sh

clippy-nightly:
strategy:
matrix:
os:
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: .github/scripts/cargo-clippy-before-script.sh ${{ runner.os }}

- shell: bash
run: |
source ci/rust-version.sh nightly
rustup component add clippy --toolchain "$rust_nightly"
scripts/cargo-clippy-nightly.sh
6 changes: 6 additions & 0 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
.github/scripts/purge-ubuntu-runner.sh

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: |
Expand Down Expand Up @@ -90,6 +92,8 @@ jobs:
.github/scripts/purge-ubuntu-runner.sh

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: |
Expand Down Expand Up @@ -139,6 +143,8 @@ jobs:
.github/scripts/purge-ubuntu-runner.sh

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: |
Expand Down
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 }}
42 changes: 18 additions & 24 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,7 +43,7 @@ jobs:
id: build
shell: bash
run: |
choco install openssl
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"
Expand All @@ -71,19 +67,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 +88,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 +108,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 }}/*
89 changes: 89 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Release

on:
push:
tags:
- "*"

jobs:
trigger-buildkite-pipeline:
runs-on: ubuntu-latest
steps:
- name: Trigger a Buildkite Build
uses: "buildkite/trigger-pipeline-action@v2.0.0"
with:
buildkite_api_access_token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}
pipeline: "anza/agave-secondary"
branch: "${{ github.ref_name }}"
build_env_vars: '{"TRIGGERED_BUILDKITE_TAG": "${{ github.ref_name }}"}'
commit: "HEAD"
message: ":github: Triggered from a GitHub Action"

draft-release:
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: '${{ github.ref_name }}',
name: 'Release ${{ github.ref_name }}',
body: '🚧',
draft: false,
prerelease: true
})

version-bump:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Parse Info
id: parse_info
run: |
# get the next version
version=${{ github.ref_name }}
major=$(echo $version | cut -d'.' -f1)
minor=$(echo $version | cut -d'.' -f2)
patch=$(echo $version | cut -d'.' -f3)
next_version=$major.$minor.$((patch+1))
: "${next_version:?}"

# get the traget branch
target_branch=$major.$minor
: "${target_branch:?}"

echo "next_version=$next_version" | tee -a $GITHUB_OUTPUT
echo "target_branch=$target_branch" | tee -a $GITHUB_OUTPUT

- name: Create branch and make changes
run: |
next_version=${{ steps.parse_info.outputs.next_version }}

git checkout -b version-bump-$next_version
./scripts/increment-cargo-version.sh patch

git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git commit -am "Bump version to $next_version"
git push origin version-bump-$next_version

- name: Create PR
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'Bump version to ${{ steps.parse_info.outputs.next_version }}',
head: 'version-bump-${{ steps.parse_info.outputs.next_version }}',
base: '${{ steps.parse_info.outputs.target_branch }}'
})
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 @@ -80,7 +80,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
Loading
Loading