GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rocketmq-rust/scripts at main · mxsm/rocketmq-rust

Expand file tree

/

scripts

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

scripts

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
fixtures
fixtures
 
 
interop
interop
 
 
java
java
 
 
kubernetes
kubernetes
 
 
tests
tests
 
 
README.md
README.md
 
 
admin-operation-matrix.json
admin-operation-matrix.json
 
 
admin_operation_guard.py
admin_operation_guard.py
 
 
architecture-debt-registry.json
architecture-debt-registry.json
 
 
architecture-dependency-policy.json
architecture-dependency-policy.json
 
 
architecture-risk-test-matrix.json
architecture-risk-test-matrix.json
 
 
architecture-validation-inventory.json
architecture-validation-inventory.json
 
 
architecture_dependency_guard.py
architecture_dependency_guard.py
 
 
architecture_documentation_guard.py
architecture_documentation_guard.py
 
 
architecture_evidence_bundle.py
architecture_evidence_bundle.py
 
 
architecture_slo_guard.py
architecture_slo_guard.py
 
 
audit_client_java_parity.ps1
audit_client_java_parity.ps1
 
 
bootstrap-local-message-path-evidence.ps1
bootstrap-local-message-path-evidence.ps1
 
 
build-production-images.ps1
build-production-images.ps1
 
 
check-agents-routing.ps1
check-agents-routing.ps1
 
 
check-agents-routing.sh
check-agents-routing.sh
 
 
check-error-hygiene.ps1
check-error-hygiene.ps1
 
 
ci_scope.py
ci_scope.py
 
 
collect-log-filter-canary.ps1
collect-log-filter-canary.ps1
 
 
collect-log-filter-canary.sh
collect-log-filter-canary.sh
 
 
container-supply-chain.ps1
container-supply-chain.ps1
 
 
container_image_guard.py
container_image_guard.py
 
 
core-release-scope.json
core-release-scope.json
 
 
core_container_image_guard.py
core_container_image_guard.py
 
 
core_helm_configs.py
core_helm_configs.py
 
 
core_release_guard.py
core_release_guard.py
 
 
core_release_scope.py
core_release_scope.py
 
 
dockerhub_tags.py
dockerhub_tags.py
 
 
environment_write_guard.py
environment_write_guard.py
 
 
error_architecture_guard.py
error_architecture_guard.py
 
 
fault_matrix_guard.py
fault_matrix_guard.py
 
 
generate_admin_operation_goldens.py
generate_admin_operation_goldens.py
 
 
generate_java_55_inventory.py
generate_java_55_inventory.py
 
 
generate_metric_catalog.py
generate_metric_catalog.py
 
 
generate_sre_capability_catalog.py
generate_sre_capability_catalog.py
 
 
generate_telemetry_semantic_registry.py
generate_telemetry_semantic_registry.py
 
 
kind-architecture-refactor-e2e.ps1
kind-architecture-refactor-e2e.ps1
 
 
kubernetes-assets-contract.ps1
kubernetes-assets-contract.ps1
 
 
kubernetes_assets_guard.py
kubernetes_assets_guard.py
 
 
message-path-performance-comparison-schema.json
message-path-performance-comparison-schema.json
 
 
message-path-qualification-policy.json
message-path-qualification-policy.json
 
 
message-path-release-evidence-schema.json
message-path-release-evidence-schema.json
 
 
message-path-soak-policy.json
message-path-soak-policy.json
 
 
message-path-soak-report-schema.json
message-path-soak-report-schema.json
 
 
message_path_ab.py
message_path_ab.py
 
 
message_path_qualification.py
message_path_qualification.py
 
 
message_path_release.py
message_path_release.py
 
 
message_path_soak.py
message_path_soak.py
 
 
new-m11-evidence-secrets.ps1
new-m11-evidence-secrets.ps1
 
 
pgo-train-broker.sh
pgo-train-broker.sh
 
 
pgo-train-proxy.sh
pgo-train-proxy.sh
 
 
prepare-local-evidence-images.ps1
prepare-local-evidence-images.ps1
 
 
property-state-suite-registry.json
property-state-suite-registry.json
 
 
public-api-intent.json
public-api-intent.json
 
 
public_api_intent_guard.py
public_api_intent_guard.py
 
 
publish_core_crates.py
publish_core_crates.py
 
 
publish_dockerhub_images.py
publish_dockerhub_images.py
 
 
publish_ghcr_images.py
publish_ghcr_images.py
 
 
put_ok_rpo_audit.py
put_ok_rpo_audit.py
 
 
run-architecture-release-rollback.ps1
run-architecture-release-rollback.ps1
 
 
run-architecture-slo-cluster.ps1
run-architecture-slo-cluster.ps1
 
 
run-architecture-slo-evidence.ps1
run-architecture-slo-evidence.ps1
 
 
run-message-path-ab.ps1
run-message-path-ab.ps1
 
 
run-message-path-release.ps1
run-message-path-release.ps1
 
 
run-message-path-soak.ps1
run-message-path-soak.ps1
 
 
run-put-ok-rpo-audit.ps1
run-put-ok-rpo-audit.ps1
 
 
run_architecture_tests.py
run_architecture_tests.py
 
 
run_client_broker_functional_tests.ps1
run_client_broker_functional_tests.ps1
 
 
run_client_java_gate.ps1
run_client_java_gate.ps1
 
 
run_client_production_bench.ps1
run_client_production_bench.ps1
 
 
run_client_production_readiness.ps1
run_client_production_readiness.ps1
 
 
run_namesrv_mixed_parity_matrix.ps1
run_namesrv_mixed_parity_matrix.ps1
 
 
run_namesrv_route_e2e_bench.ps1
run_namesrv_route_e2e_bench.ps1
 
 
run_namesrv_soak.ps1
run_namesrv_soak.ps1
 
 
run_property_state_suites.py
run_property_state_suites.py
 
 
runtime-audit.ps1
runtime-audit.ps1
 
 
runtime-audit.sh
runtime-audit.sh
 
 
runtime_audit.py
runtime_audit.py
 
 
rust_hygiene_guard.py
rust_hygiene_guard.py
 
 
rust_production_sources.py
rust_production_sources.py
 
 
service-image-contract.ps1
service-image-contract.ps1
 
 
set-architecture-release-state.ps1
set-architecture-release-state.ps1
 
 
standalone_workspace_trigger_guard.py
standalone_workspace_trigger_guard.py
 
 
telemetry-semantic-guard-violations.json
telemetry-semantic-guard-violations.json
 
 
telemetry-semantic-registry.json
telemetry-semantic-registry.json
 
 
telemetry_semantic_guard.py
telemetry_semantic_guard.py
 
 
verify-broker-log-filter-reload.ps1
verify-broker-log-filter-reload.ps1
 
 
verify-broker-log-filter-reload.sh
verify-broker-log-filter-reload.sh
 
 
verify-log-filter-governance.ps1
verify-log-filter-governance.ps1
 
 
verify-log-filter-governance.sh
verify-log-filter-governance.sh
 
 
verify_service_image_publication.py
verify_service_image_publication.py
 
 

