Skip to content

CI & code base upgrades - #2

Merged
huitseeker merged 3 commits into
MystenLabs:mainfrom
huitseeker:ci_upgrades
Nov 21, 2021
Merged

huitseeker merged 3 commits into
MystenLabs:mainfrom
huitseeker:ci_upgrades

Conversation

@huitseeker

@huitseeker huitseeker commented Nov 15, 2021 •

Copy link
Copy Markdown
Contributor

Minor improvements.

@huitseeker

Copy link
Copy Markdown
Contributor Author

@sblackshear @oxade from this PR not showing CI runs, I suspect the FastNFT repo should undergo the same configuration tweaks I suggested for narwhal here: https://mysten-labs.slack.com/archives/C02CJ2KJCRK/p1636035694018800

- separates cargo commands (fmt, test, clippy) in distinct jobs,
- uses rust package caching to save time spent downloading packages,
- tests on nightly & stable
The main thing is the addition of Rust edition 2021 idioms.
For the elided lifetimes, see:
rust-lang/rust#52041
@huitseeker

Copy link
Copy Markdown
Contributor Author

Merging this very menial CI PR to get signal on further ones!

@huitseeker
huitseeker merged commit f31b60e into MystenLabs:main Nov 21, 2021
lxfind added a commit that referenced this pull request Jan 31, 2022
[Object Ownership #2] Add trasfer_to_object API in Transfer.move
mwtian pushed a commit that referenced this pull request Sep 12, 2022
mwtian pushed a commit that referenced this pull request Sep 12, 2022
mwtian referenced this pull request in mwtian/sui Sep 29, 2022
mwtian referenced this pull request in mwtian/sui Sep 29, 2022
williamrobertson13 added a commit that referenced this pull request Jul 27, 2023
…primitives (#13160)

## Description 

This PR adds the new "Protect Account" screen used when clicking "Create
a new account" button and as the second step of the "Import Passphrase"
and "Import Private Key" flows. As part of this, I attempted to create
some new form primitives to make building forms more manageable (all of
the existing components aren't quite up to spec, use Formik, and aren't
fully accessible). I ended up following an approach similar to
https://www.brendonovich.dev/blog/the-ultimate-form-abstraction which
gave some creds to @Jordan-Mysten 😆

As a rough outline, we have generic, non-form-library-specific input
controls like `TextArea`, `Input`, `PasswordInput`, `Checkbox` which are
used to create `react-hook-form` specific controls such as `TextField`,
`TextAreaField`, `CheckboxField`, and so forth. We also have some helper
components like `Form` and `FormField` to help abstract away some
specific form details such as error states when using react-hook-form. I
considered using the Radix form primitives, but I didn't really see the
immediate value 🤷🏼

Additional note #1: Some of these pages are used in different flows and
have different submission logic depending on the usage context. I think
I might need to brainstorm on the best way to handle that and tackle it
in a follow-up PR

Additional note #2: the auto-lock input is still a WIP on the design
side, so I have a TODO to add that once it's ready.

Checkbox in Figma -
https://www.figma.com/file/T06obgYVOUD2JDGXM8QEDX?node-id=341%3A378&main-component=1&fuid=1209977329759347633

Input in Figma -
https://www.figma.com/file/T06obgYVOUD2JDGXM8QEDX/01-Components-%3A-Shared?node-id=19%3A312&mode=dev

<img width="631" alt="image"
src="https://github.com/MystenLabs/sui/assets/7453188/4c851808-b751-412a-b25e-06d4660b5fa3">

## Test Plan 
- Manual testing (error states, successful submission, accessibility,
focus/disabled/hover states, etc.)
- CI

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
ebmifa pushed a commit that referenced this pull request Aug 10, 2023
…primitives (#13160)

## Description 

This PR adds the new "Protect Account" screen used when clicking "Create
a new account" button and as the second step of the "Import Passphrase"
and "Import Private Key" flows. As part of this, I attempted to create
some new form primitives to make building forms more manageable (all of
the existing components aren't quite up to spec, use Formik, and aren't
fully accessible). I ended up following an approach similar to
https://www.brendonovich.dev/blog/the-ultimate-form-abstraction which
gave some creds to @Jordan-Mysten 😆

As a rough outline, we have generic, non-form-library-specific input
controls like `TextArea`, `Input`, `PasswordInput`, `Checkbox` which are
used to create `react-hook-form` specific controls such as `TextField`,
`TextAreaField`, `CheckboxField`, and so forth. We also have some helper
components like `Form` and `FormField` to help abstract away some
specific form details such as error states when using react-hook-form. I
considered using the Radix form primitives, but I didn't really see the
immediate value 🤷🏼

Additional note #1: Some of these pages are used in different flows and
have different submission logic depending on the usage context. I think
I might need to brainstorm on the best way to handle that and tackle it
in a follow-up PR

Additional note #2: the auto-lock input is still a WIP on the design
side, so I have a TODO to add that once it's ready.

Checkbox in Figma -
https://www.figma.com/file/T06obgYVOUD2JDGXM8QEDX?node-id=341%3A378&main-component=1&fuid=1209977329759347633

Input in Figma -
https://www.figma.com/file/T06obgYVOUD2JDGXM8QEDX/01-Components-%3A-Shared?node-id=19%3A312&mode=dev

<img width="631" alt="image"
src="https://github.com/MystenLabs/sui/assets/7453188/4c851808-b751-412a-b25e-06d4660b5fa3">

## Test Plan 
- Manual testing (error states, successful submission, accessibility,
focus/disabled/hover states, etc.)
- CI

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
zablotchi pushed a commit that referenced this pull request Aug 15, 2023
actually use multiple threads, spawn tasks in tokio
stefan-mysten added a commit that referenced this pull request Feb 12, 2024
## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request May 29, 2024
# This is the 1st commit message:

implement rules

# This is the commit message MystenLabs#2:

test squash commit

# This is the commit message MystenLabs#3:

Implement base for new rules

add some rules

Deref ref lint rules

Update redundant_deref_ref.rs

remove unused code

re-impl

add license
@stefan-mysten stefan-mysten mentioned this pull request Jul 11, 2024
7 tasks
jordanjennings-mysten referenced this pull request in jordanjennings-mysten/sui Oct 22, 2024
# This is the 1st commit message:

reword

# The commit message #2 will be skipped:

# fix

# The commit message #3 will be skipped:

# fix

# The commit message #4 will be skipped:

# fix
mwtian added a commit that referenced this pull request Jul 31, 2025
## Description 

Add a benchmark for process_commit() with direct and indirect logic.
This requires turning some types and functions pub and non-test, which
is unfortunate. The alternative is to not use `cargo bench` which seems
worse.

Avoid excessive copying of rejected transaction votes. There are some
remaining copying, but removing them shows minimal impact in benchmarks.

Process chunks of blocks in parallel.

### Benchmark results
With 100 authorities, 20 transactions per block, voting to reject 50% of
transactions randomly:
Original:
```
CommitFinalizer/process_commit_indirect
                        time:   [7.3273 ms 7.3906 ms 7.4555 ms]
                        thrpt:  [13.413 Kelem/s 13.531 Kelem/s 13.648 Kelem/s]
                 change:
                        time:   [-2.1521% -0.9914% +0.1867%] (p = 0.10 > 0.05)
                        thrpt:  [-0.1863% +1.0013% +2.1995%]
                        No change in performance detected.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
Direct commits: 102700; Indirect commits: 0; Rejected transactions: 0

Benchmarking CommitFinalizer/process_commit_indirect #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 90.0s. You may wish to increase target time to 682.8s, or reduce sample count to 10.
CommitFinalizer/process_commit_indirect #2
                        time:   [5.7617 s 5.7709 s 5.7810 s]
                        thrpt:  [17.298  elem/s 17.328  elem/s 17.356  elem/s]
                 change:
                        time:   [+519.22% +522.23% +524.70%] (p = 0.00 < 0.05)
                        thrpt:  [-83.992% -83.929% -83.851%]
                        Performance has regressed.
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe
Direct commits: 0; Indirect commits: 9797; Rejected transactions: 8469
```
New:
```
CommitFinalizer/process_commit_indirect
                        time:   [13.382 ms 13.553 ms 13.730 ms]
                        thrpt:  [7.2834 Kelem/s 7.3784 Kelem/s 7.4725 Kelem/s]
                 change:
                        time:   [+0.9942% +2.8433% +4.6313%] (p = 0.00 < 0.05)
                        thrpt:  [-4.4263% -2.7647% -0.9844%]
                        Change within noise threshold.
Found 7 outliers among 100 measurements (7.00%)
  1 (1.00%) low mild
  6 (6.00%) high mild
Direct commits: 23100; Indirect commits: 0; Rejected transactions: 0

Benchmarking CommitFinalizer/process_commit_indirect #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 90.0s. You may wish to increase target time to 201.0s, or reduce sample count to 40.
CommitFinalizer/process_commit_indirect #2
                        time:   [931.45 ms 933.58 ms 935.98 ms]
                        thrpt:  [106.84  elem/s 107.11  elem/s 107.36  elem/s]
                 change:
                        time:   [-0.4712% -0.0741% +0.3809%] (p = 0.72 > 0.05)
                        thrpt:  [-0.3795% +0.0741% +0.4734%]
                        No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
  8 (8.00%) high mild
  3 (3.00%) high severe
Direct commits: 0; Indirect commits: 9991; Rejected transactions: 8476
```

This shows > 6x throughput increase from 17 commits/s to 107 commits/s.

## Test plan 

`cargo bench -p consensus-core --bench commit_finalizer_bench`

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
mwtian added a commit that referenced this pull request Jul 31, 2025
## Description 

Add a benchmark for process_commit() with direct and indirect logic.
This requires turning some types and functions pub and non-test, which
is unfortunate. The alternative is to not use `cargo bench` which seems
worse.

Avoid excessive copying of rejected transaction votes. There are some
remaining copying, but removing them shows minimal impact in benchmarks.

Process chunks of blocks in parallel.

### Benchmark results
With 100 authorities, 20 transactions per block, voting to reject 50% of
transactions randomly:
Original:
```
CommitFinalizer/process_commit_indirect
                        time:   [7.3273 ms 7.3906 ms 7.4555 ms]
                        thrpt:  [13.413 Kelem/s 13.531 Kelem/s 13.648 Kelem/s]
                 change:
                        time:   [-2.1521% -0.9914% +0.1867%] (p = 0.10 > 0.05)
                        thrpt:  [-0.1863% +1.0013% +2.1995%]
                        No change in performance detected.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
Direct commits: 102700; Indirect commits: 0; Rejected transactions: 0

Benchmarking CommitFinalizer/process_commit_indirect #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 90.0s. You may wish to increase target time to 682.8s, or reduce sample count to 10.
CommitFinalizer/process_commit_indirect #2
                        time:   [5.7617 s 5.7709 s 5.7810 s]
                        thrpt:  [17.298  elem/s 17.328  elem/s 17.356  elem/s]
                 change:
                        time:   [+519.22% +522.23% +524.70%] (p = 0.00 < 0.05)
                        thrpt:  [-83.992% -83.929% -83.851%]
                        Performance has regressed.
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe
Direct commits: 0; Indirect commits: 9797; Rejected transactions: 8469
```
New:
```
CommitFinalizer/process_commit_indirect
                        time:   [13.382 ms 13.553 ms 13.730 ms]
                        thrpt:  [7.2834 Kelem/s 7.3784 Kelem/s 7.4725 Kelem/s]
                 change:
                        time:   [+0.9942% +2.8433% +4.6313%] (p = 0.00 < 0.05)
                        thrpt:  [-4.4263% -2.7647% -0.9844%]
                        Change within noise threshold.
Found 7 outliers among 100 measurements (7.00%)
  1 (1.00%) low mild
  6 (6.00%) high mild
Direct commits: 23100; Indirect commits: 0; Rejected transactions: 0

Benchmarking CommitFinalizer/process_commit_indirect #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 90.0s. You may wish to increase target time to 201.0s, or reduce sample count to 40.
CommitFinalizer/process_commit_indirect #2
                        time:   [931.45 ms 933.58 ms 935.98 ms]
                        thrpt:  [106.84  elem/s 107.11  elem/s 107.36  elem/s]
                 change:
                        time:   [-0.4712% -0.0741% +0.3809%] (p = 0.72 > 0.05)
                        thrpt:  [-0.3795% +0.0741% +0.4734%]
                        No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
  8 (8.00%) high mild
  3 (3.00%) high severe
Direct commits: 0; Indirect commits: 9991; Rejected transactions: 8476
```

This shows > 6x throughput increase from 17 commits/s to 107 commits/s.

## Test plan 

`cargo bench -p consensus-core --bench commit_finalizer_bench`

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
jessiemongeon1 added a commit that referenced this pull request Aug 27, 2025
## Description 

Implementation of style guide rules for active voice, etc

## Test plan 

N/A

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:

---------

Co-authored-by: ronny-mysten <[email protected]>
wlmyng added a commit that referenced this pull request Oct 9, 2025
…mem usage" (#2… (#23899)

# Description
Cherry pick 23387

The rocksdb properties of interest make up the list below:
- mem tables
	- probs wants cf-level
		- rocksdb_current_size_active_mem_tables
		- against
		- rocksdb_size_all_mem_tables (active, unflushed immutable, pinned)
- block cache
	- consistent_store_rocksdb_block_cache_pinned_usage
	- consistent_store_rocksdb_block_cache_usage
- table reader memory
	- rocksdb_estimate_table_readers_mem
- pending compaction
	- consistent_store_rocksdb_estimate_pending_compaction_bytes
- other
	- consistent_store_rocksdb_mem_table_flush_pending
	- consistent_store_rocksdb_num_immutable_mem_tables
	- consistent_store_rocksdb_num_level0_files
	- consistent_store_rocksdb_num_running_compactions
	- consistent_store_rocksdb_num_running_flushes

These need to be retrieved synchronously from rocksdb, so we spin up a
separate task that periodically gets these properties and updates
metrics.

Manually ran locally, tried out different intervals

---

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol:
- [ ] Nodes (Validators and Full nodes):
- [ ] gRPC:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK:

## Description 

Describe the changes or additions included in this PR.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
wtdcode added a commit to abortfuzz/sui that referenced this pull request Nov 26, 2025
jessiemongeon1 added a commit that referenced this pull request May 7, 2026
## Summary

Automated documentation fixes based on the weekly docs audit report.

### Fixed issues

- 🔴 **#1** [HIGH]: CLI: `send-funds` command missing from docs snippet
- 🔴 **#2** [HIGH]: Move CLI: `sui move new` generated `Move.toml` is
completely outdated
- 🔴 **#3** [HIGH]: Move CLI: Directory listing shows `Sources` (capital
S) instead of `sources`
- 🟡 **#20** [MEDIUM]: Move build output mentions `UPDATING GIT
DEPENDENCY`
- 🟡 **#21** [MEDIUM]: Move coverage: Claims debug build is required
- 🔴 **#4** [HIGH]: Exchange Integration: `sui_getEvents` API used with
wrong signature
- 🔴 **#5** [HIGH]: Exchange Integration: Variable name bug in curl
example
- 🔴 **#6** [HIGH]: Exchange Integration: Uses devnet URLs for production
guidance
- 🔴 **#9** [HIGH]: Duplicate exchange integration docs
- 🔴 **#10** [HIGH]: Exchange Integration: Rust SDK examples use
deprecated `SuiClientBuilder` with JSON-RPC
- 🟡 **#22** [MEDIUM]: Exchange Integration: `read_api().get_balance()`
pattern
- 🔴 **#7** [HIGH]: Validator CLI: Missing commands in docs
- 🔴 **#8** [HIGH]: Research Papers: Outdated consensus description
- 🟡 **#11** [MEDIUM]: GraphQL: Hardcoded version number `1.56.1`
- 🟡 **#12** [MEDIUM]: External Signers: Hardcoded minimum version
- 🟡 **#13** [MEDIUM]: Package Management: Hardcoded `toolchain-version =
"1.64.0"`
- 🟡 **#14** [MEDIUM]: Full Node Config: `enable-event-processing` in
template but not in NodeConfig
- 🟡 **#15** [MEDIUM]: Full Node Config: `rpc.enable-indexing` not
prominently documented
- 🟢 **#28** [LOW]: Full node setup: Genesis blob URLs use `curl -fLJO`
- 🟡 **#16** [MEDIUM]: Consensus: Performance numbers may be stale
- 🟡 **#17** [MEDIUM]: `client.mdx`: Dynamic field example shows
`SuiSystemStateInnerV2`
- 🟡 **#18** [MEDIUM]: Release Notes: Broken external URL
- 🟡 **#19** [MEDIUM]: DeepBook Margin SDK: Hardcoded fullnode URLs
- 🟢 **#25** [LOW]: Observability doc is marked as draft
- 🟢 **#26** [LOW]: Tokenized Asset docs reference `UPDATING GIT
DEPENDENCY`
- 🟢 **#27** [LOW]: Install from source: `--features tracing`
documentation

### Files changed

- `docs/content/snippets/console-output/sui-client-help.mdx`
- `docs/content/references/cli/move.mdx`
- `docs/content/operators/exchange-integration.mdx`
- `docs/content/references/exchange-integration-guide.mdx`
- `docs/content/references/cli/validator.mdx`
- `docs/content/references/research-papers.mdx`
- `docs/content/develop/accessing-data/using-events.mdx`
- `docs/content/develop/accessing-data/graphql/query-with-graphql.mdx`
- `docs/content/references/cli/external-signers.mdx`
- `docs/content/develop/manage-packages/move-package-management.mdx`
- `docs/content/operators/full-node/sui-full-node.mdx`
- `docs/content/develop/sui-architecture/consensus.mdx`
- `docs/content/references/cli/client.mdx`
- `docs/content/references/release-notes.mdx`
-
`docs/content/onchain-finance/deepbook-margin-sdk/deepbook-margin-sdk.mdx`
- `docs/content/operators/observability.mdx`
-
`docs/content/onchain-finance/tokenized-assets/deploy-tokenized-asset.mdx`
- `docs/content/getting-started/onboarding/install-source.mdx`

### Skipped (manual action needed)

- 🟢 **#23** [LOW]: `completion` subcommand not independently documented
- 🟢 **#24** [LOW]: `fire-drill` subcommand not documented

---

*This PR was automatically generated by the Docs Audit Fixer. Please
review the changes carefully before merging.*
jessiemongeon1 added a commit that referenced this pull request May 11, 2026
## Summary

Automated documentation fixes based on the weekly docs audit report.

### Fixed issues

- 🔴 **#1** [HIGH]: zkLogin Integration: Devnet hardcoded as the example
RPC URL
- 🟡 **#2** [MEDIUM]: Gasless Stablecoin Transfers: Eligible stablecoins
linked to a merged PR, not stable docs
- 🟡 **#3** [MEDIUM]: `references/cli.mdx`: Wrong capitalization in suiup
GitHub URL
- 🟡 **#4** [MEDIUM]: `references/cli.mdx`: `external-keys` command not
listed in CLI overview
- 🟡 **#5** [MEDIUM]: DeepBook Predict docs: pinned to feature branch
`predict-testnet-4-16` — will go stale
- 🟡 **#6** [MEDIUM]: Client CLI: Several newer commands have no examples
in `client.mdx`
- 🟡 **#7** [MEDIUM]: zkLogin demo: VITE_NETWORK=devnet in .env example
- 🟢 **#10** [LOW]: indexer `build.mdx`: "Recommended" pattern still
starts with 30-day-retention HTTPS endpoint
- 🟢 **#11** [LOW]: DeepBook Predict server URL not in main contract
information page
- 🟢 **#12** [LOW]: `references/sui-move.mdx` links to `move-summary`
snippet that may need updating

### Files changed

- `docs/content/sui-stack/zklogin-integration/index.mdx`
-
`docs/content/develop/transaction-payment/gasless-stablecoin-transfers.mdx`
- `docs/content/references/cli.mdx`
- `docs/content/onchain-finance/deepbook-predict/deepbook-predict.mdx`
- `docs/content/references/cli/client.mdx`
- `docs/content/sui-stack/zklogin-integration/zklogin-demo.mdx`
- `docs/content/develop/accessing-data/custom-indexer/build.mdx`
-
`docs/content/onchain-finance/deepbook-predict/contract-information.mdx`
- `docs/content/references/sui-move.mdx`

### Skipped (manual action needed)

- 🟢 **#8** [LOW]: `completion` subcommand still not documented
- 🟢 **#9** [LOW]: `fire-drill` subcommand still not documented

---

*This PR was automatically generated by the Docs Audit Fixer. Please
review the changes carefully before merging.*

---------

Co-authored-by: wlmyng <[email protected]>
ebmifa added a commit that referenced this pull request May 14, 2026
## Summary

Pass `"build_arm64": "false"` in the `tag-docker-images`
repository_dispatch client-payload that `trigger-builds.yml` sends to
sui-operations on every devnet/testnet/mainnet push.

This is **PR 2 of 2**. PR 1 (MystenLabs/sui-operations#7938) added the
`build_arm64` input on the receiving side (default `"true"` for
back-compat). This PR activates it for the network-branch push path.

## Why

Today, every push to devnet/testnet/mainnet fires arm64 builds via two
parallel paths:

1. `pre-build-images.yml` → `prebuild-sui-images` repository_dispatch
with `build_arm64=true` (arm64 enabled on these branches after #26653)
2. `trigger-builds.yml` → `tag-docker-images` repository_dispatch →
`tag-upload-docker-image.yml` → calls `prebuild-sui-images.yml` with
`build_arm64="true"` (hardcoded today, parameterized in
sui-operations#7938)

The arm64 rows in path #2 are mostly deduped against path #1 by mp3's
atomic-dedup logic, but ~17% slip through the dedup window when both
dispatches fire within seconds (measured against
`sui-indexer-alt-consistent-store` duplicate rate over an 18-hour
window).

With this change, path #2 stops requesting arm64 — pre-build-images.yml
is the single source of truth for arm64 image production on
network-branch push. The downstream DockerHub tagging
(`mysten/sui-node:testnet`, etc.) then re-tags the images that already
exist in GAR/DockerHub, no rebuild needed.

## What this does NOT change

- `pre-build-images.yml` (this repo) still passes `build_arm64=true` for
devnet/testnet/mainnet pushes (per #26653). Network-branch arm64
production unchanged.
- `release.yml` (this repo) still fires `tag-docker-images` without
specifying `build_arm64`, so it falls through to
`tag-upload-docker-image.yml`'s default `"true"` at release-tag
creation. Release-tag arm64 flow unchanged.
- `release.yml`'s own arm64 binary builds on `ubuntu-arm64` runners (the
`Build & Publish Binaries` matrix) — unrelated to mp3, unchanged.

## Test plan

- [x] `git diff` shows a single-line client-payload JSON change
- [x] sui-operations#7938 has landed (or will land before this) and
tag-upload-docker-image.yml now reads `client_payload.build_arm64`
- [ ] CI passes
- [ ] Post-merge: confirm next push to devnet/testnet/mainnet — arm64
builds fire from `pre-build-images.yml` only, not from
`tag-upload-docker-image.yml` rebuild path. Verify in mp3 by looking for
a single `sui-node-arm64` build entry per SHA instead of two
near-duplicate dispatches.
- [ ] Post-merge: confirm DockerHub still gets
`mysten/sui-node:testnet-arm64` tag updated (the tag-images job re-tags
existing GAR/DockerHub artifacts; no rebuild needed).

## Pass-if criteria

Within 24h of merge on the next devnet/testnet/mainnet push, mp3 should
show exactly one arm64 build dispatch per (image, SHA) tuple, sourced
from `pre-build-images.yml`. The `tag-docker-images` dispatch from this
workflow should still apply DockerHub tags but produce zero new arm64
build rows.

Depends on: MystenLabs/sui-operations#7938

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
damirka added a commit that referenced this pull request May 18, 2026
jessiemongeon1 added a commit that referenced this pull request May 26, 2026
## Summary

Automated documentation fixes based on the weekly docs audit report.

### Fixed issues

- 🟡 **#4** [MEDIUM]: Custom indexer docs still make the 30-day HTTPS
checkpoint endpoint part of the canonical “recommended” startup command

### Files changed

- `docs/content/develop/accessing-data/custom-indexer/build.mdx`

### Skipped (manual action needed)

- 🟡 **#1** [MEDIUM]: Full node docs still point to the YAML template for
the “complete list” of `rpc` options, but the template does not contain
that list
- 🟡 **#2** [MEDIUM]: `client.mdx` still omits examples for several
commands that ship in `sui client --help`
- 🟡 **#3** [MEDIUM]: zkLogin demo still defaults to Devnet even though
the main zkLogin guide was corrected to Testnet
- 🟡 **#5** [MEDIUM]: DeepBook Predict docs still carry a stale freshness
marker and remain pinned to a dated Testnet branch
- 🟡 **#6** [MEDIUM]: New v2alpha ledger-history list APIs and their
required full-node knobs are effectively undocumented
- 🟢 **#7** [LOW]: `completion` still has no dedicated docs page
- 🟢 **#8** [LOW]: `fire-drill` still has no docs page or “internal-only”
note
- 🟢 **#9** [LOW]: `MystenLabs` GitHub URL casing is still inconsistent
in multiple docs

---

*This PR was automatically generated by the Docs Audit Fixer. Please
review the changes carefully before merging.*
tpham-mysten added a commit that referenced this pull request Jul 31, 2026
The buffered subscription support lives on a fork branch; restore the amnn base for a mergeable manifest. Build is red until amnn/async-graphql#2 lands and the lock is bumped.
tpham-mysten added a commit that referenced this pull request Jul 31, 2026
The buffered subscription support lives on a fork branch; restore the amnn base for a mergeable manifest. Build is red until amnn/async-graphql#2 lands and the lock is bumped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant