Skip to content

Commit 42be233

Browse files
committed
Jito Patch
only reroute if relayer connected (#123) feat: add client tls config (#121) remove extra val (#129) fix clippy (#130) copy all binaries to docker-output (#131) Ledger tool halts at slot passed to create-snapshot (#118) update program submodule (#133) quick fix for tips and clearing old bundles (#135) update submodule to new program (#136) Improve stake-meta-generator usability (#134) pinning submodule head (#140) Use BundleAccountLocker when handling tip txs (#147) Add metrics for relayer + block engine proxy (#149) Build claim-mev in docker (#141) Rework bundle receiving and add metrics (#152) (#154) update submodule + dev files (#158) Deterministically find tip amounts, add meta to stake info, and cleanup pubkey/strings in MEV tips (#159) update jito-programs submodule (#160) Separate MEV tip related workflow (#161) Add block builder fee protos (#162) fix jito programs (#163) update submodule so autosnapshot exits out of ledger tool early (#164) Pipe through block builder fee (#167) pull in new snapshot code (#171) block builder bug (#172) Pull in new slack autosnapshot submodule (#174) sort stake meta json and use int math (#176) add accountsdb conn submod (#169) Update tip distribution parameters (#177) new submodules (#180) Add buildkite link for jito CI (#183) Fixed broken links to repositories (#184) Changed from ssh to https transfer for clone Seg/update submods (#187) fix tests (#190) rm geyser submod (#192) rm dangling geyser references (#193) fix syntax err (#195) use deterministic req ids in batch calls (#199) update jito-programs revert cargo update Cargo lock update with path fix fix cargo update autosnapshot with block lookback (#201) [JIT-460] When claiming mev tips, skip accounts that won't have min rent exempt amount after claiming (#203) Add logging for sol balance desired (#205) * add logging * add logging * update msg * tweak vars update submodule (#204) use efficient data structures when calling batch_simulate_bundles (#206) [JIT-504] Add low balance check in uploading merkle roots (#209) add config to simulate on top of working bank (#211) rm frozen bank check simulate_bundle rpc bugfixes (#214) rm frozen bank check in simulate_bundle rpc method [JIT-519] Store ClaimStatus address in merkle-root-json (#210) * add files * switch to include bump update submodule (#217) add amount filter (#218) update autosnapshot (#222) Print TX error in Bundles (#223) add new args to support single relayer and block-engine endpoints (#224) point to new jito-programs submod and invoke updated init tda instruction (#228) fix clippy errors (#230) fix validator start scripts (#232) Point README to gitbook (#237) use packaged cargo bin to build (#239) Add validator identity pubkey to StakeMeta (#226) The vote account associated with a validator is not a permanent link, so log the validator identity as well. bugfix: conditionally compile with debug flags (#240) Seg/tip distributor master (#242) * validate tree nodes * fix unit tests * pr feedback * bump jito-programs submod Simplify bootstrapping (#241) * startup without precompile * update spacing * use release mode * spacing fix validation rm validation skip Account for block builder fee when generating excess tip balance (#247) Improve docker caching delay constructing claim mev txs (#253) fix stake meta tests from bb fee (#254) fix tests Buffer bundles that exceed cost model (#225) * buffer bundles that exceed cost model clear qos failed bundles buffer if not leader soon (#260) update Cargo.lock to correct solana versions in jito-programs submodule (#265) fix simulate_bundle client and better error handling (#267) update submod (#272) Preallocate Bundle Cost (#238) fix Dockerfile (#278) Fix Tests (#279) Fix Tests (#281) * fix tests update jito-programs submod (#282) add reclaim rent workflow (#283) update jito-programs submod fix clippy errs rm wrong assertion and swap out file write fn call (#292) Remove security.md (#293) demote frequent relayer_stage-stream_error to warn (#275) account for case where TDA exists but not allocated (#295) implement better retries for tip-distributor workflows (#297) limit number of concurrent rpc calls (#298) Discard Empty Packet Batches (#299) Identity Hotswap (#290) small fixes (#305) Set backend config from admin rpc (#304) Admin Shred Receiver Change (#306) Seg/rm bundle UUID (#309) Fix github workflow to recursively clone (#327) Add recursive checkout for downstream-project-spl.yaml (#341) Use cluster info functions for tpu (#345) Use git rev-parse for git sha Remove blacklisted tx from message_hash_to_transaction (#374) Updates bootstrap and start scripts needed for local dev. (#384) Remove Deprecated Cli Args (#387) Master Rebase improve simulate_bundle errors and response (#404) derive Clone on accountoverrides (#416) Add upsert to AccountOverrides (#419) update jito-programs (#430) [JIT-1661] Faster Autosnapshot (#436) Reverts simulate_transaction result calls to upstream (#446) Don't unlock accounts in TransactionBatches used during simulation (#449) first pass at wiring up jito-plugin (#428) [JIT-1713] Fix bundle's blockspace preallocation (#489) [JIT-1708] Fix TOC TOU condition for relayer and block engine config (#491) [JIT-1710] - Optimize Bundle Consumer Checks (#490) Add Blockhash Metrics to Bundle Committer (#500) add priority fee ix to mev-claim (#520) Update Autosnapshot (#548) Run MEV claims + reclaiming rent-exempt amounts in parallel. (#582) Update CI (#584) - Add recursive submodule checkouts. - Re-add solana-secondary step Add more release fixes (#585) Fix more release urls (#588) [JIT-1812] Fix blocking mutexs (#495) [JIT-1711] Compare the unprocessed transaction storage BundleStorage against a constant instead of VecDeque::capacity() (#587) Automatically rebase Jito-Solana on a periodic basis. Send message on slack during any failures or success. Fix periodic rebase #594 Fixes the following bugs in the periodic rebase: Sends multiple messages on failure instead of one Cancels entire job if one branch fails Ignore buildkite curl errors for rebasing and try to keep curling until job times out (#597) Sleep longer waiting for buildkite to start (#598) correctly initialize account overrides (#595) Fix: Ensure set contact info to UDP port instead of QUIC (#603) Add fast replay branch to daily rebase (#607) take a snapshot of all bundle accounts before sim (#13) (#615) update jito-programs submodule Add 2.0 to daily rebase (#626) Export agave binaries during docker build (#627) Buffer bundles that exceed processing time and make the allowed processing time longer (#611) Publish releases to S3 and GCS (#633) Rebase from different repos (#637) Point SECURITY.md to immunefi (#671) Loosen requirements on tip accounts touchable in BankingStage (#683) Separate out broadcast + retransmit shredstream (#703) Add packet flag for staked node (#705) Add auto-rebase to v2.1 (#739) Fix release github (#745) Move block_cost_limit tracking to BankingStage in preparation for SIMD-0207 (#753) Add precompile checks in BundleStage (#787) Add auto-rebase to v2.2 (#818) Add better error handling around missing transaction signatures for bundle id generation (#860) Remove unwrap from authentication (#861) Revert Jito-Solana WorkingBankEntry changes (#873) Add libclang to Dockerfile (#885) Remove the tip distributor code (#888) Rebase: Update anchor to not use deprecated crates Add TLS webpki roots back in (#933) Remove trusted relayer packets (#952) Fix shred retransmit (#954) Add daily v3.0 rebase (#972) [Master] Automatically use optimal Block Engine region (#974) Disable autoconfig (#995) Make shredstream optional (#997) Fix flaky test (#1027) Remove bundle reservation (#1025) Ensure execution-based failures are dropped (#1072) Update programs to newest tip distribution + tip payment code (#1063) Remove commented out code (#1074) Remove unused bundle committer (#1091) Fix bundle account locker TOCTOU (time of check time of use) bug (#1093) fix unstaked xdp retransmit to block engine (#1090) Bam Patch This commit contains the contents migrated from the bam repository here: https://github.com/jito-labs/bam-client Add BAM Connectivity Management Integration Tests (#1127) [Master] Shoot down block engine connection if BAM enabled (#1139) Fix priority graph TOCTOU (#1128) Dynamic Client Id (#1138) Set ClientId based on if it is actively connected to the BAM Node; with Jito-Solana being the default until a bam_connection exists. Simple ping pong response implementation (#1145) Problem Implement pong response from the validator Summary of Changes This PR implements a simple ping-pong response mechanism for the BAM (Block Auction Market) connection system. The changes add handling for incoming ping messages by responding with pong messages, along with corresponding metrics tracking. Changes: Added ping message handling in the outbound message processing loop Introduced three new metrics to track ping-related activity (ping_sent, outbound_ping_sent, outbound_ping_fail) Updated the bam-protos subproject commit reference Fix dockerfile warnings (#1174) [master] Reduce BAM Scheduler allocs, remove lock contention in consume_work (#1161) chore: fix cargo audit (#1184) Propagate RUST_LOG to bam-local-cluster & use a valid merkle root upload authority (#1196) Disconnect BAM when url is cleared (#1199) feat: add support for multiple shred receivers (#1200) Add documentation (#1214) Fix insert_new_batch slab-capacity check (#1215) Add a tag to scheduler metrics to distinguish between schedulers (#1198) Clean up bam connection handling (#1213) Reduce verbosity of slot logging (#1234) Stat improvement (#1225) GRPC latency measurement (#1192) Co-authored-by: haoranjito <haoran@jito.wtf> Log new bam url (#1239) Use better error codes for BAM connection (#1164) fix ci secondary build (#1240) fix fetch stage manager (#1172) Fix BAM fee-payer validation regression for bundled transactions. (#1236) Proxy stage metric fix (#1244) Small cleanups (#1268) Use size hint (#1272) skip secondary build for CI (#1273) Bundle Lifecycle Management Cleanup (#1098) Changes - Remove unused solana-bundle-sdk - Simplify insert_bundle callsite by removing method and chaining the recv_timeout with a try_recv - Simplify BundleAccountLocker/BundleStorage management when processing bundles - Simplify bundle result aggregation - Cache static_instruction_limit - Remove unused data structures Some cleanup in FetchManager (#1281) Bugfix: Fix tpu socket bug considering the offsetting math has changed in v4.X (#1261) fix: suppress WARN log when --relayer-url is not configured (#1232) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Small cleanups (#1285) Fix BAM enabled flag in update_tpu_config Set ExecutionFlags values to revert_on_error Disable incremental re-check inside BAM (#1334) Multicast: send to DZ (#1355) * Add MulticastShredCheckService - Monitors /proc/net/route every 60s for multicast routes - Mainnet: 233.84.178.1:7733, Testnet: 233.84.178.10:7733 - Automatically adds multicast address to shred receivers when route appears - Automatically removes multicast address from shred receivers when route disappears - Enabled on MainnetBeta and Testnet (controlled by disable_multicast_shred_check flag) - Logs state changes once, no repeated messages while state is stable * add --------- Co-authored-by: Juan Olveira <juan@malbeclabs.com> Bugfix - External Scheduler Account Checks (#1356) * pipe blacklisted account into the external consume worker * extract blacklist check logic to contains_blacklisted_account for use in both internal/external schduler * add happy path test * use arc for cloning the blisted accounts and minor cleaning * format and sort * update for cargo audit * add quick little unit test Update team references in .mergify.yml (#1363) [Master] Support remote hosts connecting to local cluster (#1366) add [master] Defer BAM post-auth tasks until stream acceptance (#1368) * add * fmt ci: Disable Dependabot version update PRs (#1393) remove dependabot feat: Add backport automation with GPG signing (#1386) Fix: Adding SIGTERM handling for local cluster manager (#1396) Adding SIGTERM handling for local cluster Dynamically pinned PoH core in local cluster (#1397) add [improvement] adding --limit-ledger-size to cluster manager to limit RocksDB size i… (#1407) Adding --limit-ledger-size to cluster manager to limit RocksDB size in local cluster mode Fix race condition in admin RPC BAM URL updater registration (#1418) * Register BAM identity updater before spawning manager * fix test [master] turbine: use a dedicated 0.0.0.0-bound socket for ShredReceiverAddresses (#1420) add Update shred receiver documentation (#1422) * add * fix refactor (#1410) [Master] Poh Core ordering (#1427) add [Master] Shred rework (#1431) * Forward BAM shreds near leader windows * dz fix * shred cleanups --------- Co-authored-by: haoranjito <haoran@jito.wtf> [Master] More efficient retransmit for BAM (#1434) gate BAM receivers to leader window start Add program cache test (#1439) add feat: Add simulateTransaction extra fields to simulateBundle (#1443) * feat: Add simulateTransaction extra fields to simulateBundle * add replacementBlockhash [master] Shred multicast update order (#1447) feat(turbine): prioritize multicast receiver address in shred broadcast order Move multicast_receiver_address to the front of external_receiver_addrs so multicast shreds are sent before shred_receiver_addresses entries. Co-authored-by: Juan Olveira <juan@malbeclabs.com> - Increase BAM shred retransmit lookahead (#1455) - fix(bundle): Don't unwrap priority fee cache for BundleStage (#1460) - Fix client id to JitoLabs (#1461) - [Master] Fix prio graph (#1464) - [master] Allow local cluster startup (#1466) - fix(ci): adding v4.1 to autorebase CI (#1458) - Enable TLS Connections to BAM Node (#1467) - [master] Add Multicast root receiver (#1469) - ci(backport): Add v4.1 target branch (#1482) - Ignore quinn-proto RustSec advisory (#1484) - [codex] Run cargo audit at the end of CI (#1483) - Clean up priority handling (#1479) - Polling cleanup (#1480) - Zercopy bam (#1481) - BAM URL switch cleanups (#1487) - Target slot adjustment (#1491) - Add 4.2 to gh workflows (#1495) - Use native CA roots (#1493) - fix(bam-local-cluster): Enable dev utilities - test(rpc): Use unique validator ports - Refactor build pipeline to drive upstream tooling under BuildKit (#1441) - Centralize Tonic Endpoint Creation (#1499) - Local cluster no XDP (#1507) - Configurable faucet mint sol for local cluster (#1508) - fix(build): Clean up tagging mechanics (#1509) - Cleanup BAM Connection (#1504) - Simplify URL parsing (#1514) - fix(bam): Fix flakey CI tests by signaling parsing thread shutdown (#1520) - Disable strict_nonce_size_check in replay because its a leader-only check (#1525) - Activate BAM local-cluster slot-time features (#1529) - Fix bundle entry byte accounting (#1536) - Reject IPv6 shred receiver addresses (#1535) - Simplify bundle recording after SIMD-0083 (#1539) - ci: Add v4.3 backport target (#1547) - Avoid duplicate BAM transaction parsing (#1551) - Resolve bundle ALTs against the root bank (#1542) - Resanitize bundled transactions against execution bank (#1541) - Fix Block Engine autoconfig candidate failover (#1553) - Prevent BAM and external scheduler conflicts (#1546) - Fix BAM Block Engine cutover (#1537) - Deploy tip programs in local-cluster genesis and drop obsolete SIMD-406 test (#1588) - Fail closed atomic transactions on sad handover (#1545) - ci: exempt v4.3 from mergify EoL auto-close (#1593) - Prevent stale tip-crank configuration across BAM/Block Engine transitions (#1561) - feat: support tx v1 in bam receive and buffer (#1552) - Fix compile fallout from upstream API drift - Remove dead Jito artifacts (#1572) - Prune unused Jito dependencies (#1573) - Correct Jito live metrics (#1579) - Share bundle consumer test fixtures (#1580) - Consolidate and isolate bundle RPC integration tests (#1584) - Isolate bank bundle simulation and tests (#1583) - Minimize Jito SPL fetch overrides (#1576) - Restore the program cache extract API (#1574) - Restore banking stage compatibility APIs (#1578) - Adapt restored extract and banking APIs to agave-master base - Share Jito validator CLI arguments (#1575) - Restore upstream broadcast packet selection (#1577) - Share proxy auth refresh state (#1582) - Isolate bundle RPC implementation and test (#1585) - ci: Build and publish release artifacts on tag push (#1602) - rpc: add filtered fan-out for bank notifications (#1554)
1 parent aeeedea commit 42be233

202 files changed

Lines changed: 27440 additions & 1046 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.config/nextest.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ slow-timeout = { period = "60s", terminate-after = 4 }
7272
filter = 'package(solana-local-cluster) & test(/^test_boot_from_local_state$/)'
7373
slow-timeout = { period = "60s", terminate-after = 3 }
7474

75+
[[profile.ci.overrides]]
76+
filter = 'package(solana-local-cluster) & test(/^test_duplicate_shreds_broadcast_leader$/)'
77+
slow-timeout = { period = "60s", terminate-after = 10 }
78+
7579
[[profile.ci.overrides]]
7680
filter = 'package(solana-local-cluster)'
7781
slow-timeout = { period = "60s", terminate-after = 2 }

.dockerignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.dockerignore
2+
.git/
3+
.github/
4+
.gitignore
5+
.idea/
6+
README.md
7+
Dockerfile
8+
f
9+
target/
10+
dist/
11+
docker-output/
12+
jito-solana-release/
13+
jito-solana-release-*.tar.bz2
14+
jito-solana-release-*.yml

.github/dependabot.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@ updates:
77
interval: daily
88
time: "08:00"
99
timezone: Etc/UTC
10-
open-pull-requests-limit: 6
11-
cooldown:
12-
default-days: 7
13-
# crates published by anza-team bypass the cooldown
14-
exclude:
15-
- "solana-*"
16-
- "agave-*"
17-
- "spl-*"
18-
- "rts-alloc"
19-
- "shaq"
20-
- "wincode"
10+
open-pull-requests-limit: 0
2111

2212
# split from root directory schedule to avoid duplicate checks
2313
- package-ecosystem: cargo
@@ -29,24 +19,12 @@ updates:
2919
interval: daily
3020
time: "14:00"
3121
timezone: Etc/UTC
32-
open-pull-requests-limit: 6
33-
cooldown:
34-
default-days: 7
35-
# crates published by anza-team bypass the cooldown
36-
exclude:
37-
- "solana-*"
38-
- "agave-*"
39-
- "spl-*"
40-
- "rts-alloc"
41-
- "shaq"
42-
- "wincode"
22+
open-pull-requests-limit: 0
4323

4424
- package-ecosystem: "github-actions"
4525
directory: "/"
4626
schedule:
4727
interval: daily
4828
time: "08:00"
4929
timezone: Etc/UTC
50-
open-pull-requests-limit: 3
51-
cooldown:
52-
default-days: 7
30+
open-pull-requests-limit: 0

.github/workflows/backport.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Backport
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
- labeled
8+
workflow_dispatch:
9+
inputs:
10+
pull_number:
11+
description: 'PR number to backport'
12+
required: true
13+
type: number
14+
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+
19+
jobs:
20+
backport:
21+
strategy:
22+
matrix:
23+
target: [v3.1, v4.0, v4.1, v4.2, v4.3]
24+
if: >
25+
github.event_name == 'workflow_dispatch' || (
26+
github.event.pull_request.merged == true &&
27+
github.event.pull_request.base.ref == 'master' &&
28+
!contains(github.event.pull_request.labels.*.name, 'feature-gate')
29+
)
30+
runs-on: ubuntu-24.04
31+
32+
steps:
33+
- name: Resolve PR metadata
34+
id: pr
35+
env:
36+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
run: |
38+
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
39+
PR_NUMBER="${{ inputs.pull_number }}"
40+
LABELS=$(gh pr view "$PR_NUMBER" --repo "${{ github.repository }}" --json labels -q '[.labels[].name]')
41+
else
42+
PR_NUMBER="${{ github.event.pull_request.number }}"
43+
LABELS='${{ toJson(github.event.pull_request.labels.*.name) }}'
44+
fi
45+
echo "pr_number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
46+
if echo "$LABELS" | jq -e 'index("${{ matrix.target }}")' > /dev/null 2>&1; then
47+
echo "match=true" >> "$GITHUB_OUTPUT"
48+
fi
49+
50+
- name: Check out repository
51+
if: steps.pr.outputs.match == 'true'
52+
uses: actions/checkout@v6
53+
with:
54+
fetch-depth: 0
55+
56+
- name: Import backport signing key
57+
if: steps.pr.outputs.match == 'true'
58+
id: import-gpg
59+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
60+
with:
61+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
62+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
63+
git_config_global: true
64+
git_user_signingkey: true
65+
git_commit_gpgsign: true
66+
67+
- name: Create backport PR
68+
if: steps.pr.outputs.match == 'true'
69+
uses: korthout/backport-action@d07416681cab29bf2661702f925f020aaa962997 # v3.4.1
70+
with:
71+
github_token: ${{ secrets.GITHUB_TOKEN }}
72+
git_committer_name: ${{ steps.import-gpg.outputs.name }}
73+
git_committer_email: ${{ steps.import-gpg.outputs.email }}
74+
experimental: '{"conflict_resolution":"draft_commit_conflicts"}'
75+
label_pattern: ''
76+
target_branches: ${{ matrix.target }}
77+
pull_title: '${target_branch}: ${pull_title} (backport of #${pull_number})'
78+
pull_description: |
79+
Backport of #${pull_number} to `${target_branch}`.
80+
81+
This PR was created automatically from a merged `master` PR labeled `${target_branch}`.

.github/workflows/benchmark.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
steps:
6363
- name: Checkout
6464
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
65+
with:
66+
submodules: 'recursive'
6567

6668
- name: Before Command
6769
if: ${{ matrix.test.before_command != '' }}

.github/workflows/cargo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
apk add bash git
5555
5656
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
57+
with:
58+
submodules: 'recursive'
5759

5860
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
5961
with:

.github/workflows/changelog-label.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1414
with:
1515
fetch-depth: 0
16+
submodules: 'recursive'
17+
1618
- name: Check if changes to CHANGELOG.md
1719
shell: bash
1820
env:

.github/workflows/crate-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222
with:
2323
fetch-depth: 0
24+
submodules: 'recursive'
2425

2526
- name: Get commit range (push)
2627
if: ${{ github.event_name == 'push' }}
Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
1-
name: Dependabot PR
1+
# name: Dependabot PR
22

3-
on:
4-
pull_request:
5-
branches:
6-
- master
3+
# on:
4+
# pull_request:
5+
# branches:
6+
# - master
77

8-
jobs:
9-
metadata:
10-
runs-on: ubuntu-24.04
11-
if: github.actor == 'dependabot[bot]'
12-
outputs:
13-
crate_name: ${{ steps.dependabot-metadata.outputs.dependency-names }}
14-
new_version: ${{ steps.dependabot-metadata.outputs.new-version }}
15-
old_version: ${{ steps.dependabot-metadata.outputs.previous-version }}
16-
package_ecosystem: ${{ steps.dependabot-metadata.outputs.package-ecosystem }}
17-
steps:
18-
- name: Fetch Dependabot metadata
19-
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
20-
id: dependabot-metadata
8+
# jobs:
9+
# metadata:
10+
# runs-on: ubuntu-24.04
11+
# if: github.actor == 'dependabot[bot]'
12+
# outputs:
13+
# crate_name: ${{ steps.dependabot-metadata.outputs.dependency-names }}
14+
# new_version: ${{ steps.dependabot-metadata.outputs.new-version }}
15+
# old_version: ${{ steps.dependabot-metadata.outputs.previous-version }}
16+
# package_ecosystem: ${{ steps.dependabot-metadata.outputs.package-ecosystem }}
17+
# steps:
18+
# - name: Fetch Dependabot metadata
19+
# uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
20+
# id: dependabot-metadata
2121

22-
dependabot-cargo:
23-
needs: metadata
24-
if: needs.metadata.outputs.package_ecosystem == 'cargo'
25-
timeout-minutes: 10
26-
runs-on: ubuntu-24.04
27-
steps:
28-
- name: Create github app token
29-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
30-
id: app-token
31-
with:
32-
client-id: ${{ secrets.CLIENT_ID }}
33-
private-key: ${{ secrets.PRIVATE_KEY }}
22+
# dependabot-cargo:
23+
# needs: metadata
24+
# if: needs.metadata.outputs.package_ecosystem == 'cargo'
25+
# timeout-minutes: 10
26+
# runs-on: ubuntu-24.04
27+
# steps:
28+
# - name: Create github app token
29+
# uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
30+
# id: app-token
31+
# with:
32+
# client-id: ${{ secrets.CLIENT_ID }}
33+
# private-key: ${{ secrets.PRIVATE_KEY }}
3434

35-
- name: Set git config
36-
run: |
37-
git config --global user.email "49699333+dependabot[bot]@users.noreply.github.com"
38-
git config --global user.name "dependabot[bot]"
39-
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf https://github.com/
40-
env:
41-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
35+
# - name: Set git config
36+
# run: |
37+
# git config --global user.email "49699333+dependabot[bot]@users.noreply.github.com"
38+
# git config --global user.name "dependabot[bot]"
39+
# git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf https://github.com/
40+
# env:
41+
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
4242

43-
- name: checkout
44-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45-
with:
46-
ref: ${{ github.event.pull_request.head.ref }}
47-
token: ${{ steps.app-token.outputs.token }}
48-
persist-credentials: false
43+
# - name: checkout
44+
# uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45+
# with:
46+
# ref: ${{ github.event.pull_request.head.ref }}
47+
# token: ${{ steps.app-token.outputs.token }}
48+
# persist-credentials: false
4949

50-
- name: install anza-xtask
51-
run: |
52-
cargo install anza-xtask@0.2.1 --locked
50+
# - name: install anza-xtask
51+
# run: |
52+
# cargo install anza-xtask@0.2.1 --locked
5353

54-
- name: update code
55-
env:
56-
CRATE_NAME: ${{ needs.metadata.outputs.crate_name }}
57-
OLD_VERSION: ${{ needs.metadata.outputs.old_version }}
58-
NEW_VERSION: ${{ needs.metadata.outputs.new_version }}
59-
run: |
60-
echo "crate_name: $CRATE_NAME, old_version: $OLD_VERSION, new_version: $NEW_VERSION"
54+
# - name: update code
55+
# env:
56+
# CRATE_NAME: ${{ needs.metadata.outputs.crate_name }}
57+
# OLD_VERSION: ${{ needs.metadata.outputs.old_version }}
58+
# NEW_VERSION: ${{ needs.metadata.outputs.new_version }}
59+
# run: |
60+
# echo "crate_name: $CRATE_NAME, old_version: $OLD_VERSION, new_version: $NEW_VERSION"
6161

62-
# Bump lockfiles before manifests: while the manifests still request the old
63-
# version, cargo swaps just this node; a manifest-first edit leaves the locked
64-
# version unsatisfiable, which unlocks all of crates.io and rewrites unrelated
65-
# resolution choices. No-ops for semver-major bumps, handled by `tree` below.
66-
./scripts/cargo-for-all-lock-files.sh --ignore-exit-code -- update -p "$CRATE_NAME:$OLD_VERSION" --precise "$NEW_VERSION"
62+
# # Bump lockfiles before manifests: while the manifests still request the old
63+
# # version, cargo swaps just this node; a manifest-first edit leaves the locked
64+
# # version unsatisfiable, which unlocks all of crates.io and rewrites unrelated
65+
# # resolution choices. No-ops for semver-major bumps, handled by `tree` below.
66+
# ./scripts/cargo-for-all-lock-files.sh --ignore-exit-code -- update -p "$CRATE_NAME:$OLD_VERSION" --precise "$NEW_VERSION"
6767

68-
cargo anza-xtask update-crate --package "$CRATE_NAME" --from "$OLD_VERSION" --to "$NEW_VERSION"
68+
# cargo anza-xtask update-crate --package "$CRATE_NAME" --from "$OLD_VERSION" --to "$NEW_VERSION"
6969

70-
./scripts/cargo-for-all-lock-files.sh tree
70+
# ./scripts/cargo-for-all-lock-files.sh tree
7171

72-
- name: push
73-
run: |
74-
if [ -z "$(git status --porcelain)" ]; then
75-
echo "✅ Nothing to update"
76-
else
77-
git add **/Cargo.toml
78-
git add **/Cargo.lock
79-
git commit -am "Update all workspaces"
80-
git push
81-
fi
72+
# - name: push
73+
# run: |
74+
# if [ -z "$(git status --porcelain)" ]; then
75+
# echo "✅ Nothing to update"
76+
# else
77+
# git add **/Cargo.toml
78+
# git add **/Cargo.lock
79+
# git commit -am "Update all workspaces"
80+
# git push
81+
# fi

.github/workflows/publish-windows-tarball.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
ref: ${{ github.event.inputs.commit }}
2222
fetch-depth: 0
23+
submodules: 'recursive'
2324

2425
# took the workaround from https://github.com/sfackler/rust-openssl/issues/2149
2526
- name: Set Perl environment variables

0 commit comments

Comments
 (0)