README.md

Outline

Repository scripts

Use Cargo directly for focused Rust tests and Criterion benchmarks. Select the package, target, and features for the change; these examples are alternatives, not a mandatory checklist.

cargo test -p rocketmq-namesrv --test namesrv_bootstrap_config
cargo test -p rocketmq-protocol --test request_header_java_compatibility
cargo test -p rocketmq-store --test ha_transfer_engine
cargo bench -p rocketmq-namesrv --bench topic_table_hot_path_bench
cargo bench -p rocketmq-client-rust --features test-support --bench client_hot_path_benchmark

The test and benchmark sources remain owned by their crates. Routine development does not need separate wrappers to enumerate tests, collect prototype reports, or compare historical snapshots.

Maintained entry points

Task Entry point
Inspect which root CI checks a path selects python scripts/ci_scope.py --paths <changed-path> ...
Check project instruction routing PowerShell or Bash
Refresh the generated validation index python scripts/architecture_documentation_guard.py --write
Inspect request-header compatibility fixtures Protocol fixtures
Generate Admin operation fixtures Golden fixture generator
Train the Broker PGO and BOLT profiles for release images (run by docker/Dockerfile.base) Bash

Scripts used by workflows, compatibility fixtures, or documented manual operations belong here. Keep one-time migration edits and ad hoc report converters out of the maintained toolset. Before removing a script, check imports, callers, workflow routes, fixture generators, and documentation; the absence of a CI invocation alone does not make a manual tool obsolete.

