Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit bd541c4
Author: Carlos Baez <[email protected]>
Date:   Thu Oct 24 16:36:23 2024 +0200

    update wit for version 1.36.1
  • Loading branch information
Carlos Baez committed Oct 24, 2024
1 parent 950cf96 commit af58ec8
Show file tree
Hide file tree
Showing 1,492 changed files with 72,851 additions and 33,730 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ move-clippy = [

[build]
rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"]

[net]
git-fetch-with-cli = true
2 changes: 1 addition & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ status-level = "skip"
# Do not cancel the test run on the first failure.
fail-fast = false
# Retry failing tests in order to not block builds on flaky tests
retries = 5
retries = 3
# Timeout tests after 4 minutes
slow-timeout = { period = "60s", terminate-after = 5 }

Expand Down
7 changes: 6 additions & 1 deletion .github/actions/diffs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ outputs:
isMoveAutoFormatter:
description: True when changes happened in MoveAutoFormatter code
value: "${{ steps.diff.outputs.isMoveAutoFormatter }}"
isExamples:
description: True when changes happened in examples/ directory
value: "${{ steps.diff.outputs.isExamples }}"

runs:
using: composite
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: dorny/paths-filter@v2.10.2
uses: dorny/paths-filter@v3
id: diff
with:
filters: |
Expand Down Expand Up @@ -76,3 +79,5 @@ runs:
- 'sui-execution/**'
isMoveAutoFormatter:
- 'external-crates/move/crates/move-analyzer/prettier-plugin/**'
isExamples:
- 'examples/**'
14 changes: 7 additions & 7 deletions .github/actions/ts-e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ runs:

- name: cargo build
if: env.s3_file_exist == '' # if empty, we have not built and uploaded this binary to s3 yet
run: |
if [[ "${{ inputs.ref }}" == 'devnet' || "${{ inputs.ref }}" == 'testnet' ]]; then
cargo build --bin sui --features indexer
else
cargo build --bin sui
fi
run: cargo build --bin sui
shell: bash

- name: Dowload from S3
Expand Down Expand Up @@ -66,5 +61,10 @@ runs:
shell: bash

- name: Run TS SDK e2e tests
run: pnpm dlx concurrently --kill-others --success command-1 "$E2E_RUN_LOCAL_NET_CMD" 'pnpm --filter @mysten/sui --filter @mysten/graphql-transport test:e2e'
run: pnpm dlx concurrently --kill-others --success command-1 "$E2E_RUN_LOCAL_NET_CMD" 'pnpm --filter @mysten/sui test:e2e'
shell: bash

- name: Run TS SDK GraphQL compatibility e2e tests
if: (!contains(fromJSON('["testnet", "devnet"]'), inputs.ref))
run: pnpm dlx concurrently --kill-others --success command-1 "$E2E_RUN_LOCAL_NET_CMD" 'pnpm --filter @mysten/graphql-transport test:e2e'
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/release-notes-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.SUI_CREATE_RELEASE }}
with:
tag_name: ${{ inputs.release_tag }}
release_name: ${{ inputs.release_tag }}
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/split-cluster-bisect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Split Cluster Check
on:
push:
branches:
- main
jobs:
validate-mainnet:
runs-on: ubuntu-ghcloud
steps:
- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
- name: Run split cluster check script
id: mn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }}
- name: Bisect
if: steps.mn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/mainnet
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
git bisect run scripts/split-cluster-check.sh origin/mainnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1

validate-testnet:
runs-on: ubuntu-ghcloud
steps:
- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
- name: Run split cluster check script
id: tn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
scripts/compatibility/split-cluster-check.sh origin/testnet ${{ github.sha }}
- name: Bisect
if: steps.tn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/testnet
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
git bisect run scripts/split-cluster-check.sh origin/testnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1
Loading

0 comments on commit af58ec8

Please sign in to comment.