Cargo version upgrades

  1. Choose the next version based on public API compatibility. Update workspace.package.version and the corresponding internal dependency versions in the root Cargo.toml. Members keep version.workspace = true and inherit shared dependencies through workspace.dependencies.
  2. Update existing version requirements in standalone Cargo.toml files that point to the changed root workspace crates. Keep independent package versions and unrelated dependency requirements unchanged.
  3. Run cargo update --workspace at the repository root. Refresh each affected standalone lockfile with cargo update --workspace --manifest-path <path/to/Cargo.toml>, including consumers with path-only dependencies. Review the Cargo-generated diffs; do not edit lockfiles by hand. Add --offline when all dependencies are cached.
  4. Run the relevant package and consumer checks with --locked, following their AGENTS.md guides. At release time, move the relevant CHANGELOG.md entries from Unreleased into a dated version section with a comparison link. The release tag must match v<workspace.package.version>.

Subdirectories

Directory Current purpose
interop/ Live Java/Rust, HA, and storage-fault interoperability checks
java/ Java client compatibility smoke harness
kubernetes/ Live cluster fault operations for dedicated qualification runs
fixtures/ Input corpora and generated compatibility data used by maintained tools
tests/ Regression tests and fixtures for maintained script behavior

Retired stage-closeout assertions, module size freezes, implementation fingerprints, and V2/V3 or remoting refactor baseline collectors are no longer development gates. Historical review reports remain reference material. Use the maintained crate tests and benchmark targets when investigating behavior or performance.

The M10 target-hardware report collectors and the Transport P0, persistent-TCP, and TLS RSS probes are retired. Package-owned Criterion benchmarks and behavior tests remain maintained. Run one-off measurement helpers inline or from a system temporary directory outside the repository, and keep their outputs there as well.

The completed M04-M09 migration suites have been retired, including source-text, fixed-layout, line-count, and exact-ledger assertions. Their milestone_contract runner tier is no longer available. Use the owning crate's behavior tests and the maintained dependency/API checks when those boundaries change. Dynamic-fixture regression suites remain available through the current CI routes.

The completed Store capability and canonical-export source checks, Trait identity inventory, Rust lint debt inventory, and central debt count gate are also retired, including their dedicated tests and unused baselines. Keep regression tests for maintained CI routing, generators, runtime/error checks, and compatibility behavior. Removing an obsolete gate includes its workflow calls, runner inventory entry, and documentation commands.

The 1.0 release-candidate system is retired as well: the v1 capability, functional acceptance, candidate lifecycle, and phase-aware core release checks; the candidate, handoff, archive, SBOM, OCI layout, Helm, and crate staging tools under distribution/; and the release-candidate, v1-functional-acceptance, and core-service-image-publish workflows. Registry packages are prepared with Cargo directly. core-release-scope.json remains because the --scope core-release checks below read it.

Necessary checks and architecture tools

Purpose Maintained command
Package layering and dependency direction python scripts/architecture_dependency_guard.py --scope core-release
Production unsafe and runtime contracts python scripts/rust_hygiene_guard.py --scope core-release
Typed errors and safe output python scripts/error_architecture_guard.py
Public API intent python scripts/public_api_intent_guard.py --scope core-release
Telemetry contracts and generated metrics python scripts/telemetry_semantic_guard.py --scope core-release; python scripts/generate_metric_catalog.py --check
Relevant property/state tests python scripts/run_property_state_suites.py --suite <suite-id>
Runtime ownership review report python scripts/runtime_audit.py --scope core-release (PowerShell/Bash wrappers are also available)

ArcMut location freezes, full public API snapshots, M10 performance gates, release-plan snapshots, cross-registry quotas, and runtime escape inventories are retired with their dedicated tests and data. Dependency checks validate actual boundaries; they do not freeze dependency versions, feature lists, or package counts. Rust hygiene keeps safety failures and reports other observations without a baseline. Runtime auditing now uses one cross-platform report generator; no fingerprints, per-file migration dispositions, or baseline-enforcement options remain.

Keep operational tools for fixture generation, container checks, interoperability, and live fault/soak testing. Select those tools for the corresponding task; they are not an additional routine development checklist.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.